• PHP Video Tutorials

PHP - Function Tableprivileges



Syntax

resource odbc_tableprivileges ( resource $connection_id , 
   string $qualifier , string $owner , string $name )

Definition and Usage

It used to list the table and the privileges associated with each table

Return Values

It returns odbc result identifiers on success or else false on failure

Parameters

Sr.No Parameters & Description
1

connection_id

It contains the information about connection identifiers

2

qualifier

it contains the information about qualifier

3

owner

it contains the information about the owner

4

name

It contains the information about table name

Examples

Try out following example

<?php
   $input_ID = odbc_connect("DSN","user_id","pass_id");
   $result = odbc_tableprivileges($input_ID,"Northwind","dbo","Employees");
   
   odbc_result_all($result)
 ?>
php_function_reference.htm
Advertisements