Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Include constant in select statement |
Author |
Message |
John |
|
Group | : Members |
Posts | : 2 |
Joined | : 2008-02-28 |
|
Profile |
|
Posted : 2008-02-28 07:26:29 |
How would I go about including a constant in my select statement?
For example:
Select 'Tom' as 'Fixed Name', TnxDate from Bill
This would return Tom on each row.
I get an error when trying to do this.
Thank you,
John |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-02-28 08:00:11 |
The correct syntax is:
Select 'Tom' as "Fixed Name", TxnDate, VendorRefFullName from Bill
|
|
|
|
|