[freetds] variable problem
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Mon Jan 10 05:32:56 EST 2005
>
> I have a procedure witch have the the following parameters
>
>
> startTime nvchar(22)
>
> i define in php like this
> $startTime = "01/10/2005 00:00:00";
>
> mssql_bind($proc, "@startTime", $startTime, SQLVARCHAR);
>
> mssql_execute($proc);
> mssql_free_statement ($proc);
> mssql_close($s);
>
>
> and when i try to execute the function is giving me
>
> .PHP Warning: mssql_execute(): message: Procedure 'reportLastAccess'
> expects parameter '@startTime', which was not supplied.
> (severity 16) in
> /var/www/html/intranet.dobrogeagrup.org/personal/access/lastac
> cess.php
> on line 64
>
Hi Coti.
Which FreeTDS version are you using? Can you enable logging and post it
?
freddy77
More information about the FreeTDS
mailing list