odbc_special_columns()函數(shù)用來檢索特殊列
resource odbc_specialcolumns ( resource $connection_id , int $type , string $qualifier , string $owner , string $table , int $scope , int $nullable )
檢索唯一標(biāo)識表中某一行的最優(yōu)列集,或檢索在事務(wù)更新該行中的任何值時自動更新的列。
成功返回odbc結(jié)果標(biāo)識符,否則返回false
| 序號 | 參數(shù)和說明 |
|---|---|
| 1 | connection_id 它包含有關(guān)連接標(biāo)識符的信息 |
| 2 | qualifier 它包含有關(guān)限定符的信息 |
| 3 | owner 它包含有關(guān)所有者的信息 |
| 4 | nullable 它包含有關(guān)可以為空的選項的信息 |
試試下面的實例
<?php
$input_ID = odbc_connect("DSN","user_id","pass_id");
$result = odbc_specialcolumns($input_ID,0,"Northwind","dbo","Employees",0,0);
odbc_result_all($result);
?>