Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
See more:
Hi all

I have one table with column called "GroupName"
below is the table data
SQL
IGID|	GroupName  |	  Under
6   |	NA	   |        0
13  |	Shirting   |	    6
14  |	Raymonds   |	    13
15  |	Vimal	   |        13

Now while binding the GroupName, i don't want "NA" to be binded..apart from NA all should bind

Please tell me how to do this..
Posted

1 solution

You could exclude the result you do not want with the query:
SQL
SELECT [IGID], [GroupName], [Under]
FROM [YourTable]
WHERE [IGID] <> 6
 
Share this answer
 
Comments
CHill60 9-Oct-13 8:03am    
Short and to the point. My 5
[no name] 9-Oct-13 8:39am    
Did this only..nways thanks for the help..:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900