Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Comparing 2 databases

by helphand (Pilgrim)
on Mar 12, 2006 at 01:33 UTC ( [id://536007]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Comparing 2 databases
in thread Comparing 2 databases

Guess I'm confused then. Why have three identical subroutines with three different names?

Also, The subroutines return a statement handle, yet you are not capturing any return value. That means your first fetch is fetching what? And your second fetch literally doesn't exist, how are you retrieving anything from the db for the second select statement?

You say you didn't write the script, but are trying to adjust it. I can't see where the script ever worked at all, did you leave something out?

Scott

Replies are listed 'Best First'.
Re^4: Comparing 2 databases
by htmanning (Friar) on Mar 12, 2006 at 04:23 UTC
    Yeah, sorry. I'm lost on this. I'm definitely not the expert. I did leave out this line in the previous example
    $pointer2 = $sth2->fetchrow_hashref;
    I may be totally off on this and I'm just going in circles..lliterally. I'm simply trying to check the bademails table and get all those emails in a list, then for each email check the alerts table (which has an email field with several emails separated by ~~~). If one is found, I want to take it out and replace it. Can't seem to accomplish that. Thanks for any help you can give me.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-23 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found