DECLARE @id uniqueidentifier
SET @id = NEWID()
When I try to use the above declare to set up unique identifier, I am getting the below error:
DECLARE @id uniqueidentifier SET @id = NEWID() Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DECLARE @id uniqueidentifier SET @id = NEWID()'
Not sure what the issue is. Any help is much appreciated
Thanks