Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

True False Y N

Working with affiliate data files



11:03 pm on Dec 16, 2005 (gmt 0)

10+ Year Member

I'm setting up a MYSQL database to use date files from affiliates.

Looking for suggestions on accepted practices for field type when data is
True False
0 1


3:34 am on Dec 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

0 and 1 are always nice :)


3:57 pm on Dec 18, 2005 (gmt 0)

10+ Year Member

I was wondering if there were any performance differences between using int, varchar(5), boolean etc. in mysql


6:51 pm on Dec 18, 2005 (gmt 0)

10+ Year Member

Yes, there will be differences (in storage requirements as well as performance), but miniscule unless you're talking about millions of rows.

It is always good practice to use the most efficient field type you can - boolean (bit) in this case - assuming you are running MySQL 5.0.3+


Featured Threads

Hot Threads This Week

Hot Threads This Month