Deck 10: Managing Databases With SQL Server 2008 R2

Full screen (f)
exit full mode
Question
The Microsoft SQL Server Management Studio cannot verify SQL statements until they are executed.
Use Space or
up arrow
down arrow
to flip the card.
Question
The Microsoft SQL Server Management Studio Manager can be used to create a new database.
Question
To use an SQL Server reserved word as a user identifier,it must be enclosed in square brackets [ ].
Question
SQL Server 2008 provides two ways to create tables-graphically and through SQL code.
Question
Stored procedures and triggers in SQL Server may become confused while executing stored procedures and triggers when SQL Server special words such as TRANSACTION appear as table or other names,even if they are enclosed in square brackets [ ].
Question
The developer can direct SQL Server to create indexes on non-key fields.
Question
When viewing the SQL Server list of tables in a database,dbo means "domain base object" and indicates a system table.
Question
SQL Statements can be submitted to SQL Server from the Microsoft SQL Server Management Studio.
Question
The SQL Server default when creating a new database is to create two data files and one log file for each database.
Question
In an SQL Server clustered index,the data are stored in the bottom level of the index and in the same order as the index.
Question
SQL Server automatically creates an index on primary key fields only.
Question
In the Microsoft SQL Server Management Studio,the starting value for a field that has been set as an IDENTITY in SQL Server is set in the seed (StartingValue)property.
Question
SQL Server supports three types of indexes: clustered,unclustered,and random.
Question
With SQL Server,the preferred way to create database structures is with SQL statements.
Question
The SQL Server GUI program is the Enterprise Manager.
Question
In the Microsoft SQL Server Management Studio,the amount to add to the surrogate key value when adding a new row is specified by the increment property.
Question
The name TRANSACTION is so special to SQL Server that no stored procedures will work on a table with that name.
Question
In addition to the standard SQL Server 2008 R2 tools,SQL statements such as CREATE TABLE can now also be executed by using Microsoft's PowerShell.
Question
When viewing a table in the GUI tools table design window in SQL Server,the notation that should supply the values for a surrogate key is that the Identity property of that column is set to "Yes."
Question
When viewing a table in the GUI tools table design window in SQL Server,the primary key is indicated by a black arrow.
Question
SQL Server AFTER triggers may be assigned to either tables or views.
Question
With SQL Server,a cluster index has the data with and in the same order as the bottom level of the index.
Question
SQL Server AFTER triggers may be used with insert and update actions,but not delete actions.
Question
One means of processing an SQL Server database is to create application code in a programming language and invoke SQL Server DBMS commands from that program.
Question
Database views can only be created in SQL Server through the use of SQL commands.
Question
SQL Server automatically makes determinations of whether or not to promote or demote a lock.
Question
SQL Server user built-in system functions start with the @@ symbol.
Question
PL/SQL is a programming language for SQL Server that adds programming constructs to the SQL language.
Question
SQL Server supports AFTER and INSTEAD OF triggers,but not BEFORE triggers.
Question
With SQL Server,the clustered index is faster for data retrieval.
Question
When using SQL Server,developers place explicit locks.
Question
In SQL Server,insert and update triggers store old values in a pseudotable named deleted.
Question
In SQL Server,insert and update triggers store new values in a pseudotable named inserted.
Question
One means of processing an SQL Server database is to save groups of SQL Server DBMS commands in a text file and then process this file in the Microsoft SQL Server Management Studio.
Question
Data can be entered directly into a table in Enterprise Manager or via SQL INSERT statements submitted through the Microsoft SQL Server Management Studio.
Question
With SQL Server,only one cluster index is allowed per table.
Question
With SQL Server,a nonclustered index does not contain data but has pointers to the data.
Question
When you use the Microsoft SQL Server Management Studio to run and rerun a set of SQL Server DBMS commands stored in a text file,the stored procedure must start with CREATE PROCEDURE.
Question
In SQL Server,triggers can roll back the transaction that caused them to be fired.
Question
SQL Server user variables and parameters start with the @ symbol.
Question
The SQL Server default when creating a new database is to create ________ for each database.

A)one data file and one log file
B)one data file and two log files
C)two data files and one log file
D)two data files and two log files
E)there is no default the database creator must specify how many data files and log files will be created
Question
When recovering a database in SQL Server,it is possible to process the log to a particular point in time or to a transaction mark.
Question
The default transaction isolation level for SQL Server is Read Committed.
Question
SQL Server security roles provide a simple way to control user privileges in a database.
Question
SQL Server bulk-logged recovery differs from other log-based recovery methods because it does not include log entries for changes that cause large log entries.
Question
In SQL Server,a differential backup makes a copy of the entire database.
Question
In SQL Server,it is not possible to make dirty reads.
Question
In SQL Server,the full recovery model creates a log for every change to the database.
Question
The default cursor concurrency for a dynamic cursor in SQL Server is optimistic.
Question
Locking hints included in an SQL statement will override locking behavior based on explicit transaction isolation level statements.
Question
Which of the following is generally used to create a new database?

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Question
The SQL Server GUI interface database management program is the ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Question
In SQL Server,SCROLL_LOCK is a version of pessimistic locking.
Question
SQL Server supports three recovery models: simple,complex and bulk logged.
Question
SQL statements can be passed to SQL Server using the ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Question
SQL Server security provides three modes of authentication.
Question
SQL Server tables can be created and modified using ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Question
In SQL Server,a interactive backup makes a copy of the changes that have been made since the last time a backup of the entire database was made.
Question
In SQL Server,locking behavior can be modified by providing locking hints in the WITH parameter of the FROM clause in SELECT statements.
Question
The recommended SQL Server security is Windows-only security.
Question
Which type(s)of index(s)in SQL Server has/have a bottom level that does not contain data but has pointers to the data?

A)Clustered
B)Nonclustered
C)Unique
D)baseline
E)B and D
Question
A stored procedure can be stored in a text file and run with the Microsoft SQL Server Management Studio.If we are running the code that creates this procedure for the third time,it must start with ________.

A)STORED PROCEDURE
B)CREATE PROCEDURE
C)ALTER PROCEDURE
D)MODIFY PROCEDURE
E)RUN PROCEDURE
Question
A view may not be assigned to a(n)________.

A)BEFORE trigger
B)INSTEAD OF trigger
C)CONCURRENT trigger
D)AFTER trigger
E)Any of the above.
Question
When creating a T-SQL statement,you should:

A)predefine it graphically in Enterprise Manager.
B)limit it to one table.
C)limit it to two tables.
D)end it with the semicolon normally used to terminate SQL statements.
E)include the word "View" in the view name.
Question
Which of the following is not a type of trigger supported by SQL Server?

A)BEFORE
B)INSTEAD OF
C)CONCURRENT
D)AFTER
E)A and C
Question
Which of the following is known to be true if the command EXEC abcCust @Cost = 5 is used to invoke a stored procedure in the Microsoft SQL Server Management Studio?

A)Cost = 5 is a CHECK constraint.
B)The name of the stored procedure is abcCust.
C)The name of the stored procedure is abc.
D)Cust is given the value 5.
E)abcCust is the name of a table or view in the database.
Question
What name is so special to SQL Server that no stored procedure will work on a table with that name,not even if it is enclosed in brackets?

A)NAME
B)UPDATE
C)TRANSACTION
D)SQL
E)KEY
Question
Which of the following are ways of processing an SQL Server database?

A)From an application written in a programming language such as C# or Visual Basic
B)From text files processed by the SQL Server Query Analyzer
C)From invoked SQL Server stored procedures
D)From invoked SQL Server triggers
E)All of the above.
Question
Which of the following is true about indexes in SQL Server?

A)SQL Server automatically creates indexes for columns appearing in WHERE clauses in queries.
B)SQL Server pads all indexes.
C)SQL Server supports filling up to a limit of 70 percent.
D)SQL Server automatically creates indexes for foreign keys.
E)All of the above.
Question
For triggers on insert and update actions,the new column values are stored in ________.

A)a table named new:TableName
B)a table named old:TableName
C)a pseudotable name inserted
D)a pseudotable named deleted
E)None of the above.
Question
The language available in SQL Server that adds programming constructs to the SQL language is known as ________.

A)PL/SQL
B)SQLP
C)C++
D)INTERACT-SQL
E)TRANSACT-SQL
Question
Which of the following is true of clustered indexes?

A)They are normally slower than nonclustered indexes for retrieving data.
B)Only one is allowed per table.
C)They are normally slower than nonclustered indexes for updating data.
D)They do not have data in the bottom level.
E)A and C
Question
Using only SQL Server tools,you can enter data into a table by ________.

A)entering it into a table grid in the Microsoft SQL Server Management Studio
B)using INSERT statements through the Microsoft SQL Server Management Studio
C)using an SQL Server form
D)A or B
E)A,B or C
Question
Anytime you want to use an SQL Server reserved word as a user identifier,enclose it in ________.

A){ }
B)[ ]
C)( )
D)" "
E)< >
Question
Which type of index in SQL Server is faster for data retrieval?

A)Clustered
B)Nonclustered
C)Unique
D)Baseline
E)There is no advantage to any particular index for data retrieval,only for data updating.
Question
The column(s)that is/are the primary key in an SQL table are indicated by ________ when viewed graphically in Enterprise Manager.

A)the black arrow symbol
B)the outline arrow symbol
C)the key symbol
D)the asterisk symbol
E)being underlined
Question
When creating SQL Server tables in a database,SQL statements can now also be submitted by using ________.

A)Internet Explorer
B)Microsoft PowerShell
C)Microsoft Word
D)Microsoft Excel
E)PL/SQL
Question
When reviewing a table in the SQL Server GUI tools,which property should be set to "Yes" to indicate that the column is a surrogate key for which SQL Server should automatically supply values?

A)Identity
B)Surrogate
C)AutoIncrement
D)AutoNumber
E)Sequence
Question
SQL Server user variables and parameters start with the symbol ________.

A)/*
B)#
C)##
D)@
E)@@
Question
SQL Server system functions start with the symbol ________.

A)/*
B)#
C)##
D)@
E)@@
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/100
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Managing Databases With SQL Server 2008 R2
1
The Microsoft SQL Server Management Studio cannot verify SQL statements until they are executed.
False
2
The Microsoft SQL Server Management Studio Manager can be used to create a new database.
True
3
To use an SQL Server reserved word as a user identifier,it must be enclosed in square brackets [ ].
True
4
SQL Server 2008 provides two ways to create tables-graphically and through SQL code.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
5
Stored procedures and triggers in SQL Server may become confused while executing stored procedures and triggers when SQL Server special words such as TRANSACTION appear as table or other names,even if they are enclosed in square brackets [ ].
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
6
The developer can direct SQL Server to create indexes on non-key fields.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
7
When viewing the SQL Server list of tables in a database,dbo means "domain base object" and indicates a system table.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
8
SQL Statements can be submitted to SQL Server from the Microsoft SQL Server Management Studio.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
9
The SQL Server default when creating a new database is to create two data files and one log file for each database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
10
In an SQL Server clustered index,the data are stored in the bottom level of the index and in the same order as the index.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
11
SQL Server automatically creates an index on primary key fields only.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
12
In the Microsoft SQL Server Management Studio,the starting value for a field that has been set as an IDENTITY in SQL Server is set in the seed (StartingValue)property.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
13
SQL Server supports three types of indexes: clustered,unclustered,and random.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
14
With SQL Server,the preferred way to create database structures is with SQL statements.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
15
The SQL Server GUI program is the Enterprise Manager.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
16
In the Microsoft SQL Server Management Studio,the amount to add to the surrogate key value when adding a new row is specified by the increment property.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
17
The name TRANSACTION is so special to SQL Server that no stored procedures will work on a table with that name.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
18
In addition to the standard SQL Server 2008 R2 tools,SQL statements such as CREATE TABLE can now also be executed by using Microsoft's PowerShell.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
19
When viewing a table in the GUI tools table design window in SQL Server,the notation that should supply the values for a surrogate key is that the Identity property of that column is set to "Yes."
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
20
When viewing a table in the GUI tools table design window in SQL Server,the primary key is indicated by a black arrow.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
21
SQL Server AFTER triggers may be assigned to either tables or views.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
22
With SQL Server,a cluster index has the data with and in the same order as the bottom level of the index.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
23
SQL Server AFTER triggers may be used with insert and update actions,but not delete actions.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
24
One means of processing an SQL Server database is to create application code in a programming language and invoke SQL Server DBMS commands from that program.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
25
Database views can only be created in SQL Server through the use of SQL commands.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
26
SQL Server automatically makes determinations of whether or not to promote or demote a lock.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
27
SQL Server user built-in system functions start with the @@ symbol.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
28
PL/SQL is a programming language for SQL Server that adds programming constructs to the SQL language.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
29
SQL Server supports AFTER and INSTEAD OF triggers,but not BEFORE triggers.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
30
With SQL Server,the clustered index is faster for data retrieval.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
31
When using SQL Server,developers place explicit locks.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
32
In SQL Server,insert and update triggers store old values in a pseudotable named deleted.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
33
In SQL Server,insert and update triggers store new values in a pseudotable named inserted.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
34
One means of processing an SQL Server database is to save groups of SQL Server DBMS commands in a text file and then process this file in the Microsoft SQL Server Management Studio.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
35
Data can be entered directly into a table in Enterprise Manager or via SQL INSERT statements submitted through the Microsoft SQL Server Management Studio.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
36
With SQL Server,only one cluster index is allowed per table.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
37
With SQL Server,a nonclustered index does not contain data but has pointers to the data.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
38
When you use the Microsoft SQL Server Management Studio to run and rerun a set of SQL Server DBMS commands stored in a text file,the stored procedure must start with CREATE PROCEDURE.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
39
In SQL Server,triggers can roll back the transaction that caused them to be fired.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
40
SQL Server user variables and parameters start with the @ symbol.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
41
The SQL Server default when creating a new database is to create ________ for each database.

A)one data file and one log file
B)one data file and two log files
C)two data files and one log file
D)two data files and two log files
E)there is no default the database creator must specify how many data files and log files will be created
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
42
When recovering a database in SQL Server,it is possible to process the log to a particular point in time or to a transaction mark.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
43
The default transaction isolation level for SQL Server is Read Committed.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
44
SQL Server security roles provide a simple way to control user privileges in a database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
45
SQL Server bulk-logged recovery differs from other log-based recovery methods because it does not include log entries for changes that cause large log entries.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
46
In SQL Server,a differential backup makes a copy of the entire database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
47
In SQL Server,it is not possible to make dirty reads.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
48
In SQL Server,the full recovery model creates a log for every change to the database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
49
The default cursor concurrency for a dynamic cursor in SQL Server is optimistic.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
50
Locking hints included in an SQL statement will override locking behavior based on explicit transaction isolation level statements.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
51
Which of the following is generally used to create a new database?

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
52
The SQL Server GUI interface database management program is the ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
53
In SQL Server,SCROLL_LOCK is a version of pessimistic locking.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
54
SQL Server supports three recovery models: simple,complex and bulk logged.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
55
SQL statements can be passed to SQL Server using the ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
56
SQL Server security provides three modes of authentication.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
57
SQL Server tables can be created and modified using ________.

A)Enterprise Manager
B)Query Analyzer
C)Microsoft SQL Server Management Studio
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
58
In SQL Server,a interactive backup makes a copy of the changes that have been made since the last time a backup of the entire database was made.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
59
In SQL Server,locking behavior can be modified by providing locking hints in the WITH parameter of the FROM clause in SELECT statements.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
60
The recommended SQL Server security is Windows-only security.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
61
Which type(s)of index(s)in SQL Server has/have a bottom level that does not contain data but has pointers to the data?

A)Clustered
B)Nonclustered
C)Unique
D)baseline
E)B and D
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
62
A stored procedure can be stored in a text file and run with the Microsoft SQL Server Management Studio.If we are running the code that creates this procedure for the third time,it must start with ________.

A)STORED PROCEDURE
B)CREATE PROCEDURE
C)ALTER PROCEDURE
D)MODIFY PROCEDURE
E)RUN PROCEDURE
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
63
A view may not be assigned to a(n)________.

A)BEFORE trigger
B)INSTEAD OF trigger
C)CONCURRENT trigger
D)AFTER trigger
E)Any of the above.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
64
When creating a T-SQL statement,you should:

A)predefine it graphically in Enterprise Manager.
B)limit it to one table.
C)limit it to two tables.
D)end it with the semicolon normally used to terminate SQL statements.
E)include the word "View" in the view name.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
65
Which of the following is not a type of trigger supported by SQL Server?

A)BEFORE
B)INSTEAD OF
C)CONCURRENT
D)AFTER
E)A and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
66
Which of the following is known to be true if the command EXEC abcCust @Cost = 5 is used to invoke a stored procedure in the Microsoft SQL Server Management Studio?

A)Cost = 5 is a CHECK constraint.
B)The name of the stored procedure is abcCust.
C)The name of the stored procedure is abc.
D)Cust is given the value 5.
E)abcCust is the name of a table or view in the database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
67
What name is so special to SQL Server that no stored procedure will work on a table with that name,not even if it is enclosed in brackets?

A)NAME
B)UPDATE
C)TRANSACTION
D)SQL
E)KEY
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
68
Which of the following are ways of processing an SQL Server database?

A)From an application written in a programming language such as C# or Visual Basic
B)From text files processed by the SQL Server Query Analyzer
C)From invoked SQL Server stored procedures
D)From invoked SQL Server triggers
E)All of the above.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
69
Which of the following is true about indexes in SQL Server?

A)SQL Server automatically creates indexes for columns appearing in WHERE clauses in queries.
B)SQL Server pads all indexes.
C)SQL Server supports filling up to a limit of 70 percent.
D)SQL Server automatically creates indexes for foreign keys.
E)All of the above.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
70
For triggers on insert and update actions,the new column values are stored in ________.

A)a table named new:TableName
B)a table named old:TableName
C)a pseudotable name inserted
D)a pseudotable named deleted
E)None of the above.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
71
The language available in SQL Server that adds programming constructs to the SQL language is known as ________.

A)PL/SQL
B)SQLP
C)C++
D)INTERACT-SQL
E)TRANSACT-SQL
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
72
Which of the following is true of clustered indexes?

A)They are normally slower than nonclustered indexes for retrieving data.
B)Only one is allowed per table.
C)They are normally slower than nonclustered indexes for updating data.
D)They do not have data in the bottom level.
E)A and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
73
Using only SQL Server tools,you can enter data into a table by ________.

A)entering it into a table grid in the Microsoft SQL Server Management Studio
B)using INSERT statements through the Microsoft SQL Server Management Studio
C)using an SQL Server form
D)A or B
E)A,B or C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
74
Anytime you want to use an SQL Server reserved word as a user identifier,enclose it in ________.

A){ }
B)[ ]
C)( )
D)" "
E)< >
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
75
Which type of index in SQL Server is faster for data retrieval?

A)Clustered
B)Nonclustered
C)Unique
D)Baseline
E)There is no advantage to any particular index for data retrieval,only for data updating.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
76
The column(s)that is/are the primary key in an SQL table are indicated by ________ when viewed graphically in Enterprise Manager.

A)the black arrow symbol
B)the outline arrow symbol
C)the key symbol
D)the asterisk symbol
E)being underlined
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
77
When creating SQL Server tables in a database,SQL statements can now also be submitted by using ________.

A)Internet Explorer
B)Microsoft PowerShell
C)Microsoft Word
D)Microsoft Excel
E)PL/SQL
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
78
When reviewing a table in the SQL Server GUI tools,which property should be set to "Yes" to indicate that the column is a surrogate key for which SQL Server should automatically supply values?

A)Identity
B)Surrogate
C)AutoIncrement
D)AutoNumber
E)Sequence
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
79
SQL Server user variables and parameters start with the symbol ________.

A)/*
B)#
C)##
D)@
E)@@
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
80
SQL Server system functions start with the symbol ________.

A)/*
B)#
C)##
D)@
E)@@
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 100 flashcards in this deck.