A

Admin • 833K Points
Coach

Q. Which of the following is the correct syntax for using the TRUNCATE statement?

  • (A) TUNCATE TABLE-NAME;
  • (B) TRUNCATE TABLE-NAME DATABASE-NAME;
  • (C) TRUNCATE TABLE TABLE-NAME;
  • (D) TRUNCATE DATABASE-NAME TABLE-NAME;
  • Correct Answer - Option(C)
  • Views: 29
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

The correct syntax to use truncate statement is,

TRUNCATE TABLE TABLE-NAME;

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.