在sql命令行,删除一条记录时,发现一个很奇怪的错误下面的语句是可以正常执行的:delete from t_mid_test_convention where convention_id33;但是下面的报语法错:delete from t_mid_test_convention as mt2 where mt2.convention_id33;mysql>mysql> delete from t_mid_tes…
游标的使用方法 select * from aselect * from b declare Mycursor CURSORfor select * from b open Mycursor declare stuID nchar(10)declare math smallint fetch next from Mycursorinto stuID,math while(FETCH_STATUS 0)begin update a set math math where stuID stu…