34,588
社区成员
发帖
与我相关
我的任务
分享
USE master;
if db_id('testdb') is not null
drop database testdb;
go
create database testdb;
go
use testdb;
go
if object_id('testtab') is not null
drop table testtab;
go
create table testtab
(
Id int not null
);
if object_id('p_test') is not null
drop proc p_test;
go
create proc p_test
as
delete dbo.testTab
go