Missing Select Keyword [message #6985] |
Wed, 14 May 2003 13:28 |
Sarah
Messages: 15 Registered: June 1999
|
Junior Member |
|
|
Hi,
I am trying to run a select statement in Toad (Oracle) that I previously ran in MS Access. I am getting stuck with the syntax conversion between the two.
In Access part of my select statement included the creation of a new column:
[[TotalReleased]]/[[TotalEffort]] as CPUE
In Toad I get a missing expression error. When I change the [[]] to () I get a missing select keyword error.
Is there a division operator that I am missing?
Any help is appreciated!
S
|
|
|
Re: Missing Select Keyword [message #6986 is a reply to message #6985] |
Wed, 14 May 2003 13:33 |
Todd Barry
Messages: 4819 Registered: August 2001
|
Senior Member |
|
|
Any of the following are valid:
(TotalReleased) / (TotalEffort) as CPUE
((TotalReleased) / (TotalEffort)) as CPUE
TotalReleased / TotalEffort as CPUE
(TotalReleased / TotalEffort) as CPUE
If you still get an error, please post the complete SQL.
|
|
|