| 
 Posted by Pumkin on 03/24/06 14:20 
Hello guys, I need help in something as I don't know if it is possible 
what I want. 
I have a select like this... 
 
SELECT Cod1 as SQL, Cod2 as Oracle FROM table 
 
and I need to sort by alias SQL or Oracle as the select is composed 
dinamically so it could be either Cod1 as SQL or Cod2 as SQL and the 
user needs to filter the data using SQL or ORACLE. 
 
I need something like this: 
 
SELECT Cod1 as SQL, Cod2 as Oracle FROM table WHERE SQL = 'one' AND 
Oracle = 'two' 
 
Any ideas? 
 
Thank you
 
  
Navigation:
[Reply to this message] 
 |