作者:轻裘缓带531 | 来源:互联网 | 2018-04-22 04:53
通过ODBC连接的SQLSERVER实例一<?$connectionodbc_connect("mydata","userid","passwd");$query"select*fromtab_1whereno>0";
通过ODBC连接的SQL SERVER实例一
$cOnnection= odbc_connect("mydata","userid","passwd");
$query = "select * from tab_1 where no>0" ;
$result = odbc_do($connection,$query) ;
PRint "
";
odbc_close($connection);
?>