火影忍者天道佩恩出场:sql server 2000 问题

来源:百度文库 编辑:高校问答 时间:2024/04/28 05:21:13
我创建了一个往两个表中插入数,
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' 无效。
这是为什么