sql_language thread: Creating cursor in stored procedure with tablename as variable
I have to extract information from one table and insert the values based on some conditions into different tables. I want to create a cusror in the stored procedure that can select the records from an unknown tablename (tablename is called in a variable). How can I do this? Any help will be appreciated. Anita
|





