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.
export SQLIDEBUG=2:/<somefilesystem with lots of space>/<somefile>
run your report,
use sqliprint (comes with csdk ) on the produced file or use
strings /<somefilesystem with lots of space>/<somefile>
this will dump all including the sql to stdout.
also:
strings <your report> may give you the answer.
Superboer.
C Douglas schreef:
> I have a 4GL report that I would like to find what tables it is
> pulling data from, but I don't have the source code. Is there
> an SQL statement that will search all tables in the database and
> return the table and column names that contain the data? On the
> report I have a date and quantity sold amount that I would like
> to search for. The database is Informix SE 7.23.UC13.
↪ replying to Superboer
C Douglas — — source: Usenet: comp.databases.informix
> strings <your report> may give you the answer.
I don't have sqliprint, but the strings command gave me what I was
looking for.
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.