Write the difference between case version and decode version.

Answers were Sorted based on User's Feedback



Write the difference between case version and decode version...

Answer / nithya

Decode
1.It’s a function
2.can compare only discrete values
3.pl/sql standards
4.cannot process null

Case
1.It's an Expression
2.can handle range values
3.ANSI Standards
4.Processing time is faster when compared to Decode
5.can process null

Is This Answer Correct ?    3 Yes 0 No

Write the difference between case version and decode version...

Answer / dev

Decode is widely used

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB Development Interview Questions

What is the maximum length of an extended property?

0 Answers  


How is data stored in dbms?

0 Answers  


I HAVE A PI ON COL A THE NEXT DAY I WANT CHANGE THE PI ON COL B? PLS SEND ME THE ANS

0 Answers   IBM,


What is bit datatype and what's the information that can be stored inside a bit column?

2 Answers  


In which database can extended stored procedures be added?

0 Answers  






Explain the role of indexing in databases?

0 Answers  


What is a self join? Explain it with an example?

16 Answers   TCS,


What is a database development?

0 Answers  


Explain about relational database management systems?

0 Answers  


Explain the process of the user request and data generating?

0 Answers  


1. Using the XML Document below, with the URI “recipe.xml” define the following queries in XQuery: a.) Give the names of all breakfast in the menu. b.) Select breakfasts that have price lower than $7.00? <?xml version="1.0"?> <breakfast_menu> <food> <name>Belgian Waffles</name> <price>$5.95</price> <description> two of our famous Belgian Waffles with plenty of real maple syrup </description> <calories>650</calories> </food> <food> <name>Strawberry Belgian Waffles</name> <price>$7.95</price> <description> light Belgian waffles covered with strawberries and whipped cream </description> <calories>900</calories> </food> <food> <name>Berry-Berry Belgian Waffles</name> <price>$8.95</price> <description> light Belgian waffles covered with an assortment of fresh berries and whipped cream </description> <calories>900</calories> </food> <food> <name>French Toast</name> <price>$4.50</price> <description> thick slices made from our homemade sourdough bread </description> <calories>600</calories> </food> <food> <name>Homestyle Breakfast</name> <price>$6.95</price> <description> two eggs, bacon or sausage, toast, and our ever-popular hash browns </description> <calories>950</calories> </food> </breakfast_menu>

0 Answers  


You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?

0 Answers  


Categories