Answers for "sql select guid"

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
0

sql get guid

SELECT NEWID()
Posted by: Guest on February-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language