ASP中的語法錯誤

2022-10-03 19:56

2022-10-03 23:25
delete from [user] where [userid]=156
更多回答
沒有*
delete from [user] where userid=156

如果id是int字段.就delete from [user] where userid=156
如果id是string字段,就得delete from [user] where userid='156'

這次肯定能行了
關(guān)鍵字user 和數(shù)據(jù)庫的重復(fù)了 非要用的話用[]括起來
熱門問答