We've recently upgraded to Sybperl-2.18 (the Sybperl module not the DBlib or CTlib modules)
after having used an earlier version for many years now. We're experiencing a problem we didn't
have under the old version and I'm hoping it can be solved simply with a configuration setting (although
I'm not seeing anything in the documentation which sounds like the appropriate option) nor on this site although my search arguments may not reflect those found in a pertinent article.
We have quite a few perl scripts which feed a SQL string to &dbsqlexec which do the following:
1. Select rows from a permanent table into a temporary table:
select * into <i>#temporarytablename</i>
from <i>permanenttablename</i>
2. Then select rows out of the temporary table:
select * from <i>#temporarytablename</i>
This is all within the same SQL string fed to &dbsqlexec and all within the same connection.
What happens is we get no rows returned from the temporary table nor do we get any error message.
This doesn't happen under the earlier version of Sybperl.
If we change the temporary table to a permanent table it works perfectly (but this is not an option for us).
If we execute the code with the temporary table references under iSql or via SQLAdvantage it works
fine so it definitely seems to be the new version of Sybperl (or it's configuration) which is the problem.
Any assistance you can offer would be greatly appreciated.
Redwing
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|