时间:2021-07-01 10:21:17 帮助过:9人阅读
$strSql = "SELECT BUYER_ID, BUYER_NAME FROM apps.buyr_info WHERE BUYER_NAME LIKE 'a%' "; $conn = odbc_connect('cle','evlp','evlp',SQL_CUR_USE_ODBC) or die ("连不上数据源"); $result =odbc_do($conn,$strSql)or die("执行不到声明"); while(odbc_fetch_row($result)){ $BUYER_NAME =odbc_result($result,1); echo " MM NN PP "; echo $BUYER_NAME; }
$strSql = "SELECT BUYER_ID, BUYER_NAME FROM apps.buyr_info ";