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

Re: s/Perl/SQL/ ?

by roboticus (Chancellor)
on Sep 10, 2012 at 14:22 UTC ( [id://992770]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    SELECT '".$Reference."', '".$Comparitor."', A.entity_name 
    FROM e_annotation_090812.annotation A 
    ...
    where A.entity_name like '_%'
      and A.evidence_code not like '%_________8__'
      and (A.centre like '".$Reference."' or A.centre like '".$Comparitor.
    +"')
    
  2. or download this
    SELECT '".$Reference."', '".$Comparitor."', A.entity_name 
    FROM e_annotation_090812.annotation A 
    ...
         or substring(A.evidence_code,length(A.evidence_code)-2,1)<>'8')
      )
      and (A.centre = '".$Reference."' or A.centre = '".$Comparitor."')
    
  3. or download this
    my $ST = $DB->prepare(<<EOSQL);
    SELECT ?, ?, A.entity_name 
    ...
      and (A.centre=? or A.centre=?)
    EOSQL
    $ST->execute($Reference, $Comparitor, ".$Reference.", ".$Comparitor.")
    +;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found