Multiple Choice Questions for Functions in SQL

  • 1 if you want to delete a tuple from parent relation and all its child tuples in other relations, which option will you choose on DELETE command?
    1. NO ACTION
    2. CASCADE
    3. SET DEFAULT
    4. NO CHECK

  • 2 If the participation of the child relation in the relationship is mandatory, then nulls are
    1. Allowed
    2. not allowed
    3. Both a & b
    4. None

  • 3 In SQL function we specify which keyword is used to specify the returning data type?
    1. Return
    2. Returns
    3. Output
    4. Select

  • 4 Table Valued Functions can be written as
    1. Inline Table
    2. Multi-statement Table
    3. Both a & b
    4. None

  • 5 The SQL function which returns a single value is called
    1. Scalar Function
    2. Table Valued Function
    3. Both a & b
    4. None

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert