Hi,
I ususally use Win32::ODBC module to access SQL DBs. But there is a problem whe I use this code:
$nx = 2; $ny = 4;
$SqlStatement = "execute sp_test $nx, $ny";
if ($dbLang->Sql($SqlStatement))
{
print( "\n----\nSQL Error: " . $dbLang->Error());
print( "SQL statement = \'$SqlStatement\'\n----"); <>;exit;
}
sp_test uses $ny as OUTPUT parameter. But it doesn't work since there is vaule goes to sp, not reference.
Is there a possibility to use parameters by reference in some way to SQL stored procedure?
Thank you.