FDLocalSQL

http://docwiki.embarcadero.com/Libraries/Berlin/en/FireDAC.Phys.SQLiteVDataSet.TFDLocalSQL

http://docs.embarcadero.com/products/rad_studio/firedac/frames.html?frmname=topic&frmfile=Local_SQL.html

 

FDConnection1.DriverName := 'SQLite';
FDLocalSQL1.Connection := FDConnection1;
 
FDLocalSQL1.SchemaName := 'orders';
 
FDLocalSQL1.DataSets.Add.DataSet := adoQOrders;
FDLocalSQL1.DataSets.Add.DataSet := qDetails;
 
FDLocalSQL1.Active:=true;
FDQuery1.Connection := FDConnection1; FDQuery1.Open('select * from orders.adoQOrders o left join orders.qDetails d on o.OrderID = d.OrderID');

 

posted on 2016-07-05 22:42  lypzxy  阅读(779)  评论(0编辑  收藏  举报