| Concept Framework 2.2 documentation | Contents | Index |
| Name | Type | Access | Version | Deprecated |
| ListTables | function | public | version 1.0 | no |
| array ListTables(string database="%") |
| database | the target database name (optional) |
| List the tables in a database. The connection must be opened. |
pragma warnings off
include DataBases.con
class Main {
function Main() {
var Connection=new ADOConnection();
var DataSet=new ADODataSet(Connection);
Connection.Open("Driver={SQL Server};Server=(local);Database=iadc;Uid=iadc;Pwd=iadc;");
echo Connection.ListTables();
echo Connection.ListColumns("sysobjects");
Connection.Close();
echo Connection.LastError();
}
}
|
| Documented by Eduard Suica, generation time: Sun Jan 27 18:15:09 2013 GMT | (c)2013 Devronium Applications |