skip to main
|
skip to sidebar
The Demanding Couch
"From the brilliant mind of Bruce..."
Tuesday, April 22, 2008
Want a GUID From SQL Server?
Use this command
NEWID()
Here's a sample. Notice the length of the variable required to hold your GUID.
declare @MyNewGUID varchar(255)
set @MyNewGUID = NEWID()
print @MyNewGUID
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Spread the Word
Enter your search terms
Submit search form
Links to Friends
Shares Blog
Extra Sensory Design
Agriculture Society
Blog Archive
▼
2008
(7)
►
May
(1)
▼
April
(6)
No to the Flashy
GROB
Want a GUID From SQL Server?
MyMusicShares
The Reasons for my Defection
MyLinkShares Firefox Add-On
No comments:
Post a Comment