Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Datatype question
Message
From
27/07/2005 11:58:01
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
SQL Datatype question
Miscellaneous
Thread ID:
01036282
Message ID:
01036282
Views:
46
Hi all,
Is there a 'Flag' datatype I can use in SQL Server (2000 or 2005 versions)? What I mean by a flag datatype is similar to the [Flag] attribute of a .Net enum class. For example:
location types can any one or more of the following:
Plant 0x01
Hub   0x02
Whse  0x04
...
where i actually store the combination of the location types. Or, is there a decimal to hex function in SQL Server I can use for this?
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform