Raised This Month: $ Target: $400
 0% 

SQL SYNTAX ERROR[UPDATED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
davidto1995
Member
Join Date: Jul 2010
Location: hong kong
Old 08-03-2011 , 10:43   Re: SQL SYNTAX ERROR[UPDATED]
Reply With Quote #1

Quote:
Originally Posted by Exolent[jNr] View Post
CREATE TABLE table (myBool ENUM('0', '1'))
don't understand..
davidto1995 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-03-2011 , 10:53   Re: SQL SYNTAX ERROR[UPDATED]
Reply With Quote #2

It's a type of field you can set if you want the field to be restricted to 0/1 (false/true) values.
Then in your code just set the values like you would an integer.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode