Code Snippet posted by:
Lakhangarg | Posted on: 11/30/2009 | Category:
SQL Server Codes | Views: 1968 | Status:
[Member] [Moderator]
|
Alert Moderator
Suppose we have variable @str_Student_Type if null then get all records else add filter.
(@str_Student_Type is NULL OR int_Type = @str_Student_Type)
Thanks & Regards
Lakhan Pal Garg