Home Forums SQL Server 2008 T-SQL (SS2K8) Dynamic query providing wrong output RE: Dynamic query providing wrong output
rockstar283
SSCrazy
Points: 2704
More actions
April 24, 2013 at 10:15 am
#1609619
I solved it with friend's help..instead of CAST(@BLANK_COUNT AS VARCHAR(5)) it should be CAST(@BLANK_COUNT AS VARCHAR(10))