• Subject: Re: SQL Select Statement
  • From: <Amit.Mukherjee@xxxxxxxx>
  • Date: Tue, 27 Jan 1998 11:42:40 -0500
  • X400-Content-Type: P2-1988 (22)
  • X400-MTS-Identifier: [/ADMD=IBMX400/C=US/;0042700004443719000002]
  • X400-Originator: Amit.Mukherjee@smed.com
  • X400-Recipients: MIDRANGE-L@midrange.com

Try   WHERE INVOICE = 'JANUARY''98'




owner-midrange-l@midrange.com on 01/27/98 08:04:04 AM
Please respond to MIDRANGE-L@midrange.com @ Internet
To: MIDRANGE-L@midrange.com @ Internet
cc:
Subject: SQL Select Statement

I need to do a select statement for the following string


January'98

ex: WHERE INVOICE = 'JANUARY'98'

I would normally include the String in single quotes - but since there
is already a single quote this returns an error : Token 98 not valid

Double quotes also gives me an error message.

ex: WHERE INVOICE = "JANUARY'98"

Column "JANUARY'98" not in specified tables.

We are on V3R2.

John Hall
Home Sales Co.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---





*
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.