Very good, basic question, Hardik!
This QotD reminds us to be cautious when working with the IN keyword, especially in dynamic SQL.
Have a Happy New Year ahead!
Thanks & Regards,
Nakul Vachhrajani.
http://nakulvachhrajani.com
Follow me on
Twitter: @sqltwins