haitao · 2005-09-05 12:30:05 · 阅读: 299 光看问题没怎么明白,看来没脾气的才。。。 delphi: sSql:='select * from mytable where MyID='+sMyId+' or 0='+sMyId;