浙江警察学院怎么样:sql server 2000 问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/12 06:39:23
我创建了一个往两个表中插入数,
create procedure personspyinsert
@firstname varchar(50),
@dob datetime=NULL,
@spynumber varchar(10)=null,
@annualsalary money,
@isactive bit=1
as
declare @personid int
insert into person (firstname,dob)
values(@firstname,@dob)
insert into spy (spynumber,annualsalary,isactive)
values(@spynumber,@annualsalary,@isactive)

exec personspyinsert 'kitty',null,null,75000.00,1

有错误,服务器: 消息 208,级别 16,状态 1,过程 personspyinsert,行 9
对象名 'person' 无效。
这是为什么