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
what happens if you no create privilege in a database? : Sql dba
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
Can delete statement be rollbacked?
how can we submit a form without a submit button? : Sql dba
Is a foreign key always unique?
What is sql integrity?
What is the use of %rowtype?
how to convert character strings to dates? : Sql dba
What is the difference between truncate and drop statements?
What is cursor in pl sql?
What are the 3 modes of parameter?
Why do we use subquery?
How can you select unique records from a table?
What are string functions in sql?
What is the life of an sql statement?