Hi
I am facing this problem. On compiling this stored procdure it says "TEXT or IMAGE datatypes are invalid for paramters or local variable"
I have OriginalMessage field which containts big XML and its not possible for me to change its datatype from text to some varchar ...any Hope I can still do it ?
CREATE PROCEDURE dbo.orgmsg_upd
@ExcpMsgID int,
@OriginalMessage text
AS
BEGIN
UPDATE SystemExceptions
SET OriginalMessage = @OriginalMessage
WHERE ExcpMsgID = @ExcpMsgID
END
I am facing this problem. On compiling this stored procdure it says "TEXT or IMAGE datatypes are invalid for paramters or local variable"
I have OriginalMessage field which containts big XML and its not possible for me to change its datatype from text to some varchar ...any Hope I can still do it ?
CREATE PROCEDURE dbo.orgmsg_upd
@ExcpMsgID int,
@OriginalMessage text
AS
BEGIN
UPDATE SystemExceptions
SET OriginalMessage = @OriginalMessage
WHERE ExcpMsgID = @ExcpMsgID
END