GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Tech FAQs
>
Oracle
Go To First
|
Previous Question
|
Next Question
Oracle
| Question 159 of 244
Print
Oracle Dual
Select round(13.19,1) from dual will return 13.2
Select round(13.19,-1) from dual ....what will be the output.....IN ORACLE
Total Answers and Comments:
3
Last Update: May 13, 2008 Asked by:
Sant_parkash
Sponsored Links
Best Rated Answer
—
No best answer available. Please pick the good answer available or
submit
your answer.
November 05, 2007 22:54:12
#1
rajakumar_na
RE: Oracle Dual
Dual is a dummy table having one column dummy and one row with a value of X. Using this table we can get results from functions and calculations.
Is this answer useful?
Yes
|
No
November 20, 2007 20:38:52
#2
xuqinglei2000
Member Since: June 2007 Contribution: 3
RE: Oracle Dual
SELECT ROUND(13.19 -1) FROM DUAL
RETURN RESULT IS 10;
Is this answer useful?
Yes
|
No
May 13, 2008 05:07:39
#3
Imran_Javed
Member Since: May 2008 Contribution: 23
RE: Oracle Dual
SELECT ROUND(13.19 -1) FROM DUAL;
RETURN result IS 10;
WHEN you pass second argument AS "-1" rounding takes place BEFORE the DECIMAL point.
That IS the reason IN the above example it rounds 13 TO 10. IF you USE 15 OR more than 15 it will ROUND TO 20
Is this answer useful?
Yes
|
No
Go To Top
Sponsored Links
Related Categories
—
Abinitio FAQs
AJAX FAQs
Concepts FAQs
Data Warehousing FAQs
Database FAQ
DataStage FAQ
Informatica FAQ
LoadRunner FAQ
Lotus Notes FAQ
Mainframe FAQs
Networking FAQ
OOPS FAQ
Operating System FAQ
Oracle FAQs
Oracle Apps FAQs
PeopleSoft FAQs
PL/SQL FAQ
Programming Faqs
QTP FAQ
Rational Robot FAQ
RDBMS FAQs
SAP R/3 FAQs
Scripting FAQs
Siebel FAQ
SilkTest FAQs
Oracle SQL FAQ
SQL Server FAQs
Test Director FAQ
Testing FAQs
Testing Definitions
Websphere FAQ
WinRunner FAQ
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved