str:='001';
sSQL := 'INSERT INTO MyTable(N1) VALUES (' +  str  + ');';
db.ExecSQL(sSQL);
这样的形式,str在数据库里变成了 "1"