Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Duplicate detection (SQL)

by gmax (Abbot)
on Oct 20, 2003 at 08:50 UTC ( [id://300509]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # User input
    my ($name,$middle,$surname) = ('George', 'Washington', 'Clark');
    ...
    $sth->execute>($name, $middle, $surname);
    # check if you got any results
    
  2. or download this
    my $combinedquery = "
    SELECT 
    ...
    my $sth = $dbh->prepare($combinedquery);
    $sth->execute>("$name$middle$surname");
    # check if you got any results
    
  3. or download this
    my $query = "
    SELECT 
    ...
    
    $sth = $dbh->prepare($combinedquery);
    $sth->execute>("$name$middle$surname");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found