Re: SQL load in ESQL/C ?
Posted in 1994
Dave Snyder — — source: Informix-list mailing list archive (1991-1998)
In article <33f2ll$aoa@emory.mathcs.emory.edu> you write: } } I want to execute the load command from esql. The reason why I } need to execute the load statement in esql is that I need to } pass value into the statement. } } eg. } load from $filename insert into $tab_nm ( $col ); } What I usually do with a problem line like this is to build a string containing the SQL command, prepare it, then execute it. This way the ESQL/C preprocessor never sees the statement, only the engine sees it. DAS -- Dave Snyder @ Snide Computer Services - Folcroft, PA Current Release is db4glgen-3.21 UUCP: ..!uunet!das13!dave INTERNET: dave@das13.snide.com