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