Help for this page

Select Code to Download


  1. or download this
      CREATE PROCEDURE sp_myproc 
        @a VARCHAR(250), 
    ...
      COMMIT TRAN
      
      RETURN @id
    
  2. or download this
    my $sth = $dbh->prepare("EXEC sp_myproc ?, ?");
    my $id = $sth->execute('foo', 'bar');