sgmunson (8/15/2014)
Are you sure that the @date parameter should have a character value of OBJECTIDLIST ? That's not a terribly well-named parameter if it should. I know that the code attempts to see if I have a linked server when I try to execute it, and I only fail on the fact that I don't have that linked server, nor that stored procedure. Please verify the value for that parameter.
The parameters on the stored procedure are:
@table_name varchar(100),
@date varchar(100),
@reduce varchar(10),
@oid nvarchar(4000)