-1
這些是我要去傳遞中的數據,一個nvarchar數據類型爲datetime數據類型的轉換導致外的範圍內的值
2010年3月8日上午六時37分16秒
雖然我有列聲明爲db表中的日期時間類型。 它的腥意,它沒有工作,因爲我有另一個Java類做類似的查詢,但成功地傳入分貝。
這些是我要去傳遞中的數據,一個nvarchar數據類型爲datetime數據類型的轉換導致外的範圍內的值
2010年3月8日上午六時37分16秒
雖然我有列聲明爲db表中的日期時間類型。 它的腥意,它沒有工作,因爲我有另一個Java類做類似的查詢,但成功地傳入分貝。
在進行插入之前,您需要使用parse/convert
「字符串」值(使用SimpleDateFormat
或joda時間API)至date-time
。