Thanks
peavy
This question has been asked in the past. The suggestion was to use
QSYS2.QSQPTABL
http://groups.google.com/groups?hl=en&selm=3A36EF55.248C6B5F%40vnet.ibm.com
Try QSYS2.SYSPROCS or QSYS2.SYSTABLES
Why do you need a dummy table? Is this to enable you to write an Sql
statement to get the current date/time from the server?
"pv" <peav...@transamerica.com> wrote in message
news:479049d8.01110...@posting.google.com...
I am convinced that I should use QSYS2.QSQPTABL in place of SYSDUMMY1
from your kind responses and examples from IBM Iseries documents.
Here are some examples and uses (scalar functions ) with QSQTABL /
SYSDUMMY1 tables.
Example
Assume the following statement:
SELECT DIFFERENCE('CONSTRAINT','CONSTANT'),
SOUNDEX('CONSTRAINT'),
SOUNDEX('CONSTANT')
FROM QSYS2.QSQPTABL
Returns 4, C523, and C523. Since the two strings return the same
SOUNDEX value, the difference is 4 (the highest value possible).
Assume the following statement:
SELECT DIFFERENCE('CONSTRAINT','CONTRITE'),
SOUNDEX('CONSTRAINT'),
SOUNDEX('CONTRITE')
FROM QSYS2.QSQPTABL