
odbc_special_columns()函数用来检索特殊列
语法
resource odbc_specialcolumns ( resource $connection_id , int $type , string $qualifier , string $owner , string $table , int $scope , int $nullable )
定义和用法
检索唯一标识表中某一行的最优列集,或检索在事务更新该行中的任何值时自动更新的列。
返回值
成功返回odbc结果标识符,否则返回false
参数
| 序号 | 参数和说明 | 
|---|---|
| 1 | connection_id 它包含有关连接标识符的信息 | 
| 2 | qualifier 它包含有关限定符的信息 | 
| 3 | owner 它包含有关所有者的信息 | 
| 4 | nullable 它包含有关可以为空的选项的信息 | 
实例
试试下面的实例
<?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);
 ?>