Declare @ColId uniqueidentifier set @ColId = '1B233EE7-1668-4D03-995F-2D763BF03F06' EXEC('update custom.location set siteid =' + @ColId + 'where siteid is null')
update custom.location set siteid=@ColId where siteid is null
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)