Home Forums Article Discussions Article Discussions by Author Discuss content posted by Abhijit Script to return Rows count from table using sp_ExecuteSQL RE: Script to return Rows count from table using sp_ExecuteSQL
Andrew Coppock
SSC Journeyman
Points: 95
More actions
September 26, 2008 at 9:09 am
#877780
I also get NULL as the result when I run this procedure.
I have set this procedure up to run as a stored procedure which takes TableName as a parameter to the function. It does not work as advertised in a SQL 2005 environment.