[SOLVED] SQL Server administrative tools Assignment

25.00 $

Programming resource
, Digital learning resource
Categories: ,
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (4 votes)

Use the SQL Server administrative tools. For all questions below, please use the AdventureWorks2012 database.

Part 1: Using SSMS Standard Reports: Using the standard reports in SSMS, please answer the following questions about the AdventureWorks2012 database.

2.Which table in the database consumes the largest amount of disk space? How many KB of data does this table contain?

3. Which table in the database contains the greatest number of records? How many records does it contain?

4. Have there been any recent backups of this database?

Provide the Index Name and Table Name for any 3 non-clustered indexes within the database.

5. What % of transaction log space is unused?

Part 2: Scripting Configuration Changes

  1. Using the SSMS database properties dialog, generate a script to set “ANSI NULLS Enabled” to “False.” Do not execute the script or save the configuration changes. Paste the contents of the script below.

Part 3: Exporting Data

  1. Using the SSMS SQL Server Import and Export Wizard (Tasks -> Export Data), export the contents of the [HumanResources].[Department] table to a flat file with column names in the first row. Paste the first 6 lines of this file below.

Part 4: Generating Traces

  1. Create a new trace using the SQL Server Profiler. Use the defaults for event selection. Record at least 50 events and then stop the trace. What is the most frequently seen value of the ApplicationName column in your trace file?

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.