|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Limit Records Returned
I have just gone blank... I used be able to do this before but have totally forgotten...
I have an SQL statement (left join) that is retreiving records from two tables. I want to limit the amount of records returned (top 10). Help would be greatly appreciated. Thanks. |
|
#2
|
|||
|
|||
|
It depends on your dbms. For MS, it's SELECT TOP n column1,column2 FROM table
|
|
#3
|
|||
|
|||
|
thanks
thanks dude, i will try that.
|
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Limit Records Returned |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|