Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 5 of 5 total |
SQL - Use a label only? |
Wed, Mar 5 2008 11:23 PM | Permanent Link |
Dave | Say I have an SQL like
SELECT Field1, Field2, Field3 FROM MyTable Now I want to put the word January as the first column. Note January is not a field name In other DB Engines I have done SELECT 'January', Field1, Field2, Field3 FROM MyTable This works ok with other DB Engines but not with DBISAM I am assuming it can be done but the syntax is wrong? Any help would be great. Thanks |
Wed, Mar 5 2008 11:45 PM | Permanent Link |
Dave | Dont worry it does work exactly the same.
|
Wed, Mar 5 2008 11:53 PM | Permanent Link |
Dave | Tell a lie. That only completes the Column Label.
How can I make all this columns values 'January' ? |
Thu, Mar 6 2008 4:12 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Dave
I just tried it here and it works fine. Roy Lambert |
Fri, Mar 14 2008 10:07 PM | Permanent Link |
"Julio S." | Hi,
You could try SELECT CAST('January' AS VARCHAR(10)), Field1, Field2, Field3 FROM MyTable Regards. Julio. > Tell a lie. That only completes the Column Label. > How can I make all this columns values 'January' ? > |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |