Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 12280 |  Welcome, Guest!   Register  Login
 Home > Forums > Sql Server > finding record from table ...
Shoyebaziz123

finding record from table

Replies: 2 | Posted by: Shoyebaziz123 on 5/10/2012 | Category: Sql Server Forums | Views: 325 | Status: [Member] | Points: 10  


Hi,

i have a problem with sql query how to find matching record from table having acolumn with record like this

BIll Number
ALPL/2012-2013/WR/1
ALPL/2012-2013/BN/1
ALPL/2012-2013/BN/2
ALPL/2012-2013/WR/2
ALPL/2012-2013/BN/3
ALPL/2012-2013/BN/4
ALPL/2012-2013/BN/5
ALPL/2012-2013/FD/1
ALPL/2012-2013/WR/3

now i am passing the value WR or BN for eg. so only record with WR or BN must be shown ,
for eg. i am sending WR then rows of ALPL/2012-2013/WR/1 , ALPL/2012-2013/WR/2 , ALPL/2012-2013/WR/3 must be the output.

How can i do this ?


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Shoyebaziz123
Shoyebaziz123  
Posted on: 5/10/2012 6:35:09 AM
Level: Starter | Status: [Member] | Points: 25

Resolved

Ok , thanks i have solved that problem.

Shoyebaziz123, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Ajay.Kalol
Ajay.Kalol  
Posted on: 6/4/2012 6:11:29 AM
Level: Starter | Status: [Member] | Points: 25

Use Like Keyword for your Solution

http://ajaypatelfromsanthal.blogspot.in

Shoyebaziz123, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/19/2013 3:57:25 AM