Hi,
Im using stored procedure to update data. but the problem is after click update there is no change.
can anyone check this stored procedure and tell what s the problem.
thank you.
Meshack
Im using stored procedure to update data. but the problem is after click update there is no change.
can anyone check this stored procedure and tell what s the problem.
Code:
CREATE PROCEDURE UpdateTicket
@TicID int = '',
-- @TicDate datetime = '',
@TicCreateBy varchar(50) ='',
@TicCustomer varchar(50) ='',
@TicOwner varchar(50) ='',
@TicIssueType varchar(50) ='',
@TicIssue varchar(100) ='',
@TicStatus varchar(50) = '',
-- @TicStatusID varchar(10) = '',
@TicPriorityID varchar(4) = '',
@TicPriority varchar(50) ='',
@TicAction varchar(500)=''
AS
UPDATE Ticket
SET
--TicDate=@TicDate,
TicCreateBy=@TicCreateBy,
TicCustomer=@TicCustomer,
TicOwner=@TicOwner,
TicIssueType=@TicIssueType,
TicIssue=@TicIssue,
TicStatus=@TicStatus,
--TicStatusID=@TicStatusID,
TicPriorityID=@TicPriorityID,
TicPriority=@TicPriority,
TicAction=@TicAction
WHERE TicID=@TicID
GO
Meshack
Comment