GoConqr has a new look! Let us know what you think.

Flashcards

SQL SPROC Exam

Cat MUrray English 30 cards

SQL SPROC Exam

Cards in this deck (30)

  1. 1True/False: Stored Procedure are a Script or Batch files that contain input parms, output and return values.True
  2. 2SPROC stands for what?Stored Procedures
  3. 3True/False: Stored procedures are saved to DB as DB objectsTrue
  4. 4True/False: SPROCS are pre compiled and offer better performance.True
  5. 5True/False: We can not modularize code into stored procedures for better organization and more efficient design.FALSE
  6. 6True/False: A local variable that can store a single value is called a string valueTRUE
  7. 7PARM stands for:Parameters
  8. 8True/False: A stored procedure needs parmsFALSE
  9. 9True/False: Parameters are declared after the procedure name is declared and before the AS keyword.True
  10. 10True/False: Parms are input by defaultTrue
  11. 11True/False: Output parameters do not allow the stored procedure to pass a data value back to the caller.False
  12. 12True/False: Output parameters and return codes must return their values into a variable,Parameters and return codes can exchange data values with either Transact-SQL variables or application variables.True
  13. 13True/False: If you specify the OUTPUT keyword for a parameter in the procedure definition, the stored procedure can return the current value of the parameter to the calling program when the stored procedure exits.True
  14. 14True/False: Input values can also be specified for OUTPUT parameters when the stored procedure is executed.True
  15. 15True/False: Stored procedures, user-defined functions, and triggers are all executable database objects that contain SQL statements.TRUE
  16. 16True/False: EXEC is not used to run a call or procedureFalse
  17. 17from within itself or wihtin another stored procedureTrue
  18. 18—Script to create a sprocScript to create a sproc
  19. 19—script to create sprocscript to create sproc
  20. 20when is the prefix sp_ used?when declring a stored procedure
  21. 21CREATE PROCstatement to used to create a stored procedure in the current db
  22. 22what statement must be the first and only statement in a batchCREATE SPROC
  23. 23EXEC sp_whateverUsed to run the sproc
  24. 24True/False: @ParamerterName is the name of the parameter that is passed to the stored procedureTrue
  25. 25True/False: parameter name is followed by a datatypeTrue
  26. 26—example of parms being passed through a SPOCexample of parms being passed through a SPOC
  27. 27True/False: Any change made to a parameter value inside the SPROC does not change the external value assigned to the parameter.TrUE
  28. 28—Optional parmsOptional parms
  29. 29—Testing parms in query windowTesting parms in query window
  30. 30TRUE/FALSE Stored procedures are run on the server itself, taking advantage of a basic client/server conceptTRUE

Information

Description
Flashcards on SQL SPROC Exam, created by Cat MUrray on 31/03/2018.
Created by
Cat MUrray
Views
8
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?