Y yuer Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-13 #3 select * from Table1 where Datefield1=to_date('20000713','yyyy-mm-dd')
P pigpig Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-14 #5 为什么to_date('20000713','yyyy-mm-dd')谢了
W wgpan Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-14 #8 TDateTime dt; dt = Now; Query1.Close; Query1.SQL.Clear(); Query1.SQL.Add("Select * From 表名 Where column1=_Date"); Query1.ParamByName("P_Date").AsDateTime = dt; Query1.Open(); column1是表中的列名,明白了吗?
TDateTime dt; dt = Now; Query1.Close; Query1.SQL.Clear(); Query1.SQL.Add("Select * From 表名 Where column1=_Date"); Query1.ParamByName("P_Date").AsDateTime = dt; Query1.Open(); column1是表中的列名,明白了吗?