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);