Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: sp_ExecuteSQL

    DECLARE @SQLString NVARCHAR(500)

    DECLARE @ParmDefinition NVARCHAR(500)

    DECLARE @Balance varchar(30)

    SET @SQLString = N'SELECT @balOUT = balance from UserAccount where accId = 2 and userId = 1001'

    SET @ParmDefinition = N'@balOUT varchar(30) OUTPUT'

    ...

Viewing post 1 (of 1 total)