dbTalk Databases Forums  

using aliases in sybase8???

comp.databases.sybase comp.databases.sybase


Discuss using aliases in sybase8??? in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
riki
 
Posts: n/a

Default using aliases in sybase8??? - 12-11-2003 , 07:15 AM






hi,
in sybase6 i've had a sql statement something like:
select number(*) as num,
num+1,
num*5
from tblObject

now in sybase8 it doesn't work becouse of using aliases in calculation. this
is a simple problem but i have many more usage of aliases in calculations.
it works if i change statement to:
select number(*),
number(*)+1,
number(*)*5
from tblObject

is there any other solution using aliases???




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.