English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The odbc_tableprivileges() function is used to list tables and the permissions associated with each table
resource odbc_tableprivileges ( resource $connection_id , string $qualifier, string $owner, string $name)
Lists the tables within the requested range and the permissions associated with each table.
Returns an odbc result identifier on success, otherwise returns false
Number | Parameters and Description |
---|---|
1 | connection_id It contains information about the connection identifier |
2 | qualifier It contains information about the qualifier |
3 | owner It contains information about the owner |
4 | name It contains information about the table name |
Try the following example
<?php $input_ID = odbc_connect("DSN", "user_id", "pass_id"); $result = odbc_tableprivileges($input_ID, "Northwind", "dbo", "Employees"); odbc_result_all($result) ?>