note 98313 deleted from function.odbc-tables by danbrown

From: Date: Tue, 08 Jun 2010 20:14:31 +0000
Subject: note 98313 deleted from function.odbc-tables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169950@lists.php.net to get a copy of this message
Note Submitter: b4m5e at yahoo do com ---- Hello folks, Most interesting posts were: iggvopvantoodlwin (01-Mar-2004 03:42) and liquidicee at hotmail dot com (11-Mar-2001 04:02) Combining them i came to this: ____________________begin________________________ $result = odbc_tables($link); //odbc_result_all(odbc_tables($link)); //listeaza tot din baza de date tabele, view-uri etc, e foarte utila. while (odbc_fetch_row($result)) { switch(odbc_result($result, 4)) { case "TABLE": echo "<BR>".odbc_result($result, 3); break; case "VIEW": echo "<BR>".odbc_result($result, 3); break; case "SYNONYM": echo "<BR>".odbc_result($result, 3); break; } } _____________________end________________________ Basicly from the first post you can see all queries, lists from sharepoint, linked tables from your access database and you can see the type name. In my case i want all of them TABLE=access table, SYNONYM=linked table, VIEW=query. Good luck!

« previous php.notes (#169950) next »