SQL STATEMENTS WITH TABLENAME AS ARGUMENT
From: Gina L. Hernandez (pdwhitt_at_nospam.wdsinc.com)
Date: 05/05/04
- Next message: HSalim: "Re: Delimiter and search question."
- Previous message: Arjen: "Re: How to filter out the items between the delimiter ";"?"
- Next in thread: Aneesh Aravind: "Re: SQL STATEMENTS WITH TABLENAME AS ARGUMENT"
- Reply: Aneesh Aravind: "Re: SQL STATEMENTS WITH TABLENAME AS ARGUMENT"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 May 2004 17:39:07 -0400
Hello:
In a stored procedure in SQL, I want to create a parameterized SELECT query
where the table name for
the query can be supplied as a parameter
SELECT * FROM "tablename"
where "tablename" is supplied as an argument just before the query runs.
Can someone help me with this syntax or tell me if this is possible or not?
Thanks
- Next message: HSalim: "Re: Delimiter and search question."
- Previous message: Arjen: "Re: How to filter out the items between the delimiter ";"?"
- Next in thread: Aneesh Aravind: "Re: SQL STATEMENTS WITH TABLENAME AS ARGUMENT"
- Reply: Aneesh Aravind: "Re: SQL STATEMENTS WITH TABLENAME AS ARGUMENT"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|