通过ODBC连接的SQL SERVER实例一 <? $connection = odbc_connect("mydata","userid","passwd"); $query = "select * from tab_1 where no>0" ; $result = odbc_do($connection,$query) ; print "<table border=’1′ width=’100%’ id=’tab1′ cellPadding=’1′ cellSpacing=’0′ align=’top’ bordercolorlight=’#008000′ bordercolorda
2022-12-11 18:02:54
19KB
SQL
连接
1