I'm working with mssql on WinNT and PHPLIB.
We can call stored proc who sends a set of data, but didn't succeed to get any argument back.
We had some trouble to use stored proc.
Native API (mssql.dll) doesn't seem to work with stored proc. In fact I always receive only the first record of the dataset.
With ODBC we can call stored proc but we actually have some difficulties :
- how receive arguments back.
- calling complex procedures with text fields.
To call stored proc with ODBC you can use this syntax :
$Query_ID = odbc_prepare(Link_ID,$Query_String);
Query_Ok = odbc_execute($Query_ID);
or simplier :
$Query_ID = odbc_exec($Link_ID,$Query_String);
If anybody has more information about stored proc please help.