Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: mysql...

by Parham (Friar)
on Feb 09, 2002 at 23:23 UTC ( #144415=note: print w/replies, xml ) Need Help??

in reply to Reaped: mysql...

you can specify your column types to be several lengths: if you use CHAR().. you can have a maximum of 255 characters (1-255, you specify)

with CHAR(num) you can specify a number of max characters, up to 255... if you make you column type TINYBLOB or TINYTEXT, you can have anywhere from 1-255 (2^5 - 1). BLOB or TEXT types have a maximum of 65535 (2^16 - 1) characters. MEDIUMBLOB or MEDIUMTEXT columns have a maximum length of 4294967295 (2^32 - 1) characters. LONGBLOB or LONGTEXT have a maximum length of 4294967295 (2^32 - 1) characters.

those are just some of the column types. The more specific you make your colums, the more control you have over your database, and the input you get from users. For a better list.. go here

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://144415]
[Corion]: ambrus: AnyEvent(::HTTP) doesn't integrate well with Prima, that's my main problem
[Corion]: There is a weirdo shim because there is a POE integration for Prima, and if you use that, you can use the POE adapter of AnyEvent. What I'd want is something transport agnostic that parses HTTP or produces HTTP output, so that the communication with ...
[Corion]: ... the socket is done by my code. Ideally that module would not be based on callbacks ;)
[Corion]: Basically, something that decouples the HTTP parsing (+ determining whether to redirect, etc) from the IO
[Corion]: All clients I'm aware of don't do that but issue all IO themselves

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-12-07 15:50 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (130 votes). Check out past polls.