如题,令外还有就是我怎么才能获得系统中的所有数据库别名〉?
解决方案 »
- 一口气用了六个stringlist续----有没有本质的区别
- ***進來吧,相信你能幫我! 一個沒入門的線程問題
- 关于 TRichEdit的赋值操作问题: 我在一个mainForm 上方一个richedit 然后 编辑的时候,重新打开一个 form 上有 richedit ,可在新form
- 1.怎样在程序运行时 显示“正在运行...” 2.完后“运行完毕”,并有确定按钮
- 高分求救!!(关于一个分组报表),不过可以再开贴加分!!
- 分好多,放
- hInstance 类名 句柄 谁能讲一下区别
- 一个sql语句问题,请指教~!
- Paradox数据库操作问题
- 怎么快速的判断网络通讯故障!Socket通讯连接不上!
- 200分请教vendor initialization failed
- 关于DBGrid中树的问题?保证给分!!!
这是通用接口的,对于别名,可能不同的数据库要用不同的查询才能得到
DescriptionCall GetTableNames to retrieve a list of tables in the associated database.List is the already-existing string list object into which the tables names are put.Set SystemTables to indicate whether the list of table names should include the database抯 system tables.ADOConnection1.GetTableNames(ListBox2.Items, False);Note: Any contents already in the target string list object are eliminated and overwritten by the data produces by GetTableNames.
SysObjects中保存着所有数据表的信息