Skip to Content.
Sympa Menu

freetds - RE: [freetds] variable problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] variable problem
  • Date: Mon, 10 Jan 2005 11:32:56 +0100

>
> 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




Archive powered by MHonArc 2.6.24.

Top of Page