Jump to content

compatibility with enum in m$sql


WormTongue

Recommended Posts

I am trying to create a table and i have the code for mysql, but i need it in m$sql. If i run the same code, i get errors and i think i have found the error. Does the data type \"enum\" work in m$sql? Here is the sample from my code:

 

user_level enum(\'0\',\'1\',\'2\',\'3\') NOT NULL default \'0\',

 

Now, i get an error on this line and i\'m thinking that mssql doesn\'t recognize the enum data type. Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/350-compatibility-with-enum-in-msql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.