SQL EXAM Flashcards
(51 cards)
What does the Acronym SSMS stand for?
SQL Server Management Studio
SQL Server provides various tools that are used for different purposes. Choose the tools that
apply to SQL Server?
system installation
auditing
configuration
performance tuning
Microsoft SQL Server Authentication Choose between the two authentication types
Windows Authentication
SQL Authentication
SQL Server Management Studio comprises several different components that are used for the
authoring, administration, and management of the overall system. The following are the main
components used for these tasks:
Registered Servers
Object Explorer
Query Editor
Solution Explorer
When you open SQL Server Management Studio, it displays the Connect to Server dialog box
which allows you to specify the necessary parameters to connect to a server.
T/F
True
Registered Servers is represented as a pane that allows you to maintain connections of
servers that are not yet configured.
T/F
False
The Object Explorer pane contains a tree view of the system database objects in a server.
T/F
False
You can dock or hide each of the panes of SQL Server Management Studio. By right-clicking
the title bar at the top of the corresponding pane.
T/F
True
The difference between the Hide and Auto Hide options is that the Hide option removes the
pane from view in SQL Server Management Studio, while Auto Hide collapses the pane to the
side panel.
T/F
True
The Object Explorer pane appears on the ________, while the Object Explorer Details
tab appears on the right side of SQL Server Management Studio. (The Object Explorer Details
tab displays information about the currently selected node of Object Explorer.)
Left
You can create a new database by using Object Explorer or the Transact-SQL language.
T/F
True
In SQL Server Management Studio right-click your database and select Tasks > Generate Scripts
T/F
True
In SQL Server Management Studio right-click your database and select Tasks > Generate Scripts
T/F
True
What is Query Editor used for?
Create and run scripts containing Transact-SQL statements
The master database contains all of the system level information for SQL Server – all of the logins,
linked servers, endpoints, and one other function you are required to choose below
system-wide configuration settings
The model database is used as the ___________ for all databases created on an instance of SQL
Server.
Template
The msdb database is used by SQL___________ for scheduling alerts and jobs and by other features
such as SQL Server Management Studio, Service Broker and Database Mail.
Server Agent
TempDB is a system database in Microsoft SQL Server used as a store of internal objects, , , and
what else. Choose the answers below
row versions
temporary tables
work tables
indexes
When you create a primary key, SQL Server automatically creates an index based on
the ___________columns
key
The primary key consists of one or more columns whose data contained within is used to uniquely
identify each row in the__________________ .
Table
In order to be a primary key, several conditions must hold.
T/F
True
A foreign key is a set of one or __________________ columns in a table that refers to the
primary key in another table.
More
This command CREATE TABLE Orders will create what in the New Query dialog box
Create orders table
In the command below what does this mean? CREATE TABLE Orders ( OrderId int NOT NULL PRIMARY KEY, OrderNo int NOT NULL,
Means in the OrderID, the Primary key cannot be empty and in the OrderNo cannot be at 0