CodePudding user response:
Way to use paramadoquery - & gt; Close ();
Adoquery - & gt; SQL - & gt; Text="insert into t values (: (p1)";
Adoqery - & gt; Paramters - & gt; Parabyname (" p1 ") - & gt; Value=https://bbs.csdn.net/topics/... ;
Adoquery - & gt; ExecSQL ();
CodePudding user response:
Parameters, or adopt a stored procedureCodePudding user response:
With 2 l way can solve most problems.. But if the field is bigint type words.. Can directly use AsString. Direct assignment or organization into the insert into statement..