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')

  • 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