xxbit
发贴: 8
积分: 0
|
于 2005-12-02 12:49
这是存储过程,在查询分析器中执行成功: CREATE PROCEDURE update_user_data (@user_name varchar(40), @user_true_name varchar(40), @user_age int, @user_sex varchar(2), @user_address varchar(80), @user_telephone varchar(20), @user_id bigint ) AS update userTable set user_name=@user_name, user_true_name=@user_true_name, user_age=@user_age, user_sex=@user_sex, user_address=@user_address, user_telephone=@user_telephone where user_id=@user_id select * from userTable where user_id=@user_id GO
|