Question

Name problems that could arise or disadvantages of using VARCHAR2 as the data type for a column that holds dates. What are the advantages of using VARCHAR2 as the data type for a column that holds dat...

Name problems that could arise or disadvantages of using VARCHAR2 as the data type for a column that holds dates. What are the advantages of using VARCHAR2 as the data type for a column that holds dates?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If we use the varchar2 for storing the dates than it will difficult to perform the operations on the dates. we will get inappropriate results when comparing the dates

Example: Comparing the 2 dates for equality so if we use varchar comparison will happen based on strings not on the dates

Arithemetic operations like finding how many days back a order was placed so now its difficult to find with varchar2 these kind of issues will raise

Add a comment
Know the answer?
Add Answer to:
Name problems that could arise or disadvantages of using VARCHAR2 as the data type for a column that holds dates. What are the advantages of using VARCHAR2 as the data type for a column that holds dat...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT