Click here to Skip to main content
15,913,773 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want SQL to find only the first record satisfying query and then stop further search for query optimization.While there are multiple records satisfying query.

[edit]Title only - OriginalGriff[/edit]
Posted
Updated 28-Sep-10 8:28am
v2
Comments
OriginalGriff 28-Sep-10 14:30pm    
There is no point at all in posting your entire question as the title as well as the body of your question.
Make the title short and too-the-point, and put a reasonable amount of detail in the body.

1 solution

Depends on what type of SQL you are using. Take a look at this wikipedia entry.[^]
 
Share this answer
 

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