I am trying to set a value in a variable and include the comma's as part of the value.
ie
Declare @MyValue as varchar(200)
Set @myValue = 'Test Value'
But I actually want to include the comma's (').
How is this done, I have tried "'TestValue'" and "'" + 'Test Value' + "'"
but both fail.
Thanks
ie
Declare @MyValue as varchar(200)
Set @myValue = 'Test Value'
But I actually want to include the comma's (').
How is this done, I have tried "'TestValue'" and "'" + 'Test Value' + "'"
but both fail.
Thanks