J
jr_dunson
Hey,
I've run into an error with the IIS Server on my PC when using Perl
ActiveState
- I'm running the following select statement:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%bb%'
</code>
- The statment works within SQL Server (Query analyzer)
- It works in MySQL using the Query browser
- It also works most of the timewith a Perl CGI, if I use a variable:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%$fname%'
</code>
HOWEVER, if I run a perl script where the $fname variable is set to the
letter 'a', it bombs, whether I'm in SQL Server OR MySQL.
-- When I use a .cgi script to pass in a variable...and just pass in
the letter a, it bombs:
- Here is the statment with the a:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%a%'
</code>
- Has anyone used Perl ActiveState...and run into this?
- Is the letter a an IIS reserved word? an ignored word? why does the
statement bomb?
I've run into an error with the IIS Server on my PC when using Perl
ActiveState
- I'm running the following select statement:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%bb%'
</code>
- The statment works within SQL Server (Query analyzer)
- It works in MySQL using the Query browser
- It also works most of the timewith a Perl CGI, if I use a variable:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%$fname%'
</code>
HOWEVER, if I run a perl script where the $fname variable is set to the
letter 'a', it bombs, whether I'm in SQL Server OR MySQL.
-- When I use a .cgi script to pass in a variable...and just pass in
the letter a, it bombs:
- Here is the statment with the a:
<code>
SELECT form_table.fname,
form_table.title,
form_table.txt,
form_rec.form_url,
form_rec.form_type
FROM form_table, form_rec
WHERE form_table.fname = form_rec.fname
and form_table.fname LIKE '%a%'
</code>
- Has anyone used Perl ActiveState...and run into this?
- Is the letter a an IIS reserved word? an ignored word? why does the
statement bomb?