Oct 10, 2003 #1 kmericle IS-IT--Management Joined May 14, 2003 Messages 1 Location US Hello all... In MSSQL I can run the follwoing query, however I cannot in Sybase SQL. Is this prohibited in Sybase? Is there an equivilant anyone can think of? select column1 from (select column1 from table) t1 Thank you...
Hello all... In MSSQL I can run the follwoing query, however I cannot in Sybase SQL. Is this prohibited in Sybase? Is there an equivilant anyone can think of? select column1 from (select column1 from table) t1 Thank you...
Oct 11, 2003 #2 VDavid Programmer Joined Sep 14, 2003 Messages 118 Give us more info on what do you want to do? Lets try to find an equivalent. David. Upvote 0 Downvote
Oct 13, 2003 #3 LucieLastic Programmer Joined May 9, 2001 Messages 1,694 Location GB hi Is this what you want? select column1 from t1 where column1 in (select column1 from table) lou Upvote 0 Downvote
Oct 21, 2003 #4 nickpark Programmer Joined Jan 17, 2002 Messages 517 Location GB This is a simple example of an inline view. It is part of the ANSI standard but is not yet supported by Sybase ASE. Oracle supports it. e.g. Code: select count(*) from (select product,sum(profit) as total_profit from sales group by product ) Upvote 0 Downvote
This is a simple example of an inline view. It is part of the ANSI standard but is not yet supported by Sybase ASE. Oracle supports it. e.g. Code: select count(*) from (select product,sum(profit) as total_profit from sales group by product )