responses
Hi,
This is my sql_fetch command :
$Retval = sql_fetch("SELECT ServerName, Transmission FROM dbo.SrvAuth WHERE ServerName = ?", $MachineCourt);
This command does find the right record based on ServerName but it is always putting the second field, $Transmission, to the value FALSE.
Here is the MS SQL table definition :
Colum Name Data Type Allow Nulls
ServerName varchar(50) Unchecked
Transmission bit Unchecked
Depending of the record that it is fetch, the DB contains about a third of TRUE and 2 third of FALSE for the Transmission field.
Question :
Why do I always fetch FALSE for the Transmission field?
Thanks
Comments (1)
Hello,
It's working, that's most important part.
About definitions - well, did our best to made syntax writing as native as possible but sometimes it differs from the common way of use.
In case of doubts please check our manual, if any questions left than just drop us a line.
Best regards, Arch