Help for this page

Select Code to Download


  1. or download this
    CREATE PROCEDURE TestProc
    @InField varchar(50)
    ...
    (@InField)
    SELECT @@identity
    GO
    
  2. or download this
    ..connect to db..
    my $sth = $dbh->prepare('{call TestProc(?)}');
    ...
    $dbh->disconnect;
    
    print "results are $$results[0]\n";