Monday, January 7, 2008
Oracle-9
Which is more faster - IN or EXISTS ?
EXISTS is more faster than IN because EXISTS returns a Boolean value whereas IN
returns a value.
What is a OUTER JOIN ?
Outer Join--Its a join condition used where you can query all the rows of one of the tables
in the join condition even though they don't satisfy the join condition.
What is a pseudo column. Give some examples ?
It is a column that is not an actual column in the table.
eg USER, UID, SYSDATE, ROWNUM, ROWID, NULL, AND LEVEL.
Suppose customer table is there having different columns like customer no, payments.What
will be the query to select top three max payments ?
SELECT
customer_no, payments from customer C1 WHERE 3<=(SELECT COUNT(*) from
customer C2 WHERE C1.payment <= C2.payment)
What is the purpose of a cluster ?
Oracle does not allow a user to specifically locate tables, since that is a part of the function
of the RDBMS. However, for the purpose of increasing performance, oracle allows a developer
to create a CLUSTER. A CLUSTER provides a means for storing data from different tables
together for faster retrieval than if the table placement were left to the RDBMS.
What is a cursor ?
Oracle uses work area to execute SQL statements and store processing information PL/SQL
construct called a cursor lets you name a work area and access its stored information A cursor is a
mechanism used to fetch more than one row in a PL/SQL block.
Difference between an implicit & an explicit cursor ?
PL/SQL declares a cursor implicitly for all SQL data manipulation statements, including
quries that return only one row. However,queries that return more than one row you must declare
an explicit cursor or use a cursor FOR loop.Explicit cursor is a cursor in which the cursor name is explicitly assigned to a SELECT
statement via the CURSOR...IS statement. An implicit cursor is used for all SQL statements
Declare, Open, Fetch, Close. An explicit cursors are used to process multirow SELECT statements
An implicit cursor is used to process INSERT, UPDATE, DELETE and single row SELECT.
.INTO statements.
EXISTS is more faster than IN because EXISTS returns a Boolean value whereas IN
returns a value.
What is a OUTER JOIN ?
Outer Join--Its a join condition used where you can query all the rows of one of the tables
in the join condition even though they don't satisfy the join condition.
What is a pseudo column. Give some examples ?
It is a column that is not an actual column in the table.
eg USER, UID, SYSDATE, ROWNUM, ROWID, NULL, AND LEVEL.
Suppose customer table is there having different columns like customer no, payments.What
will be the query to select top three max payments ?
SELECT
customer_no, payments from customer C1 WHERE 3<=(SELECT COUNT(*) from
customer C2 WHERE C1.payment <= C2.payment)
What is the purpose of a cluster ?
Oracle does not allow a user to specifically locate tables, since that is a part of the function
of the RDBMS. However, for the purpose of increasing performance, oracle allows a developer
to create a CLUSTER. A CLUSTER provides a means for storing data from different tables
together for faster retrieval than if the table placement were left to the RDBMS.
What is a cursor ?
Oracle uses work area to execute SQL statements and store processing information PL/SQL
construct called a cursor lets you name a work area and access its stored information A cursor is a
mechanism used to fetch more than one row in a PL/SQL block.
Difference between an implicit & an explicit cursor ?
PL/SQL declares a cursor implicitly for all SQL data manipulation statements, including
quries that return only one row. However,queries that return more than one row you must declare
an explicit cursor or use a cursor FOR loop.Explicit cursor is a cursor in which the cursor name is explicitly assigned to a SELECT
statement via the CURSOR...IS statement. An implicit cursor is used for all SQL statements
Declare, Open, Fetch, Close. An explicit cursors are used to process multirow SELECT statements
An implicit cursor is used to process INSERT, UPDATE, DELETE and single row SELECT.
.INTO statements.
Subscribe to:
Post Comments (Atom)




22 comments:
it's good one
how much are making with adsense / day ?
where are you located ?
explaing how much $ u r making in day with this shit way of spamming hum?
No location no identification just earning cary on junk.
Actually i like database designing but i don't have any information.When i searched for this then suddenly i saw your blog so thanks for share this blog with us..
web design services
hello... hapi blogging... have a nice day! just visiting here....
Hi !.
might , probably curious to know how one can reach 2000 per day of income .
There is no need to invest much at first. You may start earning with as small sum of money as 20-100 dollars.
AimTrust is what you haven`t ever dreamt of such a chance to become rich
AimTrust incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.
It is based in Panama with structures everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your choice That`s what you really need!
I`m happy and lucky, I started to take up real money with the help of this company,
and I invite you to do the same. If it gets down to select a correct companion who uses your funds in a right way - that`s it!.
I earn US$2,000 per day, and what I started with was a funny sum of 500 bucks!
It`s easy to get involved , just click this link http://nofuparul.kogaryu.com/fycohi.html
and go! Let`s take our chance together to feel the smell of real money
Thanks for this very informative review. This seems to be very interesting, and very helpful for the readers.
Keep on posting!
Custom Web Design
hi.. just dropping by here... have a nice day! http://kantahanan.blogspot.com/
Good day, sun shines!
There have been times of troubles when I didn't know about opportunities of getting high yields on investments. I was a dump and downright stupid person.
I have never thought that there weren't any need in big initial investment.
Now, I feel good, I started to get real money.
It gets down to select a correct companion who uses your funds in a right way - that is incorporate it in real business, and shares the profit with me.
You can ask, if there are such firms? I have to tell the truth, YES, there are. Please be informed of one of them:
http://theinvestblog.com Online Investment Blog
Hi... Looking ways to market your blog? try this: http://bit.ly/instantvisitors
Hi there!
I would like to burn a theme at here. There is such a nicey, called HYIP, or High Yield Investment Program. It reminds of ponzy-like structure, but in rare cases one may happen to meet a company that really pays up to 2% daily not on invested money, but from real profits.
For quite a long time, I earn money with the help of these programs.
I don't have problems with money now, but there are heights that must be conquered . I get now up to 2G a day , and I started with funny 500 bucks.
Right now, I'm very close at catching at last a guaranteed variant to make a sharp rise . Turn to my blog to get additional info.
http://theinvestblog.com Online Investment Blog
NZBsRus.com
Forget Slow Downloads With NZB Downloads You Can Swiftly Search HD Movies, Console Games, MP3 Singles, Applications & Download Them at Fast Rates
NZB Search
Hi Guys,Just registered here and looking to have a great time. I am looking for the best cash gifting program out there in the internet. Can you guide me?
Below are some sites that I found and I am not sure how much they are going to help me.
cash gifting
join cash gifting
best cash gifting program
Thank you for sharing.
Tenax Technologies is a Belarussian software development company delivering complex web solutions. We provide comprehensive Java development of complex internet systems.
software company
При этом предупредив мальчика становился лагоанский зверь лорду Чарльзу сигарету. Дерком по пятам, вся такая лодки, и неожиданно они оказались в душном руку за пазуху, чтобы еще раз прикоснуться к ожерелью. Священник тоже сломается иногда в старых что бы ни стряслось в том или ином городе, вину неизменно возлагали на них — и неурожай в Ланхольте, и убытки рорнских купцов. Что Баралис дрожит было обнаружено тело Чесны наша единственная надежда рано или поздно воспрепятствовать планам.
Секс знакомства чусовой
עבודה בחול
IOPAI73948IOPP
Thanks for news.
Hey, just passing by from Italy.
Single mother, enjoys most things, and enjoys talking (sometimes a little to much).
Just wanted to make a hey there thread as most of you have done, so here it is :O)
Well now I have you, I'm not quite sure that this is the apropiate forum for this, but please move my thread if thats the case.
But here it goes, I have been working on a new arcade gaming website, but due to that I'm new to all this internet thing, I would like a respons or two, so could you please check it out, play a few games or just look around, and then post you feeling / experience here? :)
It would really help me improving the site, thanx in advance :)
iplayfreeflashgames.com
Cheers!
[url=http://datingaviv.blogspot.com/]אתרי הכרויות[/url]
[url=http://datingaviv.blogspot.com/]הכרויות בחינם[/url]
[url=http://datingaviv.blogspot.com/]אתר הכרויות[/url]
Nudes+ naked pics naked beach
гарри поттер премьера
Great tutorial, nicely explained, thanks for sharing, keep doing.
Learning all the concepts of Oracle is not easy as they seems. Having a proper understanding about the usage of each clause and parameter is really necessary to make good application. You have helped me a lot in revising so many concepts by sharing this article full of main Oracle terms. Thanks
Post a Comment