Hi all,
Just want to know if i can create a procedure with input as table name.
and within the procedure i am calling the table.
Create procedure "SCHEMANAME"."call_table"(IN TABLEANAME Nvarchar(30))
AS
BEGIN
SELECT * FROM TABLENAME;
END;
CALL "SCHEMANAME"."CALLTABEL"('TABLE1');
i tried running it, but it didnot work out ..
is there any other way of doing it.
Regards
Nitin