Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following is SQL Server String Data Type?

A. ntext

B. binary(n)

C. varbinary

D. All of the above

Correct Answer :

D. All of the above


SQL Server String Data Types are ntext, binary(n), and varbinary.

Related Questions

What is the correct answer?

4

Number of operands used by Unary Operator is?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Which statement is TRUE about the WHERE Clause?

A. In order to retrieve rows, WHERE Clause is used.

B. In order to group the rows, WHERE Clause is used.

C. In order to select the defined groups, WHERE Clause is used.

D. In order to return the rows, WHERE Clause is used.

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

Using a WHERE clause in a SQL query is used to specify SQL reserved words and characters, known as ____?

A. Operators

B. Data Types

C. Numbers

D. Syntax

What is the correct answer?

4

What is TRUE about the Active/Dynamic Online Catalog based on the relational model in the 12 Codd's Rules?

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

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

C. Database dictionaries represent the complete logic of all descriptive data, which must be stored online.

D. None of the above

What is the correct answer?

4

A Key which uniquely identifies each row in the table is known as?

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

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

Select the syntax of Single Line Comment.

A. .

B. !

C. --

D. #

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 is the type of SQL Injection attack?

A. It inserts the data

B. It updates the data

C. It deletes the data

D. All of the above

What is the correct answer?

4

The SELECT TOP statement shows the limited number of:

A. Rows

B. Columns

C. Tables

D. None of the above

What is the correct answer?

4

Select the correct rule of SQL EXCEPT.

A. There must be the same number of columns in each table and the same order in every select statement.

B. It is desirable that the columns have similar or compatible data types.

C. Both SELECT statements must have the same fields in their respective columns.

D. All of the above

What is the correct answer?

4

Foreign key is a field in a table that is _______ key in another table?

A. Primary

B. Unique

C. Composite

D. None of the above

What is the correct answer?

4

What is the difference between HAVING and WHERE clause?

A. HAVING clause is used in column operation whereas WHERE clause is used in row operation.

B. HAVING clause is post-filter whereas WHERE clause is pre-filter.

C. HAVING clause filters the groups whereas WHERE clauses filter the single record of the table.

D. All of the above

What is the correct answer?

4

What does SQL stand for?

A. SQL stands for Sample Query Language

B. SQL stands for Structured Query List

C. SQL stands for Structured Query Language

D. SQL stands for Sample Query List

What is the correct answer?

4

What is the full form of CTE in SQL?

A. Character Table Expressions

B. Character Table Evaluator

C. Common Table Evaluator

D. Common Table Expressions

What is the correct answer?

4

_____ variables are not supported by SQL Script.

A. Bind

B. Dynamic

C. Both A) and B)

D. None of the above

What is the correct answer?

4

Why index is important in SQL?

A. The large database can be searched quickly with SQL Indexes.

B. The concept below is a quick way to include different values in those columns.

C. A smaller table may not recognize the performance of an index when used with an index.

D. All of the above

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

To get a record from one table, which is not present in another table, we can use the clause

A. CONCAT

B. COPY

C. EXCEPT

D. ALTER

What is the correct answer?

4

In order to sort the records according to the columns, which clause is used?

A. HAVING

B. GROUP BY

C. ORDER BY

D. None of the above

What is the correct answer?

4

What is the shortcut key to open SQL Script?

A. Ctrl+Shift+S

B. Ctrl+Shift+Q

C. Ctrl+Shift+N

D. Ctrl+Shift+O

What is the correct answer?

4

It is possible to use LIKE clauses with

A. Strings

B. Numbers

C. Both A. and B.

D. None of the above

What is the correct answer?

4

Full form of DCL is -

A. Data Control Language

B. Data Commit Language

C. Data Common Language

D. Data Concatenate Language

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

For integer value, which data type is supported in Oracle?

A. INT

B. Number

C. Digit

D. None of the above

What is the correct answer?

4

Read in CRUD Operator means

A. To retrieve data

B. To fetch data

C. Both A. and B.

D. None of the above

What is the correct answer?

4

What is TRUE about NOT IN clause?

A. The result is purged of duplicates

B. Duplicate records are not removed

C. Performs column-by-column comparisons

D. None of the above

What is the correct answer?

4

Output returned by the Scalar functions is/are -

A. Single Value

B. Multiple Value

C. Two Values

D. None of the above

What is the correct answer?

4

Which statement is used to select the database in SQL?

A. SELECT

B. USE

C. ALTER

D. CREATE