我執行在SQL Server Express SQL語句不正確的語法錯誤,而執行
insert into dscl_sql_log (user_name, sql_time, sql)
values ('ADMIN', '2/17/2014 7:05:45 PM', 'select * from cn_fieldsurvey_trn where unit_code = '03' and rownum < 10')
它給出了一個錯誤信息**incorrect syntax near '03'**
你應該在字符串常量'=''03'''上使用雙配額' – valex