Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Constraint Violating Yak Guru
Premature Yak Congratulator
Create View [dbo].[emrVBUserInfo] @group_id varchar(50)
SELECT FEATURE_REF_ID,GROUP_ID,EMR_FEATURE_ID FROM EMRFEATUREREFERENCE WHERE GROUP_ID=@group_id AND EMR_FETAURE-ID=48
SELECT * FROM [dbo].[emrVBUserInfo]
WHERE GROUP_ID = some ID
quote:Originally posted by KristenAlthough you don't really want all those columns selected if its just an EXIST test.
Very Important crosS Applying yaK Herder