sql - Informix - select from a temp table created in a 4gl with Interactive debugger? -


got lot of 4gl debug lately, of use lots of temp tables. using "interactive" debugger, can break after insert tmp_table. , select * query on tmp_table, possible in interactive debugger?

or how on 3rd party sql client? simple select * tmp_table result in error: specified table (tmp_table) not in database. (state:s0002, native code: ffffff32)

on similar approach jonathan describes, @ previous workplace, had library function name similar function dump_temp_table(tablename) took argument tablename , unloaded table file tablename.unl. called function debugger using call command passing tablename interested in argument

using genero able recreate following ...

function dump_temp_table(tablename) define tablename string define filename string define sql string     let sql = sfmt("select * %1",tablename)    let filename = sfmt("%1.unl", tablename)    unload filename sql end function 

... if using 4gl should able come similar (replacing modernized genero syntax such string , sfmt char etc)


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -