Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Re: Use Placeholders. For SECURITY and (sometimes) for PERFORMANCE

by mpeppler (Vicar)
on Nov 15, 2003 at 01:12 UTC ( [id://307275]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    select count(*), event_status from text_events group by event_status;
                 event_status
    ...
              26            0
         2352103            2
           81921            3
    
  2. or download this
    declare @status int
    select @status = 0
    select * from text_events where status = @status
    
  3. or download this
    my $sth = $dbh->prepare("select * from payment_db..text_events where e
    +vent_status = ?");
    $sth->execute(1);
    fetch_all($sth);
    $sth->execute(0);
    fetch_all($sth);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found