Hi,
I am tryind to delete from a table using a Stored Procedure, but I don't
know how to do the following:
The DELETE STATEMENT must be:
DELETE FROM MESSAGES
WHERE MSSGID IN (@MSGIDS)
The problem is that @MSGIDS always is something like this:
1,3,5,7,11,12. It's VARCHAR parameter. The problem is that MSSGID is the
Primary key and it is INT. How could be solved this problem?
Thank you in advance!
Viktor