Home
Current Affairs January 2024

What is the correct answer?

4

Local Temp Variable is used with which sign?

A. ?

B. @

C. #

D. &

Correct Answer :

C. #


Local Temp Variable is used with # sign.

Related Questions

What is the correct answer?

4

What does the COMMIT Statement do?

A. The data specified in this table or view is reported in this SQL statement.

B. Changes made in the SQL database transaction are permanently saved using this SQL statement.

C. Specify the columns of the table in this SQL statement to return distinct values.

D. By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.

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

In order to manage or store the data in the database, WEB SQL Database is used which is a

A. Web site

B. Web page

C. Web browser

D. None of the above

What is the correct answer?

4

What is the full form of BLOB?

A. Binary Long Objects

B. Binary Least Objects

C. Binary Large Objects

D. Binary Large Orientation

What is the correct answer?

4

SQL BETWEEN operators include

A. Starting Value

B. In Between Value

C. Ending Value

D. All of the above

What is the correct answer?

4

What does the following statement do?

A. Finds any values that end with a

B. Finds any values whose second character is a

C. Find any values that contains only two characters ending with a

D. Mysql > Savepoint ini;

What is the correct answer?

4

What does the TRUNCATE TABLE Statement do?

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

B. 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.

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

D. The data specified in this table or view is reported in this SQL statement.

What is the correct answer?

4

Select the statement which is TRUE?

A. In a table, there could be any number of rows and any number of columns.

B. In a table, there could be any number of rows and specified number of columns.

C. In a table, there could be any number of columns and specified number of rows.

D. In a table, there could be specified number of rows and specified number of columns.

What is the correct answer?

4

From the set of results, in order to remove the duplicate columns, ____ Clause is used.

A. DUPLICATE

B. DISTINCT

C. REMOVE

D. DROP

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

Types of SQL Commands are

A. DDL

B. DML

C. DCL

D. All of the above

What is the correct answer?

4

LIKE clause can be used with

A. % operator

B. _ operator

C. NOT operator

D. All of the above

What is the correct answer?

4

Select the correct constraint in SQL?

A. NOT NULL

B. CHECK

C. DEFAULT

D. All of the above

What is the correct answer?

4

In the database table, data types describe the kind of ___ that it can contain.

A. Table

B. Data

C. Number

D. None of the above

What is the correct answer?

4

SQL BETWEEN is a ______ operator.

A. Relational

B. Logical

C. Arithmetic

D. Assignment

What is the correct answer?

4

Which of the following statement is correct?

A. Comparison Operator has higher precedence than Conjuction Operator.

B. Identity Operator has higher precedence than Multiplication Operator.

C. Both A and B

D. None of the above

What is the correct answer?

4

In order to start the transaction, the command used is

A. Mysql > START COMMIT;

B. Mysql > START TRANSACTION;

C. Mysql > START ROLLBACK;

D. None of the above

What is the correct answer?

4

The character(s) which are used independently or in conjunction with SQL Like Operator:

A. %

B. _

C. Both A. and B.

D. None of the above

What is the correct answer?

4

A Primary Key is basically a

A. Row

B. Column

C. Table

D. Database

What is the correct answer?

4

Select the statement which is TRUE?

A. In case a transaction is rolled back, the data allied with table variable also get rolled back.

B. In case a transaction is rolled back, the data allied with table variable does not roll back.

C. In case a transaction is not rolled back, the data allied with table variable get rolled back.

D. None of the above.

What is the correct answer?

4

When the table is truncated:

A. Table structure is dropped

B. Integrity constraints are dropped

C. Relationship is dropped

D. None of the above

What is the correct answer?

4

Which of the following is not a SQL Logical Operator?

A. SQL Equal Operator

B. SQL ANY Operator

C. SQL BETWEEN Operator

D. SQL IN Operator

What is the correct answer?

4

Which statement is used to select the database in Oracle?

A. USE

B. SELECT

C. RENAME

D. None of the above

What is the correct answer?

4

SQL ___ can be used to delete or drop existing databases in a SQL schema.

A. CREATE DATABASE

B. RENAME DATABASE

C. DROP DATABASE

D. SELECT DATABASE

What is the correct answer?

4

In order to format, how the column should be displayed, which function is used?

A. FORM()

B. DISPLAY()

C. COL()

D. FORMAT()

What is the correct answer?

4

Following the completion of a transaction, it must be executed to save all the operations performed in the transaction. Here we are talking about which command?

A. REVOKE

B. COMMIT

C. ROLLBACK

D. SAVE

What is the correct answer?

4

Which command will remove the records from the table, but not affect the structure of the table?

A. REMOVE

B. DELETE

C. DROP

D. TRUNCATE

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 TRUE about TCL?

A. Transactions can be saved to the database and rolled back with the help of TCL commands in SQL.

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

C. Our data is stored in a table that is described by the schema, thus TCL commands deal with the schema.

D. SQL TCL commands can be used to perform any kind of retrieval or manipulation of the data present in SQL tables.

What is the correct answer?

4

Select the correct statement which will return all the rows from the Table and then also deletes the Table_Add table?

A. SELECT * FROM Table; DROP TABLE Table_Add

B. SELECT * WHERE Table; DROP TABLE Table_Add

C. SELECT * FROM Table; DELETE TABLE Table_Add

D. SELECT * WHERE Table; DELETE TABLE Table_Add