Monday, October 23, 2017

Finding nth row of a table

SELECT * FROM scott.EMP A WHERE &n = (SELECT COUNT(*) + 1 FROM scott.EMP B WHERE A.ROWID > B.ROWID)

No comments:

Post a Comment

currentAppUi built in variable in VBCS

$global.currentAppUi.id :- The id of the App UI $global.currentAppUi.urlId :-The id of the App UI as shown in the URL $global.currentAppUi.d...