TeaAddictedGeek
Programmer
My skills at T-SQL are a tad rusty, so please help me out here.
Here's the procedure I am trying to create:
[...]
@param varchar(20)
[...]
select * from
where table_type_id in (@param)
The problem is that when I put in the list of IDs, it tells me that it can't convert it to an int.
I am probably using the wrong datatype or something. I created procedures like this all of the time years ago back in SQL Server 7.0, but it's been a while. What am I doing wrong?
Thanks a bunch in advance!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum
Here's the procedure I am trying to create:
[...]
@param varchar(20)
[...]
select * from
where table_type_id in (@param)
The problem is that when I put in the list of IDs, it tells me that it can't convert it to an int.
I am probably using the wrong datatype or something. I created procedures like this all of the time years ago back in SQL Server 7.0, but it's been a while. What am I doing wrong?
Thanks a bunch in advance!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum