打印本文 打印本文 关闭窗口 关闭窗口
DELPHI中动态获得SQLSERVER数据库名
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1013  更新时间:2007/11/14 12:01:41  文章录入:mintao  责任编辑:mintao
str:=Table1.Tablename;
Query1.Close;
Query1.SQL.Clear;
Query1.SQL.Add(format(''''select * from %s'''',[Str]));
Query1.Open;

打印本文 打印本文 关闭窗口 关闭窗口