Home Forums SQL Server 2014 Development - SQL Server 2014 why it is not possible to execute this way set context_info convert(varbinary(128), 'xyz') RE: why it is not possible to execute this way set context_info convert(varbinary(128), 'xyz')
mote.ajit2
Old Hand
Points: 308
More actions
August 7, 2013 at 3:35 am
#1639295
Thanks! 🙂
as I wanted to write that statement in single statement but I think I have to right multiple statements like
DECLARE @context varbinary(128)
SET @context = CAST('xyz' AS varbinary)
SET CONTEXT_INFO @context