Data Types


  1. The statement that suspends the replication related activity of the slave server is _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The ‘STOP SLAVE’ and ‘START SLAVE’ statements suspend and resume the replication-related activity of a slave server. These statements are useful for telling the slave to be quiescent.


  1. How many of the following do not support ‘BIT’ data type?
    MyISAM, MEMORY, NDB











  1. View Hint View Answer Discuss in Forum

    Na

    Correct Option: D

    The BIT data type stores the bit values. It is supported for the MyISAM, MEMORY, InnoDB and NDB tables. MySQL supports all the standard SQL numeric data types, both the exact and approximate.



  1. Which of these is not an exact numeric type?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    MySQL supports all the standard SQL numeric data types. These are the exact numeric data types like INTEGER, SMALLINT, DECIMAL and NUMERIC and the approximate numeric data types like FLOAT, REAL and DOUBLE PRECISION.


  1. IP numbers can be represented as _________________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The IP addresses like 192.168.0.1 can be either stored as a string or a group of integers. Both of these forms would have their own benefits. For example, storing as a string would facilitate pattern matching.



  1. Which of these can be used to generate hash values?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The hash values can be generated by using the function: MD5(). SHA1() or CRC32() can also be used to do the same. Custom hash values can also be created using logic within the application.