exec master..xp_cmdshell 'osql -L'
select * from master..sysdatabases
select * from 数据库名..sysobjects where xtype='U' and status>0
这几条sql语句都是用来获得服务器,数据库,用户表的,
但不知在Delphi5中用什么控件,怎样来做呀?
...全文
555打赏收藏
这几条sql语句怎么用??
exec master..xp_cmdshell 'osql -L' select * from master..sysdatabases select * from 数据库名..sysobjects where xtype='U' and status>0 这几条sql语句都是用来获得服务器,数据库,用户表的, 但不知在Delphi5中用什么控件,怎样来做呀?