Could someone supply simple examples of how this command works. I am trying to use it like this - $conn=odbc_connect("poinv","",""); $result=odbc_tableprivileges($conn,"pt_mstr","%","%"); odbc_result_all($result); but this returns Warning: SQL error: , SQL state 00000 in SQLTablePrivileges in /opt/apache/lib/htdocs/poinv/test.php on line 9 Warning: Supplied argument is not a valid ODBC result resource in /opt/apache/lib/htdocs/poinv/test.php on line 11 So my understanding of this is obviously incorrect Thanks Mark ##################################################### Mark Newnham Application Design Associates, Inc 6021 S.Syracuse Way #302 Englewood, CO 80111, USA http://www.adacorp.com ##################################################### -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]