Question

In: Computer Science

What are the Advantages and Disadvantages of Single Row Functions.

What are the Advantages and Disadvantages of Single Row Functions.

Solutions

Expert Solution

Single Row Functions:

Single Row function is a type of function which we use in DBMS. Generally these type of functions are used for data manipulation. Single Row Functions work on each row and returns records by query. To return records we need to provide arguments. These arguments may be variable, attribute or expression.

Sungle Row Functions Categorized as :

  • Character functions: These functions accepts input as Character and returns both character and integer•
  • Number functions: These functions accepts Integer as input and return numeric values •
  • Date functions: Works on date datatype
  • Conversion functions: These functions convers one type of datatype to another.


Advantages:

  • To retrieve data of each record(row).
  • Returns atomic result.
  • These functions can be nested
  • We can retrive different type of datatypes.
  • To manipulate data items.
  • We can provide more than one argument.

Disadvantages:

  • The only disadvantage is Denormalization of Database

Denormalization: In DBMS,Denormalization is a technique which is used to optimize the data. In this technique, we add redundant data to the tables. Denormalization avoids joins in a relational tables. Single Row Functions retrieves single record information from Denormalized table.


Related Solutions

what are the advantages and disadvantages of describing a single individual as compared to describing a...
what are the advantages and disadvantages of describing a single individual as compared to describing a group? which method gives you more information to be able to generalize to a broader population?
What are the advantages and disadvantages of brick-and-mortar stores? What are the advantages and disadvantages of...
What are the advantages and disadvantages of brick-and-mortar stores? What are the advantages and disadvantages of online stores? Which are there more of and how will this trend continue? Please answer in complete sentences with an overall total of 150 words or more.
What are the advantages and disadvantages of a single-payer system? Why are any attempts to reform...
What are the advantages and disadvantages of a single-payer system? Why are any attempts to reform the U.S. health care system not based on the single-payer approach? Must be 250 words with sources.
What are the major advantages and disadvantages of the single-step form of income statement compared to...
What are the major advantages and disadvantages of the single-step form of income statement compared to the multiple-step income statement? Can a business incur a gross profit but incur a loss?
Explain some of the advantages and disadvantages of the single- and dual- rate methods. Explain advantages...
Explain some of the advantages and disadvantages of the single- and dual- rate methods. Explain advantages and disadvantages og the direct, the step-down and the reciprocal methods.
What are advantages and disadvantages of Preferred Stock? Do they outweigh the advantages and disadvantages of...
What are advantages and disadvantages of Preferred Stock? Do they outweigh the advantages and disadvantages of Common Stock?
What are the advantages and disadvantages of globalization? The advantages and disadvantages of globalization can change...
What are the advantages and disadvantages of globalization? The advantages and disadvantages of globalization can change depending on whether or not they are being evaluated from a social or economic perspective. From an economic standpoint, globalization has provided ample opportunity for a number of American businesses to grow exponentially. Globalization has also had a large impact on how businesses are structured by altering supply chains which has arguably led to greater efficiency as well as lowering the cost of manufacturing...
Advantages and disadvantages of the European Union’s adoption of a single currency, the Euro
Advantages and disadvantages of the European Union’s adoption of a single currency, the Euro
What are the advantages and disadvantages of IRR?
What are the advantages and disadvantages of IRR?
What are the advantages and disadvantages of the NMOS?
What are the advantages and disadvantages of the NMOS?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT