Home
Current Affairs January 2024

What is the correct answer?

4

In order to merge two or more strings, which string function is used?

A. CHAR

B. ALTER

C. CONCAT

D. MERGE

Correct Answer :

C. CONCAT


In order to merge two or more strings, CONCAT string function is used.

Related Questions

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

Using the SQL first() function, one can return the ____ value of the selected column.

A. First

B. Second

C. Third

D. Last

What is the correct answer?

4

With which of the following statement(s) can the SQL sub queries be used?

A. SELECT

B. UPDATE

C. INSERT

D. All of the above

What is the correct answer?

4

What does the DROP TABLE Statement do?

A. The table, its structure, views, permissions, and triggers will also be deleted or removed with this SQL statement.

B. A new table in SQL is created using this SQL statement.

C. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

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

What is the correct answer?

4

Select the correct syntax for Multi-line Comments.

A. //*Line1

B. Line2*//

C. /*Line1

D. Line2/*

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with a and ends with o

B. Finds any values whose first character is a and third character is o

C. Both A. and B.

D. None of the above

What is the correct answer?

4

Through which system, we can detect SQL Injection attacks?

A. Injection Detection System

B. Attack Detection System

C. Intrusion Detection System

D. None of the above

What is the correct answer?

4

In order to convert the expression from one to another data type, which SQL Function is used?

A. CONVERT

B. CHANGE

C. CAST

D. TRANSIT

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

What can be the maximum size of char(n) in SQL Server String Data Type?

A. 7000

B. 8000

C. 9000

D. 10000

What is the correct answer?

4

SELECT INTO statement -

A. Select the content from a table.

B. Rename the content in a table.

C. Copy the content from one table into another existing table.

D. None of the above

What is the correct answer?

4

Name of the control in SQL Script

A. Script

B. Owner

C. Opinion

D. All of the above

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

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.

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

What does the CREATE DATABASE Statement do?

A. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

B. The table, its structure, views, permissions, and triggers will also be deleted or removed with 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. A new database will be created through this SQL statement.

What is the correct answer?

4

Primary keys can be contained in a table only ____?

A. Once

B. Twice

C. Thrice

D. None of the above

What is the correct answer?

4

Which of the following statement is false?

A. There is no difference between a lower case and upper case keyword in SQL.

B. It is easier to read SQL queries when the keywords are in lowercase.

C. An SQL statement's syntax is determined by its text line.

D. One or more SQL statements can be placed on a single line of text.

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

Name of the data type categories are,

A. String Data types

B. Numeric Data types

C. Date and time Data types

D. All of the above

What is the correct answer?

4

____ and ____constraints form the core of the PRIMARY KEY constraint.

A. NOT NULL , CHECK

B. NOT NULL , DEFAULT

C. NOT NULL , FOREIGN KEY

D. NOT NULL , UNIQUE

What is the correct answer?

4

Which of the following is TRUE about The Foundation Rule in the 12 Codd's Rules?

A. Relational databases are required.

B. Databases contain a wide variety of information, and each row and column of each table must hold this information.

C. The primary key value, table name, and column name are characteristics that allow us to access the precise data (atomic value) logically from a relational database.

D. Null values are treated in database records according to this rule.

What is the correct answer?

4

Which statement is used to select the database in SQL?

A. SELECT

B. USE

C. ALTER

D. CREATE

What is the correct answer?

4

SQL EXCEPT clause is supported in

A. MySQL

B. PostgreSQL

C. Both A and B

D. None of the above

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

SQL contains which component in its process?

A. Optimization Engines

B. SQL Query Engines

C. Query Dispatchers

D. All of the above

What is the correct answer?

4

For one table, there can be ____unique key constraint(s).

A. 1

B. NULL

C. Many

D. None of the above

What is the correct answer?

4

Numbers of operand used by Binary Operators are?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Which of the following is/are TRUE about DDL command?

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

B. With the DDL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

C. Both A. and B.

D. None of the above

What is the correct answer?

4

What does the DELETE Statement do?

A. A new table in SQL is created using this SQL statement.

B. By deleting the stored data, this SQL statement deletes the database.

C. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

D. By executing this SQL statement, you remove the table and all the information that it contains, including the structure, views, permissions, and triggers.