View previous topic :: View next topic |
Author |
Message |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Thu Jun 14, 2007 5:59 am Post subject: Fetch first N rows clause |
|
|
In a static SQL, while using the "fetch first N rows" clause in a cursor, is it possible to have N as a variable rather than a hardcoded value? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jun 14, 2007 6:38 am Post subject: |
|
|
cxvxbx,
No you CanNOT have a variable in the FETCH FIRST
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Thu Jun 14, 2007 7:52 am Post subject: |
|
|
Thanks Kolusu. |
|
Back to top |
|
 |
|
|