如何批量插入多行SQL? { UNIDAC/FIREBIRD]
How to insert several lines batch SQL? { UNIDAC/FIREBIRD]
如何在 UNIDAC 中插入多行 SQL/batch 等于 FIREDAC?
Firedac 示例:
FDQuery.ParamByName ('NAME') AsStrings [0] = 'MARIA';
FDQuery.ParamByName ('NAME') AsStrings [1]: = 'JOHN';
FDQuery.ParamByName ('NAME') AsStrings [2]: = 'JOSSE';
FDQuery.Execute (3,0);
此功能仅在最新版本的 Unidac 中,另请参阅:
http://blog.devart.com/using-batch-operations-in-delphi-data-access-components.html
如何在 UNIDAC 中插入多行 SQL/batch 等于 FIREDAC? Firedac 示例:
FDQuery.ParamByName ('NAME') AsStrings [0] = 'MARIA';
FDQuery.ParamByName ('NAME') AsStrings [1]: = 'JOHN';
FDQuery.ParamByName ('NAME') AsStrings [2]: = 'JOSSE';
FDQuery.Execute (3,0);
此功能仅在最新版本的 Unidac 中,另请参阅:
http://blog.devart.com/using-batch-operations-in-delphi-data-access-components.html