Home
Current Affairs January 2024

What is the correct answer?

4

A database does not need to be created in ____. A direct table creation option is provided in ____.

A. MySQL

B. Oracle

C. Both A and B

D. None of the above

Correct Answer :

C. Both A and B


A database does not need to be created in Oracle. A direct table creation option is provided in Oracle.

Related Questions

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with a

B. Finds any values that start with a%

C. Finds any values that contains only two characters starting with a

D. All of the above

What is the correct answer?

4

Which syntax is correct for RENAME DATABASE in SQL?

A. RENAME old_database_name TO new_database_name;

B. RENAME DATABASE old_database_name TO new_database_name;

C. ALTER old_database_name MODIFY NAME = new_database_name;

D. ALTER DATABASE old_database_name MODIFY NAME = new_database_name;

What is the correct answer?

4

What does the INSERT INTO Statement do?

A. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

B. A new database will be created through this SQL statement.

C. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

D. By executing this SQL statement, all records in the SQL database will be deleted.

What is the correct answer?

4

Select the correct method of Web SQL?

A. Execute SQL

B. Transaction

C. Open Database

D. All of the above

What is the correct answer?

4

In order to join N tables, minimum number of join statements required is

A. N

B. N-1

C. N-2

D. N+1

What is the correct answer?

4

Select the correct statement about SQL Scripts?

A. At the run time, the SQL*Plus commands are ignored.

B. SQL Scripts and SQL Commands in the SQL Scripts have no interaction.

C. Through the SQL Script editor, SQL Commands are cut and pasted.

D. All of the above

What is the correct answer?

4

What is TRUE about NOT NULL Constraint?

A. In columns that are subject to the NOT NULL constraint, duplicate values are not allowed.

B. When a table's column is declared as NOT NULL, no record in the table can have an empty value for that column.

C. By applying the NOT NULL constraint, we will always ensure that the column contains a unique value and won't allow nulls.

D. The value will first be checked for certain conditions before inserting it into the column when a NOT NULL constraint applies to a column in the table.

What is the correct answer?

4

Unique Index is similar to

A. Primary Key

B. Foreign Key

C. Composite Key

D. Alternate Key

What is the correct answer?

4

Savepoint command is used with _____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

What is the correct answer?

4

Rules that are needed to be followed in SET Operators in SQL are

A. All columns must be identical in number and order.

B. There must be compatibility between data types.

C. Both A and B

D. None of the above

What is the correct answer?

4

Which of the following statement(s) is/are TRUE about DCL?

A. The DCL commands in SQL allow us to control which users have access to the data stored in SQL tables.

B. There will be certain privileges that each user has; consequently, the data can be accessed by them.

C. The DCL commands in SQL allow us to grant privileges to a user on the SQL database and its table(s), or revoke privileges that have already been granted.

D. All of the above

What is the correct answer?

4

Which of the following is TRUE about SQL Auto Increment?

A. It increments the unique number automatically.

B. It decrements the unique number automatically.

C. It keeps the unique number constant

D. None of the above

What is the correct answer?

4

Which of the following is not MySQL Numeric Data Type?

A. BIT(Size)

B. CHAR(Size)

C. INTEGER(Size)

D. INT(Size)

What is the correct answer?

4

Which statement is true about the No-SQL?

A. No-SQL follows ACID Model.

B. No-SQL does require object-relational mapping.

C. Dynamic schemas for unstructured data are used in No-SQL databases.

D. No-SQL databases are not preferable for storage of hierarchal data.

What is the correct answer?

4

Which of the following keyword is used to delete the Join?

A. DELETE

B. ON

C. WHERE

D. All of the above

What is the correct answer?

4

What is the difference between nchar and nvarchar?

A. nchar is fixed and nvarchar is variable.

B. nchar is variable and nvarchar is fixed.

C. nchar has the maximum size of 4000 characters and nvarchar has the maximum size of 8000 characters.

D. nchar has the maximum size of 800 characters and nvarchar has the maximum size of 4000 characters.

What is the correct answer?

4

To connect strings, which function is used

A. CONNECT

B. ADD

C. COMBINE

D. CONCAT

What is the correct answer?

4

What is the difference between nvarchar and ntext?

A. nvarchar is fixed and ntext is variable.

B. nvarchar is variable and ntext is fixed.

C. nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 2GB of the text data.

D. nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 1GB of the text data.

What is the correct answer?

4

A SELECT statement is intersected to use it as a join, but it only returns the records that are ________ between both statements.

A. Distinct

B. Common

C. Shared

D. Both B and C

What is the correct answer?

4

Which of the following is NOT the SQL Arithmetic Operator?

A. Addition

B. Subtraction

C. Unary

D. Modulus

What is the correct answer?

4

What does UCASE() function do?

A. Converts database field to uppercase

B. Converts database field to lowercase

C. Returns the length of the text field

D. Returns the current date and time

What is the correct answer?

4

TRUNCATE TABLE requires:

A. WHERE clause

B. HAVING clause

C. Both a and b

D. None of the above

What is the correct answer?

4

In order to execute a query in Web SQL, which function is used?

A. open()

B. translate()

C. transaction()

D. execute()

What is the correct answer?

4

SQL has the advantage of?

A. SQL require a lot of programming.

B. SQL provides High-Speed Query Processing.

C. SQL follows the standard languages of ANSI and ISO.

D. SQL is easily portable.

What is the correct answer?

4

In LIKE clause, to represent a zero, a character, or a number of characters ___ is used.

A. /

B. _

C. *

D. %

What is the correct answer?

4

In how many categories data types has been classified?

A. 2

B. 3

C. 4

D. 5

What is the correct answer?

4

SQL Operator can be,

A. Unary

B. Binary

C. Both A and B

D. None of the above

What is the correct answer?

4

To delete table definition and all data from the table, which statement is used?

A. DELETE

B. DROP

C. ALTER

D. None of the above

What is the correct answer?

4

Which of the following is supported in Comprehensive Data SubLanguage Rule in the 12 Codd's Rules?

A. Data Definition

B. View Definition

C. Data Manipulation

D. All of the above

What is the correct answer?

4

With export, you can ____ SQL Scripts from the SQL repositories in your workspace.

A. Export

B. Import

C. Save

D. Exchange