6 years ago in JDBC

What MySQL property is used to create a surrogate key in MySQL?

A. UNIQUE
B. SEQUENCE
C. AUTO_INCREMENT
D. None of the above -- Surrogate keys are not implemented in MySQL.

[A] UNIQUE
[B] SEQUENCE
[C] AUTO_INCREMENT
[D] None of the above -- Surrogate keys are not implemented in MySQL.
Loading...
Next Question

Overall Stats

Attempted 631
Correct 151
Incorrect 173
Viewed 307

Answers

Guest
Guest
ihsane KHALLOUQ
ihsane KHALLOUQ - 1 week ago

ihsane KHALLOUQ from Casablanca, Morocco is saying AUTO_INCREMENT is correct answer

bikram behera
bikram behera - 1 month ago

bikram behera from Machhagan, India is saying None of the above -- Surrogate keys are not implemented in MySQL. is correct answer

radhika Gupta
radhika Gupta - 2 months ago

radhika Gupta from Lucknow, India is saying UNIQUE is correct answer

atish lohade
atish lohade - 2 months ago

atish lohade from Aurangabad, India is saying UNIQUE is correct answer

Didier MUNEZERO
Didier MUNEZERO - 2 months ago

Didier MUNEZERO from Kigali, Rwanda is saying AUTO_INCREMENT is correct answer

Related Questions

Which of the following allows non repeatable read in JDBC Connection?

  • [A] TRANSACTION_READ_UNCOMMITTED
  • [B] TRANSACTION_READ_COMMITTED
  • [C] TRANSACTION_SERIALIZABLE
  • [D] TRANSACTION_REPEATABLE_READ

What happens if you call deleteRow() on a ResultSet object?

  • [A] The row you are positioned on is deleted from the ResultSet, but not from the database.
  • [B] The row you are positioned on is deleted from the ResultSet and from the database
  • [C] The result depends on whether the property synchronizeWithDataSource is set to true or false
  • [D] You will get a compile error: the method does not exist because you can not delete rows from a ResultSet

Which of the following statements is false as far as different type of statements is concern in JDBC?

  • [A] Regular Statement
  • [B] Prepared Statement
  • [C] Callable Statement
  • [D] Interim Statement

How many JDBC driver types does Sun define?

  • [A] one
  • [B] two
  • [C] three
  • [D] four

Which packages contain the JDBC classes?

  • [A] java.jdbc and javax.jdbc
  • [B] java.jdbc and java.jdbc.sql
  • [C] java.sql and javax.sql
  • [D] java.rdb and javax.rdb