L lilbdping Unregistered / Unconfirmed GUEST, unregistred user! 2010-06-17 #1 如题,需要获取到SQL语句中的所有用到的表名,如: select a.*, b.*, (select AF from c where c.id=b.id) from a, b where 1=1希望获取的结果为:a, b两个表名
如题,需要获取到SQL语句中的所有用到的表名,如: select a.*, b.*, (select AF from c where c.id=b.id) from a, b where 1=1希望获取的结果为:a, b两个表名
Y ysai Unregistered / Unconfirmed GUEST, unregistred user! 2010-06-25 #5 var i : Integer; begin for i := 0 to ADODataSet1.Fields.Count - 1 do mem.Lines.Add(vartostr(ADODataSet1.Recordset.Fields.Properties.Item['BASETABLENAME'].Value)); end;
var i : Integer; begin for i := 0 to ADODataSet1.Fields.Count - 1 do mem.Lines.Add(vartostr(ADODataSet1.Recordset.Fields.Properties.Item['BASETABLENAME'].Value)); end;