Question

In: Computer Science

Which of these is/are true about stored procedures? A user defined stored procedure can be created...

  1. Which of these is/are true about stored procedures?

  1. A user defined stored procedure can be created in a user-defined database or a resource database

  2. Repeatable & abstractable logic can be included in user-defined stored procedures

  3. To call output variables in a stored procedure with output parameters, you need to declare a variables outside the procedure while invocation

  4. Temporary stored procedures are nothing but system stored procedures provided by SQL Server

Solutions

Expert Solution

1.A user defined stored procedure can be created in a user-defined database or a resource database this statement is false because A user defind stored can not be created in Resource database.

2.Repeatable & abstractable logic can be included in user-defined stored procedures this statement is true

3.To call output variables in a stored procedure with output parameters, you need to declare a variables outside the procedure while invocation this statement is true because To call a stored procedure with output parameters, you follow these steps:

  • First, declare variables to hold the values returned by the output parameters
  • Second, use these variables in the stored procedure call.

4.Temporary stored procedures are nothing but system stored procedures provided by SQL Server this statement is true because temporary stored procedure are provided by SQL Server itself.

hence except first statement remaininng three statements are true.


Related Solutions

Please provide a brief commentary about the following: Inventory can be defined as a stored or...
Please provide a brief commentary about the following: Inventory can be defined as a stored or warehoused resource used for current or future use and can be raw materials, or finished goods for sale. When a business loses control of inventory, it can have negative financial ramifications. Excessive and low inventory levels, or the wrong kind of inventory are just some examples of what can go wrong with inventory levels. As a top-level manager, formulate a system to control inventory...
Create a stored procedure that can be used to add a student to the school and...
Create a stored procedure that can be used to add a student to the school and a section of a course. 1. If the student already exists, then just add him to the section (do not update information like address). 2. The procedure will require the following arguments (see table definition for types): A. Salutation B. First Name C. Last Name D. Street Address (including City) E. ZIP Code F. Phone Number G. Employer Name (if any) H. Course Number...
Which of the following statements about the Hazardous Communication Standard is true? a)A substance is defined...
Which of the following statements about the Hazardous Communication Standard is true? a)A substance is defined as corrosive if its pH is less than 7. b)A chemical is defined as a carcinogen if it is so recognized by the IARC, NTP, or OSHA. c)Provisions of the standard do not apply to hazardous wastes as defined by RCRA. d)Cigarettes sold at the grocery store do not need an SDS.
Explain the types of information that can be stored in an Active Directory user record. What...
Explain the types of information that can be stored in an Active Directory user record. What are some of the additional tabs which are available in the Active Directory Users and Computers "Advanced Features" mode? What are some of the specific challenges and risks associated with account management in a large infrastructure? How can inadequate access controls or access management leave critical information vulnerable? What protections does encryption offer and how important is key management to keeping any encryption system...
Which of the following is NOT true regarding forms of vitamin A compounds? Retinol is stored...
Which of the following is NOT true regarding forms of vitamin A compounds? Retinol is stored in the liver. Retinal is used in processing visual signals. Retinoic acid is the hormone form. Carotenoids are vitamin A precursors found in plant foods. Only plant foods are preformed vitamin A sources.
Which of the following is true about fringe benefits? Which of the following is true about...
Which of the following is true about fringe benefits? Which of the following is true about fringe benefits? They represent additional compensation given for services performed They are only available for employees. The amount of the fringe benefit is never subject to income tax. They represent additional cash paid directly to employees.
What are the procedures in auditing cash? Which audit objective does each procedure relate to?
What are the procedures in auditing cash? Which audit objective does each procedure relate to?
[Procedures] Write a main program which sets the registers BX and CX and calls a procedure...
[Procedures] Write a main program which sets the registers BX and CX and calls a procedure Add-Two. The procedure Add-Two adds the values in registers BX and CX and returns the output (which is the sum) in AX. Single step through the program, displaying the value of the stack pointer so that you understand how the call and return are implemented.
Which of the following about maturity gap is true? It can be used for forecasting the...
Which of the following about maturity gap is true? It can be used for forecasting the change in market value of equity It takes into account the schedule of the cash flows of an asset ot a liability It focuses only on the changes in net interest income resulting from the changes in interest rates It takes into account the time value of money Suppose the bank has a negative maturity gap of 2 years. If interest rates increase by...
Heuristic evaluation can simply be defines as a methodical procedure to check user interface for usability...
Heuristic evaluation can simply be defines as a methodical procedure to check user interface for usability problems. Once a usability problem is detected in design, they are attended as an integral part of constant design Processes. As a heuristic evaluator, you have been contracted by a mobile phone manufacturing company to evaluate their 2019 version of a brand of their phone and compare it to their 2010 version of the same brand and present a 3 paged report to them...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT