T
topdelphi
Unregistered / Unconfirmed
GUEST, unregistred user!
请大家帮忙修改一下下面的存储过程,我想用存储过程执行插入操作,语句如下,
create procedure insertusers
@id char(10), //这三个变量是和我数据库的三个字段和字段类型相同的.
@name char(30),
@pwd char(10)
as
set @id = user_ids
@name =user_names //分析器说这附近有错误啊,请帮忙修改一下,或者我怎么地方出错了.
@pwd= user_pwd
insert users(@id,@name,@pwd) values(@id,@name,@pwd)
create procedure insertusers
@id char(10), //这三个变量是和我数据库的三个字段和字段类型相同的.
@name char(30),
@pwd char(10)
as
set @id = user_ids
@name =user_names //分析器说这附近有错误啊,请帮忙修改一下,或者我怎么地方出错了.
@pwd= user_pwd
insert users(@id,@name,@pwd) values(@id,@name,@pwd)