Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> What is the order of query result by default ?

What is the order of query result by default ?

From: <krislioe_at_gmail.com>
Date: 6 Sep 2006 09:24:27 -0700
Message-ID: <1157559867.458896.14820@d34g2000cwd.googlegroups.com>


Hi All,

If I do : select * from myTable, is it guaranteed that the query resultset is always the order when the data is inserted into the table ?
For example :

create table myTable(col1 varchar(2) primary key)

Insert into mtTable values('x4')
Insert into mtTable values('x3')
Insert into mtTable values('x1')
Insert into mtTable values('x2')

select * from myTable // without any where condition.

then the query result is ALWAYS :
x4
x3
x1
x2

Thank you ,
xtanto Received on Wed Sep 06 2006 - 11:24:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US