This is in SQL2000 ex.
create procedure ... @Name varchar(254), @Date smalldatetime
Select.......
Where (db.Name IN (@Name)) AND
(db.Date = @Date)
@Name = ('George', 'Mike')
SQL does not return any data to my query
if I remove @name and hard code ('George',.... then it works just fine. I have been trying for a while to figure this out. If anyone has any suggestions I would appreciate it.
Thanks in advance
MatthewS
create procedure ... @Name varchar(254), @Date smalldatetime
Select.......
Where (db.Name IN (@Name)) AND
(db.Date = @Date)
@Name = ('George', 'Mike')
SQL does not return any data to my query
if I remove @name and hard code ('George',.... then it works just fine. I have been trying for a while to figure this out. If anyone has any suggestions I would appreciate it.
Thanks in advance
MatthewS