Home
Current Affairs January 2024

What is the correct answer?

4

What is the work of UPDATE command?

A. A single or multiple rows can be accessed using this command from one or more tables of a database. Using the WHERE clause with this command is also possible.

B. Using this command, you can remove or erase recorded information from a database table.

C. Database data can be updated or changed using this command.

D. It enables you to create new databases, tables, table views, and other objects using this command.

Correct Answer :

C. Database data can be updated or changed using this command.


Using UPDATE command, Database data can be updated or changed.

Related Questions

What is the correct answer?

4

What is TRUE about UPDATE in SQL VIEW?

A. Views that depend on a single table can be updated.

B. An update of a view created from more than one table will not be allowed by SQL.

C. There should be no NULL values in the fields of view.

D. All 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

What is the difference between VARCHAR and VARCHAR2?

A. VARCHAR can store upto 4000 bytes and VARCHAR2 can store upto 8000 bytes.

B. VARCHAR can store upto 2000 bytes and VARCHAR2 can store upto 4000 bytes.

C. Both VARCHAR and VARCHAR2 are similar but use of VARCHAR2 is mostly recommended.

D. There is no similarity between VARCHAR and VARCHAR2.

What is the correct answer?

4

SQL became the standard of?

A. ASCII

B. ANSI

C. ISO

D. Both B and C

What is the correct answer?

4

In case of ____ data, recursive CTE is used?

A. Round

B. Hierarchal

C. Linear

D. None of the above

What is the correct answer?

4

ROUND function consists of ___ parameters?

A. One

B. Two

C. Three

D. Four

What is the correct answer?

4

What is the similarity between CLOB and NCLOB Oracle Large Object Data Types?

A. Both CLOB and NCLOB are used for multibyte national character set data.

B. Both CLOB and NCLOB can range upto 2^32-1 bytes or 4 GB.

C. Both CLOB and NCLOB can range upto 2^32-1 bytes or 8GB.

D. Both CLOB and NCLOB are used for singlebyte and multibyte national character set data.

What is the correct answer?

4

TINYTEXT can hold the maximum length of ___ characters?

A. 254

B. 255

C. 256

D. 257

What is the correct answer?

4

Which syntax is used to show all the databases?

A. USE DATABASES;

B. SELECT DATABASES;

C. SHOW DATABASES;

D. None of the above

What is the correct answer?

4

Select the correct statement.

A. TRUNCATE TABLE is faster than DELETE TABLE statement.

B. TRUNCATE TABLE uses fewer resources than DELETE TABLE statement.

C. Both A) and B)

D. None of the above

What is the correct answer?

4

Which function returns the largest value of the column?

A. MIN()

B. MAX()

C. LARGE()

D. AVG()

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

SQL Like is NOT used with which of the following statement(s)?

A. DELETE

B. SELECT

C. UPDATE

D. ALTER

What is the correct answer?

4

An SQL ____ is a virtual table, whose contents are based on the SQL statement's results.

A. Concatenate

B. Virtual

C. View

D. None of the above

What is the correct answer?

4

Command that comes under DCL is/are -

A. GRANT

B. REVOKE

C. Both A. and B.

D. None of the above

What is the correct answer?

4

Select the syntax of Single Line Comment.

A. .

B. !

C. --

D. #

What is the correct answer?

4

Select the Aggregate function(s) among the following.

A. AVG()

B. FIRST()

C. LAST()

D. All of the above

What is the correct answer?

4

In case to prevent the endless loop in CTE, ____ is added.

A. MAXLINEAR

B. MAXROUND

C. MAXRECURSION

D. None of the above

What is the correct answer?

4

What is the default length of any data type in the CAST function?

A. 10

B. 20

C. 30

D. 40

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

In the relational database, in order to modify index, we need to use which command?

A. ALTER

B. MODIFY

C. UPDATE

D. ADD

What is the correct answer?

4

____ integrity is achieved by using a foreign key.

A. Referential Integrity

B. Domain Integrity

C. User-defined Integrity

D. Entity Integrity

What is the correct answer?

4

GROUP BY clause is placed before which clause in SQL?

A. HAVING

B. WHERE

C. ORDER BY

D. FROM

What is the correct answer?

4

What is meant by 'SQL is an interactive language'?

A. Learning and understanding SQL is easy

B. It can also be used for communicating with the database.

C. In a few seconds, complex queries can also be answered using this language.

D. All of the above

What is the correct answer?

4

Which of the following states the correct situation in which Indexes should not be used in SQL?

A. When the table is small, it is possible to avoid using SQL indexes.

B. Updates need to be made frequently to the table.

C. When there are a lot of NULL values in a column, indexed should not be used.

D. All of the above

What is the correct answer?

4

In order to insert a row directly in the table, which command is used?

A. INSERT IN

B. INSERT INSIDE

C. INSERT UNDER

D. INSERT INTO

What is the correct answer?

4

To add a Primary Key constraint after table is created, which clause is used?

A. UPDATE

B. ADD

C. ALTER

D. JOIN

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

If multiple columns are used as Primary Key, it is known as

A. Unique

B. Composite

C. Foreign

D. None of the above

What is the correct answer?

4

To get the table's previous permanent status, use the ____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above