Problem query with FROM @table
Hello,
i'm trying to execute a query like that but it fails :
SET @tablename:='test_tbl';
SELECT * FROM @tablename;
if i do the next one it success.
SET @fieldname:='test_field';
SELECT @fieldname FROM table;
So, is there a way to use @variables in the FROM part of a query ?
thank you in advance
JC
Edited 1 time(s). Last edit at 10/31/2007 04:55AM by Jean-Christophe Azzopardi.
Subject
Views
Written By
Posted
Problem query with FROM @table
2710
October 31, 2007 04:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.