Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Reusing a variable declared earlier in the same scope

by reluctant_techie (Novice)
on Apr 14, 2008 at 15:30 UTC ( [id://680313]=note: print w/replies, xml ) Need Help??


in reply to Re: Reusing a variable declared earlier in the same scope
in thread Reusing a variable declared earlier in the same scope

My purpose in testing whether or not any rows are returned is to prevent a situation where the final $AssignmentIDs variable point at an empty string. I am using this variable in my next SQL statement using the IN syntax. For example,
SELECT ... FROM ... WHERE AssignmentID IN ($AssignmentIDs)
This is all very helpful information though. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://680313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found