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 use update in sql function?

569


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

1998


What is difference between stored procedures and application procedures?

560


How do I save a sql query?

537


What are the types of operators available in sql?

542






How to rename a column in the output of sql query?

526


Does postgresql run on the cloud?

580


What is an exception in PL/SQL? What are the two types of exceptions?

618


What is linq to sql?

543


what are the t string functions available in tsql? : Transact sql

533


what is offset-fetch filter in tsql? : Transact sql

528


What is trigger point?

527


What is sqlca in db2?

523


How do I find duplicates in two columns?

544


What is the difference between union and union all command?

540