Looking for relevant Development Whitepapers? Visit the SearchWinDevelopment.com Research Library.
Jonty Walker | Jun 3 2008 2:32PM GMT
Thanks Greybeard52;
That looks like a viable solution to my problem. If I’m reading the WIKI SEARCH on RUNSQLSTM correctly, the length of input file or the number of SQL statements in that file is NOT an issue. COOL! Are there ANY concerns with using RUNSQLSTM w.r.t. the SELECT statement (that you know of) ?
Graybeard52 | Jun 3 2008 3:06PM GMT
Well, yes.
RUNSQLSTM is designed for batch use, so it cannot return a result set. You can create tables, views, updates, etc. To use SELECT, it must be inserting the records into a table, which is what I think you want to do.
Otherwise, just put a semi-colon at the end of each statement.