what is the difference between implicit conversions and
explicit conversions?

Answer Posted / johncenzer

In an explicit conversion you tell the database how to do
the converion
ex: Select *
from some_table t...
WHERE t.invoice_date='&&pDate'TO_DATE('&&pDate')

or with format
TO_DATE('&&pDate','DD-MON-YYYY')

An implicit conversion is done by the database itself

ex. Select *
from some_table t...
WHERE t.invoice_date='&&pDate'
Oracle will try to convert the pDate into a date.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The select into statement is most often used to create backup copies of tables or for archiving records?

767


Do foreign keys improve performance?

745


Which column of the user triggers data dictionary view displays the database event that will fire the trigger?

770


How to display the current date in sql?

773


How long will it take to learn pl sql?

686






What is pl sql package?

792


What are commit, rollback, and savepoint?

738


How to handle bulk data?

1045


What is sql clause?

736


What are the set operators in sql?

771


What is the purpose of a secondary key?

679


Is it possible to link two groups inside a cross products after the cross products group has been created?

767


What is a unique constraint?

805


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

758


Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?

932