I'm new to SQL Server so please excuse me for maybe stupid question.
I have a database that I need to generate random id which I achieve by using newid()
insert into Teams (team_code, team_name, team_short)
values (newid(),test,test)
But the problem is that team_code
id need to be in curly brackets and I don't know how to do it.
Do you have any suggestions?
Thanks ^