kereni
23rd June 2002, 12:05
I want to write Informix SQL script that will create an output file with all BAAN tables for a specified company. For this Im using the following SQL:
OUTPUT TO "tablelist" WITHOUT HEADINGS
SELECT tabname FROM systables WHERE tabname LIKE '%%%%%%%%%000'
This creates an output file with all tables of company 000. Now I want to use the TRIM function to remove the first t and company number so I can use this file with bdbpre.
Any suggestions?
OUTPUT TO "tablelist" WITHOUT HEADINGS
SELECT tabname FROM systables WHERE tabname LIKE '%%%%%%%%%000'
This creates an output file with all tables of company 000. Now I want to use the TRIM function to remove the first t and company number so I can use this file with bdbpre.
Any suggestions?