Help for this page

Select Code to Download


  1. or download this
    select * from timestamp_testing where start = timestamp '2011-06-02 12
    +:33:07' ;
    
  2. or download this
     my $sth = $dbh->prepare ("SELECT * from timestamp_testing where start
    + = (timestamp ?) ");
    
    ...
    else {
                print "WRONG QUERY\n" ;
    }
    
  3. or download this
    DBD::Pg::st execute failed: ERROR:  syntax error at or near "$1"
    LINE 1: ...ELECT * from timestamp_testing where start = (timestamp $1)
    + 
                                                                       ^ a
    +t NORMAL_DBI.pl line 63