資料庫的日期欄位(opendate) 定義為 smalldatetime
日期區間: TXT ~ TXT1
dim txt,txt1 as string
SQL:select opendate from table where opendate between txt
and txt1
執行結果出現error:"準則運算式的資料類型不符合"
這是為什麼呢??是不是有那邊沒注意到??
謝謝大家.....^_^
日期區間: TXT ~ TXT1
dim txt,txt1 as string
SQL:select opendate from table where opendate between txt
and txt1
執行結果出現error:"準則運算式的資料類型不符合"
這是為什麼呢??是不是有那邊沒注意到??
謝謝大家.....^_^
請先 登入 以發表留言。