I am new to SQL and am now working with stored procedures. I watched another developer code and I saw this expression:
ALTER PROCEDURE [deleteRecords_UNICODE] @RecordIDs ty_NumberList READONLY
Question 1: What does ty_NumberList mean?
Question 2: I am creating a stored procedure that should use the above parameter. When I created "DECLARE @RecordNum int", I obviously got an error
Operand type clash: int is incompatible with ty_NumberList
I assume that I should solve this:
a) Creating a variable of type "ty_NumberList"
b) then go with my regular DECLARE @RecordNum int
c) Then pass the value of @RecordNum to ty_NumberList
Question 3: How can I follow the steps above in SQL?
Any help would be greatly appreciated!
source share