nkewney
asked on
Assigning Select NewID() to variable in SQL
Dear Experts,
I'm trying to write a stored procedure and require a GUID. I know that SELECT NewID() will return a GUID, but how can I assign this value to a variable within my stored procedure?
Thanks
Nick
I'm trying to write a stored procedure and require a GUID. I know that SELECT NewID() will return a GUID, but how can I assign this value to a variable within my stored procedure?
Thanks
Nick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER