meaning of

create table t nologging as select rownum t1,rownum+1 t2 from dual connect by level<=10000;

I want to know the meaning

nologging

rownum t1
rownum+1  t2  

Please tell  me the meaning/
jcob_lAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MajorBigDealCommented:
Nologging - prevents the ability to recover the work in the event of a problem.  It should not be used in a production database.

rownum t1 means that the field t1 will contain the row number of the selected record

rownum+1 t2 means that the field t2 will contain the row number plus 1.
0
Naveen KumarProduction Manager / Application Support ManagerCommented:
all that it is being done is to setup a test/dummy table with 2 columns (10000 records ) in it by using that select .. from dual connect by level <= 10000
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PortletPaulfreelancerCommented:
"The NOLOGGING clause causes minimal redo information to be generated during the table creation."
see: Consider Using NOLOGGING When Creating Tables

"For each row returned by a query, the ROWNUM pseudocolumn returns a number indicating the order in which Oracle selects the row from a table"
see: ROWNUM Pseudocolumn

rownum t1
the "t1" is an alias so that the returned column can be referenced as "t1"

"t2" is also an alias, for the calculation rownum+1

overall, this is a recursive query producing 10,000 rows containing 2 integers
t1,t2
1,2
2,3
3,4
...
9999, 10000


No points pl.
0
jcob_lAuthor Commented:
yes fine
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.