RE: Error ORA-00972
"Simoneau, Roger" <[email protected]>
| Newsgroups | gmane.comp.db.oracle.toad.free |
|---|---|
| Message-ID | <85214F3A9C2FE94F9FF1D7C6456E33F90428FDBA0C@EX-CLUS-MBX-01.abcp.ab.bluecross.ca> |
>> I don't think the alias is actually required Correct. But the longer you have your expression, the nicer an alias becomes just to keep your column size down... speaking from sqlpplus of course ;) I haven't actually reviewed the sql fully, but I think Deb got the primary issue with the closing double quotes for that one column. The error message would have arisen because the double quotes altered the parsing on the rest of the query. As a side observation: Its good practice to have defaults on the decode though so the developer is in total control of what the value that emerges is. Roger S. ________________________________ This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply.