nvarchar is fixed and ntext is variable.
nvarchar is variable and ntext is fixed.
nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 2GB of the text data.
nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 1GB of the text data.
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.
Commit
Rollback
Both A. and B.
None of the above
DELETE
DROP
ALTER
None of the above
Data Control Language
Data Commit Language
Data Common Language
Data Concatenate Language
Compile the results from two queries
Compile the results from three queries
Compile the results from four queries
Compile the results from five queries
SELECT
DELETE
INSERT
All of the above
It is also possible to combine more than two strings into one string.
Two columns of the table may be used to store the strings that are to be combined, or they may just be stored individually without being stored into the table.
When the concatenated strings are stored in separate columns of a table, they are stored in the column in which they were initially stored.
All of the above
A Primary Key cannot be NULL
A Foreign Key cannot be NULL
A Primary Key cannot be Duplicate
A Foreign Key can be Duplicate
Transaction Common Language
Transaction Commit Language
Transaction Concatenate Language
Transaction Control Language
Rows
Database
View
All of the above
The GRANT command can be used to grant a user access to databases and tables whereas The REVOKE command can be used to revoke all access privileges already assigned to the user.
The REVOKE command can be used to grant a user access to databases and tables whereas The GRANT command can be used to revoke all access privileges already assigned to the user.
A transaction can be rolled back to its last saved state.
None of the above
DELETE statement free up the space kept in check by the table whereas TRUNCATE statement does not free up the space kept in check by the table.
DELETE statement does not free up the space kept in check by the table whereas TRUNCATE statement free up the space kept in check by the table.
DELETE statement only deletes rows from the table whereas TRUNCATE statement can only delete columns from the table.
DELETE statement only deletes columns from the table whereas TRUNCATE statement can only delete rows from the table.
It increments the unique number automatically.
It decrements the unique number automatically.
It keeps the unique number constant
None of the above
TEXT(Size)
TINYTEXT
MEDIUMTEXT
LARGETEXT
Average value
Largest value
Smallest value
Number of rows
Using this command, you can remove or erase recorded information from a database table.
Database objects such as tables, table views, and other objects can be deleted using this command.
One or more rows from one or more tables of the database can be accessed with this command. Using the WHERE clause with this command is also possible.
It enables you to create new databases, tables, table views, and other objects using this command.
We should pre-define the input type, input field and length of the user data to validate the input for the user authentication.
Access privileges should be restricted for the users
Administrator accounts should not be used.
All of the above
First
Second
Third
Last
SQL Equal Operator (=)
SQL Less Than Operator (<)
SQL Greater Than Operator (>)
All of the above
Web site
Web page
Web browser
None of the above
Unique Keys
Alternate Keys
Composite Keys
None of the above
HAVING clause is used in column operation whereas WHERE clause is used in row operation.
HAVING clause is post-filter whereas WHERE clause is pre-filter.
HAVING clause filters the groups whereas WHERE clauses filter the single record of the table.
All of the above
Referential Integrity
Domain Integrity
User-defined Integrity
Entity Integrity
MIN()
MAX()
LARGE()
AVG()
Once
Twice
Thrice
None of the above
open()
translate()
transaction()
execute()
Operators
Data Types
Numbers
Syntax
Number
Character
Date
All of the above
BIT(Size)
CHAR(Size)
INTEGER(Size)
INT(Size)
SQL is cheap.
SQL interface is simple.
Both A and B.
None of the above.
Specify the columns of the table in this SQL statement to return distinct values.
Changes made in the SQL database transaction are permanently saved using this SQL statement.
By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.
An index is created in a SQL database table with this SQL statement.