Home / CSE MCQs / DBMS MCQs :: DBMS Data Types

CSE MCQs :: DBMS MCQs

  1. This set of Database Questions & Answers focuses on "SQL Data Types and Schemas
    Dates must be specified in the format
  2. A.
    mm/dd/yy
    B.
    yyyy/mm/dd
    C.
    dd/mm/yy
    D.
    yy/dd/mm

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. An ________ on an attribute of a relation is a data structure that allows the database system to find those tuples in the relation that have a specified value for that attribute efficiently, without scanning through all the tuples of the relation.
  4. A.
    Index
    B.
    Reference
    C.
    Assertion
    D.
    Timestamp

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following is used to store movie and image files ?
  6. A.
    Clob
    B.
    Blob

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The user defined data type can be created using
  8. A.
    Create datatype
    B.
    Create data
    C.
    Create definetype
    D.
    Create type

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Values of one type can be converted to another domain using which of the following ?
  10. A.
    Cast
    B.
    Drop type
    C.
    Alter type
    D.
    Convert

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following closely resembles Create view ?
  12. A.
    Create table . . .like
    B.
    Create table . . . as
    C.
    With data
    D.
    Create view as

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. In contemporary databases the top level of the hierarchy consists of ______, each of which can contain _____.
  14. A.
    Catalogs, schemas
    B.
    Schemas, catalogs
    C.
    Environment, schemas
    D.
    Schemas, Environment

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following statements creates a new table temp instructor that has the same schema as instructor.
  16. A.
    create table temp_instructor;
    B.
    Create table temp_instructor like instructor;
    C.
    Create Table as temp_instructor;
    D.
    Create table like temp_instructor;

    View Answer

    Workspace

    Discuss Discuss in Forum