CREATE PROCEDURE updateparentprofile( _usercode varchar(200), _address varchar(200), _fatherEmail varchar(200), _parentusername varchar(200), _parentpassword varchar(200), _motherEmail varchar(200) ) begin update parentmaster set fatherEmail=_fatherEmail,motherEmail=_motherEmail where usercode = _usercode; update studentmaster set fatherEmail=_fatherEmail,motherEmail=_motherEmail,address=_address where usercode = fn_getStudentUCByParent(_usercode); update usersmaster set username=_parentusername,password=_parentpassword where usercode=_usercode; end;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)