cursor table name
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: cursor table name

Hybrid View

  1. #1
    Join Date
    Jun 2002
    Posts
    17
    Hai

    Can we have the table name as a variable in a cursor

    ex.

    Cursor c1 is selet * from

    and this is from another table.



    Thanks for the help!

  2. #2
    Join Date
    Jun 2002
    Location
    Denver
    Posts
    54
    Only way I know is through dynamic SQL. Any other experts ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width