Help for this page

Select Code to Download


  1. or download this
              if($dbh = DBI->connect($connectionInfo,$userid,$passwd)){
                $sth = $dbh->prepare($query);
    ...
            $x++;
          }
    
  2. or download this
        IF (@max_vendor != (SELECT vendor_id FROM Inserted))
        BEGIN
          RAISERROR ('PO already exists with a different vendor',16,1)
          ROLLBACK TRAN
        END