我想寫select從數據庫中查找日期。 在數據庫中,我將字段actiondate作爲日期類型,日期類似於2012年7月12日17:21:33。 如何編寫select從7/12/2012獲取所有數據?sql date select
so if I have db like this:
1 7/12/2012 17:21:33
2 7/12/2012 15:21:35
3 8/12/2012 8:25:35
4 9/12/2014 8:25:35
I want get only these rows:
1 7/12/2012 17:21:33
2 7/12/2012 15:21:35
你正在使用什麼數據庫軟件 – Dave 2012-08-03 14:57:32