create proc proc_select @name varchar(50), @ywcj int as if exists(select 學號 from student.dbf where 姓名=@name and 語文=@ywcj) update set 語文=語文+10 where 姓名=@name and 語文=@ywcj else print '沒' go 把上面那段代碼運行後,以後只要運行 exec proc_select '姓名',語文成績 姓名,語文成績可以改成妳自己的
上一篇:C#網絡編程技術教程的內容簡介下一篇:戴爾網絡攝像頭軟件無法安裝h-prompt安裝程序無法在系統上檢測到Live!凸輪A...