摘要:
-- 新增学生表 student IF object_id('student') IS NOT NULL DROP TABLE student; CREATE TABLE student ( id bigint NOT NULL IDENTITY(1,1) , name nvarchar(40) N 阅读全文
摘要:
DECLARE num NUMBER; BEGIN -- 新增学生表 student SELECT COUNT (1) INTO num FROM cols WHERE table_name = UPPER ('student') ; IF num > 0 THEN EXECUTE IMMEDIAT 阅读全文
摘要:
DROP PROCEDURE IF EXISTS proc_tempPro; CREATE PROCEDURE proc_tempPro () BEGIN START TRANSACTION; -- 学生表 DROP TABLE IF EXISTS student; CREATE TABLE stu 阅读全文