Viewing post 1 (of 1 total)
Try this:
DECLARE @id varchar(50) = CONVERT(VARCHAR(50), NEWID());
INSERT INTO [yourtable] ( [id]) VALUES (@id);
SELECT @id;
July 2, 2018 at 9:29 pm
#1996087