The precision is invalid.
/Intranet/hr/Change_Password_db.asp, line 16
-------------------------------------------------------------------------------------------------------------------
Expand|Select|Wrap|Line Numbers
- rm.Parameters.Append rm.CreateParameter("@user_id",adNumeric,adParamInput,8,request("NoStaf"))
[code]
[@user_id numeric(8),
..
UPDATE TblUser_ID SET Password=@pwd,Date_Update=getdate(),Update_By=@use r_id WHERE Personel_No=@user_id
/CODE]
The reason I change to numeric datatype:/
Expand|Select|Wrap|Line Numbers
- CREATE TABLE [dbo].[tblUser_ID](
- [Personel_No] [numeric](8, 0) NOT NULL,
For some reason INSERT statement on store procedure run smoothly without error, But not for UPDATE statement????