Answers for "new guid in sql statement"

SQL
2

sql create new guid

-- Creating a local variable with DECLARE/SET syntax.  
DECLARE @myid uniqueidentifier  
SET @myid = NEWID()  
PRINT 'Value of @myid is: '+ CONVERT(varchar(255), @myid)
Posted by: Guest on March-12-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language