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

Can we join tables without foreign key?

527


Is left join inner or outer?

591


What is server name sql?

594


Can we create foreign key without primary key?

538


Why plvtab is considered as the easiest way to access the pl/sql table?

626






What is a unique key and primary key and foreign key?

571


What is a common use of group by in sql?

594


In what condition is it good to disable a trigger?

560


How do you explain an index?

792


What are the types of functions in sql?

569


Explain the components of sql?

596


What is the best partition size for windows 10?

489


Why do we use set serveroutput on?

520


What are string functions in sql?

678


Can we use insert statement in function?

519