Beruflich Dokumente
Kultur Dokumente
Introduction
Configure Full-Text Indexing
Configure SSIS Security
Configure FILESTREAM
Summary
Introduction
The Configure Additional SQL Server Components module provides you with the
instruction and server hardware to develop your hands on skills in the defined topics.
This module includes the following exercises:
This lab now includes a SQL 2014 device, this means you can now carry out the
steps in SQL 2012 and SQL 2014. Notes have been included where any differences
in the steps may occur.
Lab Diagram
During your session you will have access to the following lab configuration. Depending
on the exercises you may or may not use all of the devices, but they are shown here in the
layout to get an overall understanding of the topology of the lab.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 1/45
7/23/2019 Print content
In this module you will be working on the following equipment to carry out the steps
defined in each exercise.
To start, simply choose a device and click Power on. In some cases, the devices may
power on automatically.
For further information and technical support, please see our Help and Support
page.
Copyright Notice
This document and its content is copyright of Practice-IT - © Practice-IT 2014. All rights reserved. Any
redistribution or reproduction of part or all of the contents in any form is prohibited other than the
following:
1) You may print or download to a local hard disk extracts for your personal and non-commercial use
only.
2) You may copy the content to individual third parties for their personal use, but only if you
acknowledge the website as the source of the material. You may not, except with our express written
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 2/45
7/23/2019 Print content
permission, distribute or commercially exploit the content. Nor may you transmit it or store it in any
other website or other form of electronic retrieval system.
SQL 2014 Note: To complete the following steps in SQL 2014, you will need to
replace the AdventureWorks2012 database name with AdventureWorks2014
in all the instances in text as well as code.
Step 1
Ensure you have powered on the required devices and connect to PLABSQL01.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 3/45
7/23/2019 Print content
Step 2
In the Connect to Server dialog box, enter PLABSQL01 in the Server name text
box, if already not entered, and click Connect.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 4/45
7/23/2019 Print content
Step 3
After the connection is successful, the PLABSQL01 server is displayed in Object
Explorer.
SQL 2014 Note: To complete the following steps in SQL 2014, you will need to
replace the AdventureWorks2012 database name with AdventureWorks2014
in all the instances in text as well as code.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 5/45
7/23/2019 Print content
Step 4
The Full-Text Indexing Wizard is displayed. Click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 6/45
7/23/2019 Print content
Step 5
On the Select an Index screen, keep the default Unique index value and click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 7/45
7/23/2019 Print content
Step 6
On the Select Table Columns screen, select Gender and LoginID and click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 8/45
7/23/2019 Print content
Step 7
On the Select Change Tracking screen, keep the default option, Automatically, and
click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 9/45
7/23/2019 Print content
Step 8
On the Select Catalog, Index Filegroup, and Stoplist screen, keep the default
catalog settings and click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 10/45
7/23/2019 Print content
Step 9
On the Define Population Schedules (Optional) screen, click New Table
Schedule.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 11/45
7/23/2019 Print content
Step 10
The New Full-Text Indexing Table Schedule dialog box is displayed.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 12/45
7/23/2019 Print content
Step 11
Note that a new schedule with the name Employee.PLAB has been added.
Click Next.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 13/45
7/23/2019 Print content
Step 12
On the Full-Text Indexing Wizard Description screen, click Finish.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 14/45
7/23/2019 Print content
Step 13
On the Full-Text Indexing Wizard Progress screen, click Close.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 15/45
7/23/2019 Print content
Step 14
Minimize SQL Server Management Studio window.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 16/45
7/23/2019 Print content
Close all open windows and leave the devices you have powered on in their current state
and proceed to the next exercise.
SQL 2014 Note: To complete the following steps in SQL 2014, you will need to
replace the AdventureWorks2012 database name with AdventureWorks2014
in all the instances in text as well as code.
Step 1
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 17/45
7/23/2019 Print content
From PLABSQL01 click Start and search for Dcomcnfg.exe on the Start screen.
Step 2
The Component Services window is displayed.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 18/45
7/23/2019 Print content
Step 3
Expand the Component Services, Computers, My Computer, and DCOM Config
nodes, scroll down the list and locate Microsoft SQL Server Integration Services
11.0.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 19/45
7/23/2019 Print content
Step 4
Right-click Microsoft SQL Server Integration Services 11.0 and select
Properties.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 20/45
7/23/2019 Print content
Step 5
The Microsoft SQL Server Integration Services 11.0 Properties dialog box is
displayed.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 21/45
7/23/2019 Print content
Step 6
On the Security tab, click Edit in the Launch And Activation Permissions section.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 22/45
7/23/2019 Print content
Step 7
The Launch and Activation Permissions dialog box is displayed.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 23/45
7/23/2019 Print content
Step 8
Select SYSTEM in the Group or user names section.
Click OK.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 24/45
7/23/2019 Print content
Step 9
Click OK to close the Microsoft SQL Server Integration Services 11.0 Properties
dialog box.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 25/45
7/23/2019 Print content
Step 10
Close the Component Services window.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 26/45
7/23/2019 Print content
Leave the devices you have powered on in their current state and proceed to the next
exercise.
SQL 2014 Note: To complete the following steps in SQL 2014, you will need to
replace the AdventureWorks2012 database name with AdventureWorks2014
in all the instances in text as well as code.
Step 1
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 27/45
7/23/2019 Print content
From PLABSQL01 click Start, select All Programs, Microsoft SQL Server 2012,
and Configuration Tools, and then click SQL Server Configuration Manager.
Step 2
The SQL Server Configuration Manager (Local) window is displayed.
In the right pane, right-click SQL Server (MSSQLSERVER) and select Properties.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 28/45
7/23/2019 Print content
Step 3
The SQL Server (MSSQLSERVER) Properties dialog box is displayed.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 29/45
7/23/2019 Print content
Step 4
Note that Enable FILESTREAM for Transact-SQL access is selected.
Select Enable FILESTREAM for file I/O access and click OK.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 30/45
7/23/2019 Print content
Step 5
Restore SQL Server Management Studio from taskbar.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 31/45
7/23/2019 Print content
Step 6
Right-click PLABSQL01 in Object Explorer and select New Query.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 32/45
7/23/2019 Print content
Step 7
Enter the following query:
Click Execute.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 33/45
7/23/2019 Print content
Step 8
Switch to SQL Server configuration Manager.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 34/45
7/23/2019 Print content
Step 9
Switch to Microsoft SQL Server Management Studio.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 35/45
7/23/2019 Print content
Step 10
Enter the following query:
USE master
GO
ALTER DATABASE AdventureWorks2012 ADD
FILEGROUP FileStreamFileGroup CONTAINS FILESTREAM;
GO
Click Execute.
SQL 2014 Note: To complete the following steps in SQL 2014, you will need to
replace the AdventureWorks2012 database name with AdventureWorks2014
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 36/45
7/23/2019 Print content
Step 11
When asked if you want to save the query, click No.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 37/45
7/23/2019 Print content
Leave the devices you have powered on in their current state and proceed to the next
task.
Step 1
On PLABSQL01, click Windows Explorer on taskbar.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 38/45
7/23/2019 Print content
Step 2
From PLABSQL01 while SQL Server Management Studio is open, click New
Query in the menu bar.
In the query window, enter the following code to create a new database:
FILENAME = 'c:\test\FTDBLog.ldf')
WITH FILESTREAM (NON_TRANSACTED_ACCESS = FULL,
DIRECTORY_NAME = N'FileTableDB');
GO
Click Execute.
Step 3
Click New Query button.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 40/45
7/23/2019 Print content
Step 4
Enter the following query in a new query window to enable FILESTREAM:
SELECT DB_NAME(database_id),
non_transacted_access,
non_transacted_access_desc
FROM sys.database_filestream_options;
GO
Click Execute.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 41/45
7/23/2019 Print content
Step 5
Click again on New Query button.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 42/45
7/23/2019 Print content
Step 6
To create a FileTable, enter the following code:
USE FileTableDB
GO
CREATE TABLE FileTableTb AS FileTable
WITH
(FileTable_Directory = 'FileTableTb_Dir');
GO
Click Execute:
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 43/45
7/23/2019 Print content
Step 8
In the left pane, expand the new database, FileTableDB, and then expand Tables and
FileTables. Note that a new FileTable is created.
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 44/45
7/23/2019 Print content
Shutdown all virtual machines used in this lab, by using the power functions located in
the Tools bar before proceeding to the next module. Alternatively you can log out of the
lab platform.
Summary
In this module, you covered carried the following practical tasks:
https://www.practice-labs.com/authenticated/vNext/vn-print-content.aspx 45/45