|
|
| Author |
Message |
manjithota
New User
Joined: 09 Jun 2005 Posts: 10
|
|
|
|
spse in a table , we don't have any information about any of the column values.
then how to retrieve the first N no of rows and that too without using cursors and using sql queries only ? |
|
| Back to top |
|
 |
References
|
Posted: Wed Jun 15, 2005 12:16 pm Post subject: Re: how to retreive the first 10 rows of a table ? |
 |
|
|
 |
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 200 Location: Keane India Ltd., Hyderabad
|
|
|
|
Hi ,
You can use the following SQL QUERY to fetch first N rows of a table.
SELECT * FROM <<TABLE>> FETCH FIRST 10 ROWS ONLY;
Thanks,
Reddy |
|
| Back to top |
|
 |
|
|