Study/Mysql

freeTDS통해서 php에서 MSSQL의 프로시져 호출시에 나는 애러

영혼도둑 2007. 12. 10. 16:20


Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options
to be set for the connection. This ensures consistent query semantics.
Enable these options and then reissue your query

이런 애러가 난다..

<?


mssql_query("SET ANSI_NULLS ON",$con_log);
mssql_query("SET ANSI_WARNINGS ON",$con_log);
$sql="[UP_SM_MutantLog] '$date',1000";
$rs=mssql_query($sql,$con_log);

?>

이런식으로 해결하면 됨...