-
Hi everybody,
i am trying to get the result using the rownum...
i tried the follo
SQL> desc tempinsert
Name Null? Type
----------------------------------------- -------- ----------------------------
MAILMESSAGE VARCHAR2(2000)
SQL> select * from tempinsert;
MAILMESSAGE
--------------------------------------------------------------------------------
1,I101,,,
2,i102,,,
SQL> select rownum,mailmessage from tempinsert;
ROWNUM
----------
MAILMESSAGE
--------------------------------------------------------------------------------
1
1,I101,,,
2
2,i102,,,
SQL> select rowid,mailmessage from tempinsert;
ROWID
------------------
MAILMESSAGE
--------------------------------------------------------------------------------
AAAGiFAAFAAAAxOAAA
1,I101,,,
AAAGiFAAFAAAAxOAAB
2,i102,,,
SQL> select mailmessage from tempinsert where rownum = 1;
MAILMESSAGE
--------------------------------------------------------------------------------
1,I101,,,
SQL> select mailmessage from tempinsert where rownum = 2;
no rows selected
my prob is why am i not getting the result from the last query....
thanks in advance
pras
-
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|