日期:2014-05-19  浏览次数:20519 次

求一句T-SQL(中文字段名/Access库)
"SELECT   *   FROM   job   WHERE   生产日期   +   Convert(NVARCHAR(8)   ,   开始时间   ,   108)   > =   ' "   +   Format(dt_Date.Value,   "yyyy-MM-dd ")   +   "   "   +   txt_Hour.Text   +   ": "   +   txt_Minute.Text

------解决方案--------------------
format( 'yyyy-MM-dd ' , 生产时间) + format( 'HH:mm:ss ',开始时间)

-->

format(生产时间, 'yyyy-MM-dd ' ) + ' ' + format(开始时间, 'HH:mm:ss ')