Lab Answer Key - Module 1 - Introduction to Microsoft SQL Server 2014
Lab Answer Key - Module 1 - Introduction to Microsoft SQL Server 2014
Destaque Anotação
Lab Answer Key: Module 1: Introduction to Microsoft SQL Server 2014
5. Open the Object Explorer window by selecting Object Explorer on the View menu (or press F8 on the
keyboard).
Es
se
6. Open the do
Solution
Nã cu Explorer window by selecting Solution Explorer on the View menu (or press Ctrl+Alt+L
o me
ép
on the keyboard). r nt
erm na o pe
o
itid l d o rte
o r otto nce
ea n aR
liza i@g
rc ma ona
óp il ld
Task 2: Configure the Editor Settings ias .com o Ot
nã ton
oa i.
uto
riz
ad
as
1. On the Tools menu, select Options to open ! the Options window in SQL Server Management Studio.
2. Expand the Environment option and select Fonts and Colors. In the Show settings for box, select Text
Editor and set the font size in the Size box to 14.
3. In the left
Espane, expand the Text Editor option, expand the Transact-SQL option, and select IntelliSense.
se
Under Transact-SQL
do IntelliSense Settings, clear the Enable IntelliSense check box.
Nã cu
oé me
ro nto
4. In the leftpepane,
rm nselect
ald the pe Tabs option under Text Editor and Transact-SQL. In the Tab frame, change the
itid oo rten
Tab size property o r to 6.tto ce
ea n aR
liza i@g
rc ma ona
5. In the left pane, expand Query óp iResults,
l ld expand SQL Server, and select Results to Grid. Enable the option
ias .com o Ot
Include column headers when nã copying tor on saving the results by selecting the check box.
i.
oa
uto
riz
6. Accept the changes by clicking the OK button. ad
as
!
Result: After this exercise, you should have opened SSMS and configured editor settings.
Es
se
Exercise 2: Creating and Organizing T-SQL scripts
do
Nã cu
o me
ép r o nto
erm n ald per
itid o te
o r otto nce
Task 1: Create a Project
ea ni@ aR
liza o
r c gmai nald
óp l.c
ias om o Ot
t
1. On the File menu, select New and click Project.
2. In the New Project window, type MyFirstProject in the Name text box and D:\Labfiles\Lab01\Starter in the
https://www.skillpipe.com/#/reader/urn:uuid:91ddbb8d-bb35-443c-9b77-1e5f0f71fa17@2020-12-11T07:01:36Z/content 1/3
09/03/2021 Lab Answer Key: Module 1: Introduction to Microsoft SQL Server 2014
Location text box. Click the OK button to create the new project.
3. In the Solution Explorer window, right-click the Queries folder under MyFirstProject and select New Query.
5. Right-click the query file SQLQuery1.sql under the Queries folder, choose Rename, and type
MyFirstQueryFile.sql as the new name for the file.
3. In the Queries folder, right-click the query file SQLQuery1.sql, choose Rename, and type
MySecondQueryFile.sql as the new name for the file.
8. In the Solution Explorer window in SSMS, right-click the query file MyFirstQueryFile.sql and select
Remove. When the confirmation dialog appears, click the Delete button.
9. In Windows
Es Explorer, press F5 to refresh the Windows Explorer window. Notice that the file
se
do
MyFirstQueryFile.sql was deleted from the file system.
Nã cu
oé me
ro nto
pe
rm nald pert
itid o e
o r otto nce
ea ni@ aR
Task 3: Reopen the Created liza Project o
r c gmai nald
óp l.c
ias om o Ot
nã ton
oa i.
u
1. On the File menu, select Save All. toriz
ad
as
!
2. On the File menu, select Exit to close the project and SSMS.
3. Click Start, click the Down arrow, expand All Programs, scroll to the right to the Microsoft SQL Server 2014
group, and click SQL Server 2014 Management Studio.
4. Es
In the Connect to Server window, click Cancel.
se
do
Nã cu
o éFile menu, me
5. On the click Open and click Project / Solution. In the Open Project window, select the project
pe r on nto p
r mi a e
tid ldoot rtenc
D:\Labfiles\Lab01\Starter\MyFirstProject\MyFirstProject.ssmssln.
or t
ea oni@ e a R
liza o
6. Click Open. r c gmai nald
óp l.c
ias om o Ot
t
7. In Windows Explorer, navigate to the folder D:\Labfiles\Lab01\Starter\MyFirstProject\MyFirstProject. Drag the
file MySecondQueryFile.sql to the Queries folder in the Solution Explorer window in SSMS.
https://www.skillpipe.com/#/reader/urn:uuid:91ddbb8d-bb35-443c-9b77-1e5f0f71fa17@2020-12-11T07:01:36Z/content 2/3
09/03/2021 Lab Answer Key: Module 1: Introduction to Microsoft SQL Server 2014
Result: After this exercise, you should have a basic understanding of how to create a project in SSMS and add
query files to it.
4. Click the Exit button to leave the Help Library Manager window.
Es
s
ed
oc
Nã um
oé en
Task 2: Use Books
pe roOnline to
rm nald pert
itid oo en
or t c
ea toni@ e a R
liza on
r cthegWindows
m ald key, and type sql server documentation and click SQL Server
On the virtual machine, press óp ail.c
ias om o Ot
Documentation. nã ton
oa i.
uto
riz
ad
a
If Online Help Consent dialog box appears, clicksYes ! to continue.
In the left pane of the Books Online for SQL Server 2014 website, expand Books Online for SQL Server 2014
and expand Getting Started (SQL Server 2014).
Es
eds
Click Documentation oc for SQL Server 2014 Tools and Add-in Components.
Nã um
oé e
pe ron nto
rm ald per
itid o te
Browse the help article. o r otto nce
ea n aR
liza i@g
rc ma ona
óp il ld
ias .com o Ot
nã ton
Shut down Internet Explorer. oa i.
uto
riz
ad
as
!
Result: After this exercise, you should have a basic understanding of how to find information in Books Online.
Es
s ed
oc
Nã um
o ép en
r t
erm ona o pe
itid l d o rte
o r otto nce
ea ni@ aR
liza o
r c gmai nald
óp l.c
ias om o Ot
t
https://www.skillpipe.com/#/reader/urn:uuid:91ddbb8d-bb35-443c-9b77-1e5f0f71fa17@2020-12-11T07:01:36Z/content 3/3