DBMS-MySQL Question and Answer
DBMS-MySQL Question and Answer
23. mysql_pconnect()
is used to make a persistent connection to the database which means a SQL link that do not close when the execution of your script ends.
is used to make a persistent connection to the database which means a SQL link that do not close when the execution of your script ends.
- True
- False
24. What SQL clause is used to restrict the rows returned by a query?
- AND
- WHERE
- HAVING
- FROM
25. Which of the following is used to delete an entire MYSQL database?
- mysql_drop_database
- mysql_drop_entiredb
- mysql_drop_db
- mysql_drop_dbase
27. Primary Key does allow the Null Values. where as in
Unique key doesn't accept the Null values.
Question:
True or False ?
Unique key doesn't accept the Null values.
Question:
True or False ?
- False
- True
29. Which of the following commands should be used to create a database named “student”?
- CREATE ?I student
- CREATE DATABASE student
- DATABASE /student
- DATABSE student