i m getting string e.g.('1','2','7','12') from database & i want to query sqlserve i.e.
select subject_nme from subject where subjid=1 && subjid=2 && subjid=7
using the intgers from string.For querying i need to create dynamic variables to store the subjid into them and use them.
THANX
1 Answer