Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change data type on all char(36) columns in db
Message
From
04/09/2013 21:45:29
 
 
To
04/09/2013 21:30:48
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01582234
Message ID:
01582237
Views:
32
And I'm sure you know the core syntax...it's something like...

Alter table TableName Alter Column ColumnName uniqueidentifier

(Also, goes without saying, if SQL server can't translate the original character value to a uniqueidentifier, the statement will fail)
Previous
Reply
Map
View

Click here to load this message in the networking platform