Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: Dynamic SQL problem

    Found the solution myself, here it is if you need it:

    DECLARE SETVAL_C CURSOR FOR

    select name from sys.procedures where name like '%_SETVAL';

    declare @refid_col varchar (20);

    declare @tabname varchar(30);

    declare @procname varchar(30);

    declare @sqlcommand nvarchar(200);

    declare...

Viewing post 1 (of 2 total)