Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
harris_hawk — — source: Informix-list mailing list archive (1991-1998)
I am having problems using the substring statements using
INFORMIX 7.3 Dymanic Online Server, and the SQL Editor.
I have used the syntax out of the the Informix Guide to SQL and
get errors.
SELECT sname, SUBSTRING(sname FROM 1 FOR 4)
FROM state
WHERE code = "AZ";
Upon execution I recieve the following error:
[Informix][Online Dynamic Server][cselv2] SQL Error [-201]:
a syntax error has occured
Note the word FROM was highlighted
SELECT sname, SUBSTR(sname, 1, 4)
FROM state
WHERE code = "AZ";
Upon execution I recieve the following error:
[Informix][Online Dynamic Server][cselv2] SQL Error (-674):
Procedure (substr) not found. [ISAM error -111: ISAM error: no
record found.]
Does anyone know why I am having these problems ?
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.