tableprivileges - 语法
resource odbc_tableprivileges ( resource $connection_id , string $qualifier , string $owner , string $name )
它用于列出表以及与每个表关联的权限
| Sr.No | 参数 & 描述 |
|---|---|
| 1 |
connection_id 它包含有关连接标识符的信息 |
| 2 |
qualifier 它包含有关限定符的信息 |
| 3 |
owner 它包含有关所有者的信息 |
| 4 |
name 它包含有关表名的信息 |
tableprivileges - 返回值
如果成功,则返回ODBC结果标识符;如果失败,则返回FALSE
tableprivileges - 示例
<?php $input_ID=odbc_connect("DSN","user_id","pass_id"); $result=odbc_tableprivileges($input_ID,"Northwind","dbo","Employees");odbc_result_all($result) ?>