MySQL Help
#1


I'm kinda new in mysql so what shall i write in the box of length/values ?
Reply
#2

You don't have to write anything into that field if you use DATE
That field is for field max. length (for such data types as CHAR, VARCHAR etc).

If you want to store time and date, I'll suggest you to use unsigned int instead of DATE and store unix timestamp in it. I know that MySQL plugin for SA-MP works perfectly with INT but has issues when working with BIT, so it also can incorrectly work with DATE (but I didn't check that)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)