In the Universe Stage I know I can write some SQL type code. I'm doing something silly when trying to execute a substring function as follows:
SUBSTR(FULL.TEXT,1,254).....I even tried @SUBSTR(FULL.TEXT,1,254) but still no go....
The error I get is "call to SQLFetach failed.....row length exceeds buffer size".... Any idea what is wrong?
Thanks
Universe Stage and substrings
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
UniVerse SQL uses SUBSTRING as defined in ANSI SQL and in ODBC 2.0
Code: Select all
SELECT SUBSTRING(FULL.TEXT FROM 1 FOR 254) FROM ...
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.