+ All Categories
Home > Documents > My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial...

My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial...

Date post: 30-Jan-2018
Category:
Upload: vothuy
View: 223 times
Download: 0 times
Share this document with a friend
65
My Company Tel: +44 1234 567 9898 Fax: +44 1234 545 9999 email: info@@company.com SQL Server Database Schema Document Created using SQLserverPrint Macro Variables Substitution Example General Date 14/01/2017 15:59:22 Long Date 14 January 2017 Short Date 14/01/2017 Long Time 15:59:22 Short Time 15:59 Today 14/01/2017 15:59:22 Server Name STARPRINT-DEV-X Database Name Northwind Prepared by Joginder S Nahil on 14/01/2017 15:59:22 WWW.STARPRINTTOOLS.COM
Transcript
Page 1: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

My Company Tel: +44 1234 567 9898Fax: +44 1234 545 9999

email: info@@company.com

SQL Server Database Schema Document

Created using

SQLserverPrintMacro Variables Substitution Example

General Date 14/01/2017 15:59:22Long Date 14 January 2017Short Date 14/01/2017Long Time 15:59:22Short Time 15:59Today 14/01/2017 15:59:22Server Name STARPRINT-DEV-XDatabase Name Northwind

Prepared byJoginder S Nahil

on 14/01/2017 15:59:22

WWW.STARPRINTTOOLS.COM

Page 2: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

Table of Contents Northwind Table of Contents

14/01/2017 15:59:21 2 of 65

STARPRINT-DEV-X\SQLSERVER2016 ......................................................................................................................................................................4Databases .................................................................................................................................................................................................................4

Northwind [Normal] ..............................................................................................................................................................................................4Output 'Northwind' Database Properties ...........................................................................................................................................................4Tables ................................................................................................................................................................................................................7

dbo.Categories ..............................................................................................................................................................................................7dbo.CustomerCustomerDemo ......................................................................................................................................................................9dbo.CustomerDemographics ......................................................................................................................................................................11dbo.Customers ............................................................................................................................................................................................12dbo.Employees ............................................................................................................................................................................................14dbo.EmployeeTerritories .............................................................................................................................................................................16dbo.Order Details ........................................................................................................................................................................................18dbo.Orders ..................................................................................................................................................................................................20dbo.Products ...............................................................................................................................................................................................22dbo.Region ..................................................................................................................................................................................................24dbo.Shippers ...............................................................................................................................................................................................25dbo.Suppliers ..............................................................................................................................................................................................26dbo.Territories .............................................................................................................................................................................................28

Views ...............................................................................................................................................................................................................30dbo.Alphabetical list of products..................................................................................................................................................................30dbo.Category Sales for 1997.......................................................................................................................................................................31dbo.Current Product List .............................................................................................................................................................................32dbo.Customer and Suppliers by City ...........................................................................................................................................................33dbo.Invoices ................................................................................................................................................................................................34dbo.Order Details Extended ........................................................................................................................................................................36dbo.Order Subtotals ....................................................................................................................................................................................37dbo.Orders Qry ...........................................................................................................................................................................................38dbo.Product Sales for 1997 .........................................................................................................................................................................40dbo.Products Above Average Price ............................................................................................................................................................41dbo.Products by Category ...........................................................................................................................................................................42dbo.Quarterly Orders ..................................................................................................................................................................................43dbo.Sales by Category ................................................................................................................................................................................44dbo.Sales Totals by Amount .......................................................................................................................................................................45dbo.Summary of Sales by Quarter ..............................................................................................................................................................46dbo.Summary of Sales by Year ..................................................................................................................................................................47

Programmability ..............................................................................................................................................................................................48Stored Procedures ......................................................................................................................................................................................48

dbo.CustOrderHist...................................................................................................................................................................................48dbo.CustOrdersDetail ..............................................................................................................................................................................49dbo.CustOrdersOrders ............................................................................................................................................................................50dbo.Employee Sales by Country .............................................................................................................................................................51dbo.Sales by Year ...................................................................................................................................................................................52dbo.SalesByCategory..............................................................................................................................................................................53dbo.Ten Most Expensive Products .........................................................................................................................................................54

Assemblies ..................................................................................................................................................................................................54Microsoft.SqlServer.Types ......................................................................................................................................................................54

Security ...........................................................................................................................................................................................................54Users ...........................................................................................................................................................................................................54

dbo...........................................................................................................................................................................................................54guest ........................................................................................................................................................................................................55INFORMATION_SCHEMA ......................................................................................................................................................................55sys ...........................................................................................................................................................................................................55

Roles ...........................................................................................................................................................................................................56Database roles ........................................................................................................................................................................................56

db_accessadmin ..................................................................................................................................................................................56db_backupoperator ..............................................................................................................................................................................56db_datareader .....................................................................................................................................................................................56db_datawriter .......................................................................................................................................................................................57db_ddladmin ........................................................................................................................................................................................57db_denydatareader .............................................................................................................................................................................57db_denydatawriter ...............................................................................................................................................................................58

Page 3: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

Table of Contents Northwind Table of Contents

14/01/2017 15:59:21 3 of 65

db_owner .............................................................................................................................................................................................58db_securityadmin ................................................................................................................................................................................58public ...................................................................................................................................................................................................59

Schemas .....................................................................................................................................................................................................59db_accessadmin......................................................................................................................................................................................59db_backupoperator ..................................................................................................................................................................................59db_datareader .........................................................................................................................................................................................60db_datawriter ...........................................................................................................................................................................................60db_ddladmin ............................................................................................................................................................................................60db_denydatareader .................................................................................................................................................................................60db_denydatawriter ...................................................................................................................................................................................60db_owner .................................................................................................................................................................................................61db_securityadmin ....................................................................................................................................................................................61dbo...........................................................................................................................................................................................................61guest ........................................................................................................................................................................................................62INFORMATION_SCHEMA ......................................................................................................................................................................62sys ...........................................................................................................................................................................................................63

Page 4: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 4 of 65 14 January 2017 15:59:20

[Northwind]Database in Database 'Northwind'

GeneralProperty ValueActive Connections 1Auto Create Statistics Enabled TrueAuto Update Statistics Enabled TrueCase Sensitive FalseCollation Latin1_General_CI_ASCompatibility Level Version130Create Date 10/10/2016 12:27:48Database Guid fddddc5e-90f9-44d3-be4b-7f1265b41bc1Database Snapshot Base NameData Space Usage 1776Dbo Login TrueDefault File Group PRIMARYDefault Full Text CatalogDefault Schema dboI D 5Index Space Usage 2032Is Accessible TrueIs Database Snapshot FalseIs Database Snapshot Base FalseIs Db Access Admin TrueIs Db Backup Operator TrueIs Db Datareader TrueIs Db Datawriter TrueIs Db Ddl Admin TrueIs Db Deny Datareader FalseIs Db Deny Datawriter FalseIs Db Owner TrueIs Db Security Admin TrueIs Full Text Enabled TrueIs Mail Host FalseIs Mirroring Enabled FalseIs System Object FalseIs Updateable TrueLast Backup Date 01/01/0001 00:00:00Last Log Backup Date 01/01/0001 00:00:00Log Reuse Wait Status NothingMirroring Failover Log Sequence Number 0Mirroring I D 00000000-0000-0000-0000-000000000000Mirroring PartnerMirroring Role NoneMirroring Role Sequence 0Mirroring Safety Level NoneMirroring Safety Sequence 0Mirroring Status NoneMirroring WitnessMirroring Witness Status NoneOwner STARPRINT-DEV-X\DellPrimary File Path C:\Program Files\Microsoft SQL Server\MSSQL13.SQLSERVER2016\MSSQL

\DATARecovery Fork Guid aa2cbb22-0f27-4de1-8c4c-9f769bb1c70a

Page 5: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 5 of 65 14 January 2017 15:59:20

Replication Options NoneService Broker Guid 0d649b78-b676-4a79-a0f6-0ccfc176cfd9Size 16Space Available 1600Status NormalUser Name dboVersion 852

Property Value

MiscellaneousProperty ValueActive Connections 1Broker Enabled TrueCase Sensitive FalseDatabase Guid fddddc5e-90f9-44d3-be4b-7f1265b41bc1Database Snapshot Base NameData Space Usage 1776Dbo Login TrueDefault File Group PRIMARYDefault Full Text CatalogDefault Schema dboIndex Space Usage 2032Is Accessible TrueIs Database Snapshot FalseIs Database Snapshot Base FalseIs Db Access Admin TrueIs Db Backup Operator TrueIs Db Datareader TrueIs Db Datawriter TrueIs Db Ddl Admin TrueIs Db Deny Datareader FalseIs Db Deny Datawriter FalseIs Db Owner TrueIs Db Security Admin TrueIs Full Text Enabled TrueIs Mail Host FalseIs Mirroring Enabled FalseIs Parameterization Forced FalseIs System Object FalseIs Updateable TrueLocal Cursors Default FalseLog Reuse Wait Status NothingPrimary File Path C:\Program Files\Microsoft SQL Server\MSSQL13.SQLSERVER2016\MSSQL

\DATARecovery Fork Guid aa2cbb22-0f27-4de1-8c4c-9f769bb1c70aReplication Options NoneService Broker Guid 0d649b78-b676-4a79-a0f6-0ccfc176cfd9Snapshot Isolation State DisabledUser Access MultipleUser Name dboVersion 852

FilesName File Type Filegroup Initial Size AutogrowthNorthwind Data PRIMARY 8192 65536,KBNorthwind_log Log 8192 65536,KB

Page 6: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 6 of 65 14 January 2017 15:59:20

File GroupsName Files Read Only DefaultPRIMARY 1 False True

OptionsProperty ValueAnsi Null Default FalseAnsi Nulls Enabled FalseAnsi Padding Enabled FalseAnsi Warnings Enabled FalseArithmetic Abort Enabled FalseAuto Close FalseAuto Create Statistics Enabled TrueAuto Shrink FalseAuto Update Statistics Async FalseAuto Update Statistics Enabled TrueClose Cursors On Commit Enabled FalseCompatibility Level Version130Concatenate Null Yields Null FalseDatabase Ownership Chaining FalseDate Correlation Optimization FalseNumeric Round Abort Enabled FalsePage Verify ChecksumQuoted Identifiers Enabled FalseRead Only FalseRecovery Model FullRecursive Triggers Enabled FalseTrustworthy False

Explicit Permissions:Permission Grantor Grant With Grant DenyConnect dbo X

MirroringProperty ValueMirroring Failover Log Sequence Number 0Mirroring I D 00000000-0000-0000-0000-000000000000Mirroring PartnerMirroring Redo Queue Max Size 0Mirroring Role NoneMirroring Role Sequence 0Mirroring Safety Level NoneMirroring Safety Sequence 0Mirroring Status NoneMirroring Timeout 0Mirroring WitnessMirroring Witness Status None

Page 7: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 7 of 65 14 January 2017 15:59:20

[dbo].[Categories]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CategoryID int X X2 CategoryName nvarchar(15)3 Description ntext(16) X4 Picture image X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 112 KBDate Last Modified 10/10/2016 12:27:51File Group PRIMARYIndex Space Used 24 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 8Text File Group PRIMARY

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Categories CategoryID X

Foreign KeysNone

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

CategoryName CategoryNamePK_Categories CategoryID X

ChecksNone

Page 8: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 8 of 65 14 January 2017 15:59:20

Explicit Permissions:None

Page 9: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 9 of 65 14 January 2017 15:59:20

[dbo].[CustomerCustomerDemo]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CustomerID nchar(5) X X2 CustomerTypeID nchar(10) X X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:51Data Space Used 0 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 0 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 0Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_CustomerCustomerDemo CustomerIDCustomerTypeID

Foreign Keys

Name Columns Che

ck

Enab

led

FK_CustomerCustomerDemoFK_CustomerCustomerDemo X X Primary/Unique Key Base Table CustomerCustomerDemo CustomerTypeID Foreign Key Base Table CustomerDemographics CustomerTypeIDFK_CustomerCustomerDemo_CustomersFK_CustomerCustomerDemo_Customers X X Primary/Unique Key Base Table CustomerCustomerDemo CustomerID Foreign Key Base Table Customers CustomerID

Page 10: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 10 of 65 14 January 2017 15:59:20

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

PK_CustomerCustomerDemo CustomerIDCustomerTypeID

ChecksNone

Explicit Permissions:None

Page 11: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 11 of 65 14 January 2017 15:59:20

[dbo].[CustomerDemographics]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CustomerTypeID nchar(10) X2 CustomerDesc ntext(16) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:51Data Space Used 0 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 0 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 0Text File Group PRIMARY

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_CustomerDemographics CustomerTypeID

Foreign KeysNone

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

PK_CustomerDemographics CustomerTypeID

ChecksNone

Explicit Permissions:None

Page 12: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 12 of 65 14 January 2017 15:59:20

[dbo].[Customers]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CustomerID nchar(5) X2 CompanyName nvarchar(40)3 ContactName nvarchar(30) X4 ContactTitle nvarchar(30) X5 Address nvarchar(60) X6 City nvarchar(15) X7 Region nvarchar(15) X8 PostalCode nvarchar(10) X9 Country nvarchar(15) X

10 Phone nvarchar(24) X11 Fax nvarchar(24) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 24 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 80 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 91Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Customers CustomerID X

Foreign KeysNone

TriggersNone

Indices

Page 13: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 13 of 65 14 January 2017 15:59:20

Name Columns Clu

ster

ed

Uni

que

City CityCompanyName CompanyNamePK_Customers CustomerID XPostalCode PostalCodeRegion Region

ChecksNone

Explicit Permissions:None

Page 14: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 14 of 65 14 January 2017 15:59:20

[dbo].[Employees]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 EmployeeID int X X2 LastName nvarchar(20)3 FirstName nvarchar(10)4 Title nvarchar(30) X5 TitleOfCourtesy nvarchar(25) X6 BirthDate datetime X7 HireDate datetime X8 Address nvarchar(60) X9 City nvarchar(15) X

10 Region nvarchar(15) X11 PostalCode nvarchar(10) X12 Country nvarchar(15) X13 HomePhone nvarchar(24) X14 Extension nvarchar(4) X15 Photo image X16 Notes ntext(16) X17 ReportsTo int X X18 PhotoPath nvarchar(255) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 232 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 40 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 9Text File Group PRIMARY

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Employees EmployeeID X

Foreign Keys

Page 15: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 15 of 65 14 January 2017 15:59:20

Name Columns Che

ck

Enab

led

FK_Employees_EmployeesFK_Employees_Employees X Primary/Unique Key Base Table Employees ReportsTo Foreign Key Base Table Employees EmployeeID

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

LastName LastNamePK_Employees EmployeeID XPostalCode PostalCode

ChecksCK_Birthdate

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:49 Existing X ([BirthDate]<getdate())

Explicit Permissions:None

Page 16: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 16 of 65 14 January 2017 15:59:20

[dbo].[EmployeeTerritories]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 EmployeeID int X X2 TerritoryID nvarchar(20) X X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:51Data Space Used 8 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 24 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 49Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_EmployeeTerritories EmployeeIDTerritoryID

Foreign Keys

Name Columns Che

ck

Enab

led

FK_EmployeeTerritories_EmployeesFK_EmployeeTerritories_Employees X X Primary/Unique Key Base Table EmployeeTerritories EmployeeID Foreign Key Base Table Employees EmployeeIDFK_EmployeeTerritories_TerritoriesFK_EmployeeTerritories_Territories X X Primary/Unique Key Base Table EmployeeTerritories TerritoryID Foreign Key Base Table Territories TerritoryID

Page 17: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 17 of 65 14 January 2017 15:59:20

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

PK_EmployeeTerritories EmployeeIDTerritoryID

ChecksNone

Explicit Permissions:None

Page 18: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 18 of 65 14 January 2017 15:59:20

[dbo].[Order Details]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 OrderID int X X2 ProductID int X X3 UnitPrice money ((0))4 Quantity smallint ((1))5 Discount real ((0))

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 72 KBDate Last Modified 10/10/2016 12:27:50File Group PRIMARYIndex Space Used 208 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 2155Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Order_Details OrderIDProductID

X

Foreign Keys

Name Columns Che

ck

Enab

led

FK_Order_Details_OrdersFK_Order_Details_Orders X Primary/Unique Key Base Table Order Details OrderID Foreign Key Base Table Orders OrderIDFK_Order_Details_ProductsFK_Order_Details_Products X Primary/Unique Key Base Table Order Details ProductID

Page 19: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 19 of 65 14 January 2017 15:59:20

Foreign Key Base Table Products ProductID

Name Columns Che

ck

Enab

led

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

OrderID OrderIDOrdersOrder_Details OrderIDPK_Order_Details OrderID

ProductIDX

ProductID ProductIDProductsOrder_Details ProductID

ChecksCK_Discount

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:50 Existing X ([Discount]>=(0) AND [Discount]<=(1))

CK_Quantity

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:50 Existing X ([Quantity]>(0))

CK_UnitPrice

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:50 Existing X ([UnitPrice]>=(0))

Explicit Permissions:None

Page 20: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 20 of 65 14 January 2017 15:59:20

[dbo].[Orders]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 OrderID int X X2 CustomerID nchar(5) X X3 EmployeeID int X X4 OrderDate datetime X5 RequiredDate datetime X6 ShippedDate datetime X7 ShipVia int X X8 Freight money X ((0))9 ShipName nvarchar(40) X

10 ShipAddress nvarchar(60) X11 ShipCity nvarchar(15) X12 ShipRegion nvarchar(15) X13 ShipPostalCode nvarchar(10) X14 ShipCountry nvarchar(15) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 160 KBDate Last Modified 10/10/2016 12:27:51File Group PRIMARYIndex Space Used 320 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 830Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Orders OrderID X

Foreign Keys

Name Columns Che

ck

Enab

led

FK_Orders_CustomersFK_Orders_Customers X

Page 21: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 21 of 65 14 January 2017 15:59:20

Primary/Unique Key Base Table Orders CustomerID Foreign Key Base Table Customers CustomerIDFK_Orders_EmployeesFK_Orders_Employees X Primary/Unique Key Base Table Orders EmployeeID Foreign Key Base Table Employees EmployeeIDFK_Orders_ShippersFK_Orders_Shippers X Primary/Unique Key Base Table Orders ShipVia Foreign Key Base Table Shippers ShipperID

Name Columns Che

ck

Enab

led

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

CustomerID CustomerIDCustomersOrders CustomerIDEmployeeID EmployeeIDEmployeesOrders EmployeeIDOrderDate OrderDatePK_Orders OrderID XShippedDate ShippedDateShippersOrders ShipViaShipPostalCode ShipPostalCode

ChecksNone

Explicit Permissions:None

Page 22: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 22 of 65 14 January 2017 15:59:20

[dbo].[Products]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ProductID int X X2 ProductName nvarchar(40)3 SupplierID int X X4 CategoryID int X X5 QuantityPerUnit nvarchar(20) X6 UnitPrice money X ((0))7 UnitsInStock smallint X ((0))8 UnitsOnOrder smallint X ((0))9 ReorderLevel smallint X ((0))

10 Discontinued bit ((0))

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 8 KBDate Last Modified 10/10/2016 12:27:51File Group PRIMARYIndex Space Used 88 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 77Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Products ProductID X

Foreign Keys

Name Columns Che

ck

Enab

led

FK_Products_CategoriesFK_Products_Categories X Primary/Unique Key Base Table Products CategoryID Foreign Key Base Table Categories CategoryID

Page 23: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 23 of 65 14 January 2017 15:59:20

FK_Products_SuppliersFK_Products_Suppliers X Primary/Unique Key Base Table Products SupplierID Foreign Key Base Table Suppliers SupplierID

Name Columns Che

ck

Enab

led

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

CategoriesProducts CategoryIDCategoryID CategoryIDPK_Products ProductID XProductName ProductNameSupplierID SupplierIDSuppliersProducts SupplierID

ChecksCK_Products_UnitPrice

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:51 Existing X ([UnitPrice]>=(0))

CK_ReorderLevel

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:51 Existing X ([ReorderLevel]>=(0))

CK_UnitsInStock

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:51 Existing X ([UnitsInStock]>=(0))

CK_UnitsOnOrder

Created Modified State Enab

led

Che

cked

Text10/10/2016 12:27:48 10/10/2016 12:27:51 Existing X ([UnitsOnOrder]>=(0))

Explicit Permissions:None

Page 24: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 24 of 65 14 January 2017 15:59:20

[dbo].[Region]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 RegionID int X2 RegionDescription nchar(50)

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:51Data Space Used 8 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 24 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 4Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Region RegionID

Foreign KeysNone

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

PK_Region RegionID

ChecksNone

Explicit Permissions:None

Page 25: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 25 of 65 14 January 2017 15:59:20

[dbo].[Shippers]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ShipperID int X X2 CompanyName nvarchar(40)3 Phone nvarchar(24) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 8 KBDate Last Modified 10/10/2016 12:27:51File Group PRIMARYIndex Space Used 8 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 3Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Shippers ShipperID X

Foreign KeysNone

TriggersNone

Indices

Name Columns Clu

ster

ed

Uni

que

PK_Shippers ShipperID X

ChecksNone

Explicit Permissions:None

Page 26: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 26 of 65 14 January 2017 15:59:20

[dbo].[Suppliers]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 SupplierID int X X2 CompanyName nvarchar(40)3 ContactName nvarchar(30) X4 ContactTitle nvarchar(30) X5 Address nvarchar(60) X6 City nvarchar(15) X7 Region nvarchar(15) X8 PostalCode nvarchar(10) X9 Country nvarchar(15) X

10 Phone nvarchar(24) X11 Fax nvarchar(24) X12 HomePage ntext(16) X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:48Data Space Used 24 KBDate Last Modified 10/10/2016 12:27:51File Group PRIMARYIndex Space Used 40 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 29Text File Group PRIMARY

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Suppliers SupplierID X

Foreign KeysNone

TriggersNone

Indices

Page 27: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 27 of 65 14 January 2017 15:59:20

Name Columns Clu

ster

ed

Uni

que

CompanyName CompanyNamePK_Suppliers SupplierID XPostalCode PostalCode

ChecksNone

Explicit Permissions:None

Page 28: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 28 of 65 14 January 2017 15:59:20

[dbo].[Territories]Table in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 TerritoryID nvarchar(20) X2 TerritoryDescription nchar(50)3 RegionID int X

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:51Data Space Used 8 KBDate Last Modified 10/10/2016 12:27:52File Group PRIMARYIndex Space Used 24 KBIs Indexable TrueIs Partitioned FalseIs System Object FalsePartition SchemeReplicated FalseRow Count 53Text File Group

Column - Extended PropertiesNone of columns were found to have any Extended Properties

Primary Keys

Name Columns Clu

ster

ed

Uni

que

PK_Territories TerritoryID

Foreign Keys

Name Columns Che

ck

Enab

led

FK_Territories_RegionFK_Territories_Region X X Primary/Unique Key Base Table Territories RegionID Foreign Key Base Table Region RegionID

TriggersNone

Indices

Page 29: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 29 of 65 14 January 2017 15:59:20

Name Columns Clu

ster

ed

Uni

que

PK_Territories TerritoryID

ChecksNone

Explicit Permissions:None

Page 30: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 30 of 65 14 January 2017 15:59:20

[dbo].[Alphabetical list of products]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ProductID int2 ProductName nvarchar(40)3 SupplierID int X4 CategoryID int X5 QuantityPerUnit nvarchar(20) X6 UnitPrice money X7 UnitsInStock smallint X8 UnitsOnOrder smallint X9 ReorderLevel smallint X

10 Discontinued bit11 CategoryName nvarchar(15)

Script12 create view "Alphabetical list of products" AS34 SELECT Products.*, Categories.CategoryName5 FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID6 WHERE (((Products.Discontinued)=0))

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 31: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 31 of 65 14 January 2017 15:59:20

[dbo].[Category Sales for 1997]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CategoryName nvarchar(15)2 CategorySales money X

Script12 create view "Category Sales for 1997" AS34 SELECT "Product Sales for 1997".CategoryName, Sum("Product Sales for 1997".ProductSales) AS CategorySales5 FROM "Product Sales for 1997"6 GROUP BY "Product Sales for 1997".CategoryName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 32: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 32 of 65 14 January 2017 15:59:20

[dbo].[Current Product List]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ProductID int X2 ProductName nvarchar(40)

Script12 create view "Current Product List" AS34 SELECT Product_List.ProductID, Product_List.ProductName5 FROM Products AS Product_List6 WHERE (((Product_List.Discontinued)=0))7 --ORDER BY Product_List.ProductName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 33: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 33 of 65 14 January 2017 15:59:20

[dbo].[Customer and Suppliers by City]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 City nvarchar(15) X2 CompanyName nvarchar(40)3 ContactName nvarchar(30) X4 Relationship varchar(9)

Script12 create view "Customer and Suppliers by City" AS34 SELECT City, CompanyName, ContactName, ''Customers AS Relationship5 FROM Customers6 UNION SELECT City, CompanyName, ContactName, ''Suppliers7 FROM Suppliers8 --ORDER BY City, CompanyName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 34: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 34 of 65 14 January 2017 15:59:20

[dbo].[Invoices]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ShipName nvarchar(40) X2 ShipAddress nvarchar(60) X3 ShipCity nvarchar(15) X4 ShipRegion nvarchar(15) X5 ShipPostalCode nvarchar(10) X6 ShipCountry nvarchar(15) X7 CustomerID nchar(5) X8 CustomerName nvarchar(40)9 Address nvarchar(60) X

10 City nvarchar(15) X11 Region nvarchar(15) X12 PostalCode nvarchar(10) X13 Country nvarchar(15) X14 Salesperson nvarchar(31)15 OrderID int16 OrderDate datetime X17 RequiredDate datetime X18 ShippedDate datetime X19 ShipperName nvarchar(40)20 ProductID int21 ProductName nvarchar(40)22 UnitPrice money23 Quantity smallint24 Discount real25 ExtendedPrice money X26 Freight money X

Script12 create view Invoices AS34 SELECT Orders.ShipName, Orders.ShipAddress, Orders.ShipCity, Orders.ShipRegion, Orders.ShipPostalCode,5 Orders.ShipCountry, Orders.CustomerID, Customers.CompanyName AS CustomerName, Customers.Address, Customers.City,6 Customers.Region, Customers.PostalCode, Customers.Country,7 (FirstName + '' + LastName) AS Salesperson,8 Orders.OrderID, Orders.OrderDate, Orders.RequiredDate, Orders.ShippedDate, Shippers.CompanyName As ShipperName,9 "Order Details".ProductID, Products.ProductName, "Order Details".UnitPrice, "Order Details".Quantity,

10 "Order Details".Discount,11 (CONVERT(money,("Order Details".UnitPrice*Quantity*(1-Discount)/100))*100) AS ExtendedPrice, Orders.Freight12 FROM Shippers INNER JOIN13 (Products INNER JOIN14 (15 (Employees INNER JOIN16 (Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID)17 ON Employees.EmployeeID = Orders.EmployeeID)18 INNER JOIN "Order Details" ON Orders.OrderID = "Order Details".OrderID)19 ON Products.ProductID = "Order Details".ProductID)

Page 35: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 35 of 65 14 January 2017 15:59:20

20 ON Shippers.ShipperID = Orders.ShipVia

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 36: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 36 of 65 14 January 2017 15:59:20

[dbo].[Order Details Extended]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 OrderID int2 ProductID int3 ProductName nvarchar(40)4 UnitPrice money5 Quantity smallint6 Discount real7 ExtendedPrice money X

Script12 create view "Order Details Extended" AS34 SELECT "Order Details".OrderID, "Order Details".ProductID, Products.ProductName,5 "Order Details".UnitPrice, "Order Details".Quantity, "Order Details".Discount,6 (CONVERT(money,("Order Details".UnitPrice*Quantity*(1-Discount)/100))*100) AS ExtendedPrice7 FROM Products INNER JOIN "Order Details" ON Products.ProductID = "Order Details".ProductID8 --ORDER BY "Order Details".OrderID

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 37: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 37 of 65 14 January 2017 15:59:20

[dbo].[Order Subtotals]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 OrderID int2 Subtotal money X

Script12 create view "Order Subtotals" AS34 SELECT "Order Details".OrderID, Sum(CONVERT(money,("Order Details".UnitPrice*Quantity*(1-Discount)/100))*100) AS Subtotal5 FROM "Order Details"6 GROUP BY "Order Details".OrderID

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 38: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 38 of 65 14 January 2017 15:59:20

[dbo].[Orders Qry]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 OrderID int2 CustomerID nchar(5) X3 EmployeeID int X4 OrderDate datetime X5 RequiredDate datetime X6 ShippedDate datetime X7 ShipVia int X8 Freight money X9 ShipName nvarchar(40) X

10 ShipAddress nvarchar(60) X11 ShipCity nvarchar(15) X12 ShipRegion nvarchar(15) X13 ShipPostalCode nvarchar(10) X14 ShipCountry nvarchar(15) X15 CompanyName nvarchar(40)16 Address nvarchar(60) X17 City nvarchar(15) X18 Region nvarchar(15) X19 PostalCode nvarchar(10) X20 Country nvarchar(15) X

Script12 create view "Orders Qry" AS34 SELECT Orders.OrderID, Orders.CustomerID, Orders.EmployeeID, Orders.OrderDate, Orders.RequiredDate,5 Orders.ShippedDate, Orders.ShipVia, Orders.Freight, Orders.ShipName, Orders.ShipAddress, Orders.ShipCity,6 Orders.ShipRegion, Orders.ShipPostalCode, Orders.ShipCountry,7 Customers.CompanyName, Customers.Address, Customers.City, Customers.Region, Customers.PostalCode,

T

Customers.CountryFROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted False

Page 39: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 39 of 65 14 January 2017 15:59:20

Is Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Property Value

Page 40: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 40 of 65 14 January 2017 15:59:20

[dbo].[Product Sales for 1997]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CategoryName nvarchar(15)2 ProductName nvarchar(40)3 ProductSales money X

Script12 create view "Product Sales for 1997" AS34 SELECT Categories.CategoryName, Products.ProductName,5 Sum(CONVERT(money,("Order Details".UnitPrice*Quantity*(1-Discount)/100))*100) AS ProductSales6 FROM (Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID)7 INNER JOIN (Orders8 INNER JOIN "Order Details" ON Orders.OrderID = "Order Details".OrderID)9 ON Products.ProductID = "Order Details".ProductID

10 WHERE (((Orders.ShippedDate) Between ''19970101 And ''19971231))11 GROUP BY Categories.CategoryName, Products.ProductName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 41: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 41 of 65 14 January 2017 15:59:20

[dbo].[Products Above Average Price]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ProductName nvarchar(40)2 UnitPrice money X

Script12 create view "Products Above Average Price" AS34 SELECT Products.ProductName, Products.UnitPrice5 FROM Products6 WHERE Products.UnitPrice>(SELECT AVG(UnitPrice) From Products)7 --ORDER BY Products.UnitPrice DESC

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 42: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 42 of 65 14 January 2017 15:59:20

[dbo].[Products by Category]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CategoryName nvarchar(15)2 ProductName nvarchar(40)3 QuantityPerUnit nvarchar(20) X4 UnitsInStock smallint X5 Discontinued bit

Script12 create view "Products by Category" AS34 SELECT Categories.CategoryName, Products.ProductName, Products.QuantityPerUnit, Products.UnitsInStock,

T

Products.DiscontinuedFROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryIDWHERE Products.Discontinued <> 1--ORDER BY Categories.CategoryName, Products.ProductName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 43: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 43 of 65 14 January 2017 15:59:20

[dbo].[Quarterly Orders]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CustomerID nchar(5) X2 CompanyName nvarchar(40) X3 City nvarchar(15) X4 Country nvarchar(15) X

Script12 create view "Quarterly Orders" AS34 SELECT DISTINCT Customers.CustomerID, Customers.CompanyName, Customers.City, Customers.Country5 FROM Customers RIGHT JOIN Orders ON Customers.CustomerID = Orders.CustomerID6 WHERE Orders.OrderDate BETWEEN ''19970101 And ''19971231

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 44: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 44 of 65 14 January 2017 15:59:20

[dbo].[Sales by Category]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 CategoryID int2 CategoryName nvarchar(15)3 ProductName nvarchar(40)4 ProductSales money X

Script12 create view "Sales by Category" AS34 SELECT Categories.CategoryID, Categories.CategoryName, Products.ProductName,5 Sum("Order Details Extended".ExtendedPrice) AS ProductSales6 FROM Categories INNER JOIN7 (Products INNER JOIN8 (Orders INNER JOIN "Order Details Extended" ON Orders.OrderID = "Order Details Extended".OrderID)9 ON Products.ProductID = "Order Details Extended".ProductID)

10 ON Categories.CategoryID = Products.CategoryID11 WHERE Orders.OrderDate BETWEEN ''19970101 And ''1997123112 GROUP BY Categories.CategoryID, Categories.CategoryName, Products.ProductName13 --ORDER BY Products.ProductName

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 45: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 45 of 65 14 January 2017 15:59:20

[dbo].[Sales Totals by Amount]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 SaleAmount money X2 OrderID int3 CompanyName nvarchar(40)4 ShippedDate datetime X

Script12 create view "Sales Totals by Amount" AS34 SELECT "Order Subtotals".Subtotal AS SaleAmount, Orders.OrderID, Customers.CompanyName, Orders.ShippedDate5 FROM Customers INNER JOIN6 (Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID)7 ON Customers.CustomerID = Orders.CustomerID8 WHERE ("Order Subtotals".Subtotal >2500) AND (Orders.ShippedDate BETWEEN ''19970101 And ''19971231)

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 46: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 46 of 65 14 January 2017 15:59:20

[dbo].[Summary of Sales by Quarter]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ShippedDate datetime X2 OrderID int3 Subtotal money X

Script12 create view "Summary of Sales by Quarter" AS34 SELECT Orders.ShippedDate, Orders.OrderID, "Order Subtotals".Subtotal5 FROM Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID6 WHERE Orders.ShippedDate IS NOT NULL7 --ORDER BY Orders.ShippedDate

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 47: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 47 of 65 14 January 2017 15:59:20

[dbo].[Summary of Sales by Year]View in Database 'Northwind'

Columns

ID Name DataType Com

pute

d

Full

Text

Inde

x

Fore

ign

Key

Iden

tity

Not

For

Rep

l

Nul

labl

e

Prim

ary

Key

Pers

iste

d

Default1 ShippedDate datetime X2 OrderID int3 Subtotal money X

Script12 create view "Summary of Sales by Year" AS34 SELECT Orders.ShippedDate, Orders.OrderID, "Order Subtotals".Subtotal5 FROM Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID6 WHERE Orders.ShippedDate IS NOT NULL7 --ORDER BY Orders.ShippedDate

TriggersNone

IndicesNone

Explicit Permissions:None

PropertiesProperty ValueAnsi Nulls Status TrueCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Is Encrypted FalseIs Indexable FalseIs Schema Bound FalseIs System Object FalseReturns View Metadata False

Page 48: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 48 of 65 14 January 2017 15:59:20

[dbo].[CustOrderHist]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:51Date Last Modified 10/10/2016 12:27:51Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script1 CREATE PROCEDURE CustOrderHist @CustomerID nchar(5)2 AS3 SELECT ProductName, Total=SUM(Quantity)4 FROM Products P, [Order Details] OD, Orders O, Customers C5 WHERE C.CustomerID = @CustomerID6 AND C.CustomerID = O.CustomerID AND O.OrderID = OD.OrderID AND OD.ProductID = P.ProductID7 GROUP BY ProductName

Explicit Permissions:None

Page 49: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 49 of 65 14 January 2017 15:59:20

[dbo].[CustOrdersDetail]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:51Date Last Modified 10/10/2016 12:27:51Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script12 CREATE PROCEDURE CustOrdersDetail @OrderID int3 AS4 SELECT ProductName,5 UnitPrice=ROUND(Od.UnitPrice, 2),6 Quantity,7 Discount=CONVERT(int, Discount * 100),8 ExtendedPrice=ROUND(CONVERT(money, Quantity * (1 - Discount) * Od.UnitPrice), 2)9 FROM Products P, [Order Details] Od

10 WHERE Od.ProductID = P.ProductID and Od.OrderID = @OrderID

Explicit Permissions:None

Page 50: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 50 of 65 14 January 2017 15:59:20

[dbo].[CustOrdersOrders]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:51Date Last Modified 10/10/2016 12:27:51Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script12 CREATE PROCEDURE CustOrdersOrders @CustomerID nchar(5)3 AS4 SELECT OrderID,5 OrderDate,6 RequiredDate,7 ShippedDate8 FROM Orders9 WHERE CustomerID = @CustomerID

10 ORDER BY OrderID

Explicit Permissions:None

Page 51: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 51 of 65 14 January 2017 15:59:20

[dbo].[Employee Sales by Country]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script12 create procedure "Employee Sales by Country"3 @Beginning_Date DateTime, @Ending_Date DateTime AS4 SELECT Employees.Country, Employees.LastName, Employees.FirstName, Orders.ShippedDate, Orders.OrderID,

T

"Order Subtotals".Subtotal AS SaleAmountFROM Employees INNER JOIN

(Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID)ON Employees.EmployeeID = Orders.EmployeeID

WHERE Orders.ShippedDate Between @Beginning_Date And @Ending_Date

Explicit Permissions:None

Page 52: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 52 of 65 14 January 2017 15:59:20

[dbo].[Sales by Year]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script12 create procedure "Sales by Year"3 @Beginning_Date DateTime, @Ending_Date DateTime AS4 SELECT Orders.ShippedDate, Orders.OrderID, "Order Subtotals".Subtotal, DATENAME(yy,ShippedDate) AS Year5 FROM Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID6 WHERE Orders.ShippedDate Between @Beginning_Date And @Ending_Date

Explicit Permissions:None

Page 53: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 53 of 65 14 January 2017 15:59:20

[dbo].[SalesByCategory]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:51Date Last Modified 10/10/2016 12:27:51Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script1 CREATE PROCEDURE SalesByCategory2 @CategoryName nvarchar(15), @OrdYear nvarchar(4) = ''19983 AS4 IF @OrdYear != ''1996 AND @OrdYear != ''1997 AND @OrdYear != ''19985 BEGIN6 SELECT @OrdYear = ''19987 END89 SELECT ProductName,

10 TotalPurchase=ROUND(SUM(CONVERT(decimal(14,2), OD.Quantity * (1-OD.Discount) * OD.UnitPrice)), 0)11 FROM [Order Details] OD, Orders O, Products P, Categories C12 WHERE OD.OrderID = O.OrderID13 AND OD.ProductID = P.ProductID14 AND P.CategoryID = C.CategoryID15 AND C.CategoryName = @CategoryName16 AND SUBSTRING(CONVERT(nvarchar(22), O.OrderDate, 111), 1, 4) = @OrdYear17 GROUP BY ProductName18 ORDER BY ProductName

Explicit Permissions:None

Page 54: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 54 of 65 14 January 2017 15:59:20

[dbo].[Ten Most Expensive Products]StoredProcedure in Database 'Northwind'

PropertiesProperty ValueAssembly NameClass NameCreate Date 10/10/2016 12:27:49Date Last Modified 10/10/2016 12:27:49Execution Context CallerFor Replication FalseImplementation Type TransactSqlMethod NameRecompile FalseStartup False

Script12 create procedure "Ten Most Expensive Products" AS3 SET ROWCOUNT 104 SELECT Products.ProductName AS TenMostExpensiveProducts, Products.UnitPrice5 FROM Products6 ORDER BY Products.UnitPrice DESC

Explicit Permissions:None

[Microsoft.SqlServer.Types]SqlAssembly in Database 'Northwind'

PropertiesProperty Value

[dbo]User in Database 'Northwind'

Database role membershipdb_owner

Schemas owned by this Userdbo

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 10/10/2016 12:27:48Default Schema dboHas D B Access TrueIs System Object TrueLogin STARPRINT-DEV-X\DellLogin Type WindowsUserUser Type SqlLogin

[guest]

Page 55: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 55 of 65 14 January 2017 15:59:20

User in Database 'Northwind'

Database role membershipNone

Schemas owned by this Userguest

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 08/04/2003 09:10:42Default Schema guestHas D B Access FalseIs System Object TrueLoginLogin Type SqlLoginUser Type NoLogin

[INFORMATION_SCHEMA]User in Database 'Northwind'

Database role membershipNone

Schemas owned by this UserINFORMATION_SCHEMA

PropertiesProperty ValueCreate Date 13/04/2009 12:59:11Date Last Modified 13/04/2009 12:59:11Default SchemaHas D B Access FalseIs System Object TrueLoginLogin Type SqlLoginUser Type NoLogin

[sys]User in Database 'Northwind'

Database role membershipNone

Schemas owned by this UserMicrosoft.SqlServer.Typessys

PropertiesProperty ValueCreate Date 13/04/2009 12:59:11Date Last Modified 13/04/2009 12:59:11Default SchemaHas D B Access FalseIs System Object True

Page 56: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 56 of 65 14 January 2017 15:59:20

LoginLogin Type SqlLoginUser Type NoLogin

Property Value

[db_accessadmin]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_accessadmin

MembersNone

Explicit Permissions:None

[db_backupoperator]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_backupoperator

MembersNone

Explicit Permissions:None

[db_datareader]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_datareader

Page 57: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 57 of 65 14 January 2017 15:59:20

MembersNone

Explicit Permissions:None

[db_datawriter]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_datawriter

MembersNone

Explicit Permissions:None

[db_ddladmin]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_ddladmin

MembersNone

Explicit Permissions:None

[db_denydatareader]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemas

Page 58: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 58 of 65 14 January 2017 15:59:20

db_denydatareader

MembersNone

Explicit Permissions:None

[db_denydatawriter]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_denydatawriter

MembersNone

Explicit Permissions:None

[db_owner]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Owned Schemasdb_owner

Membersdbo

Explicit Permissions:None

[db_securityadmin]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role TrueOwner dbo

Page 59: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 59 of 65 14 January 2017 15:59:20

Owned Schemasdb_securityadmin

MembersNone

Explicit Permissions:None

[public]DatabaseRole in Database 'Northwind'

PropertiesProperty ValueCreate Date 08/04/2003 09:10:42Date Last Modified 13/04/2009 12:59:14Is Fixed Role FalseOwner dbo

Owned SchemasNone

MembersNone

Explicit Permissions:None

[db_accessadmin]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_accessadmin

[db_backupoperator]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_backupoperator

Page 60: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 60 of 65 14 January 2017 15:59:20

[db_datareader]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_datareader

[db_datawriter]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_datawriter

[db_ddladmin]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_ddladmin

[db_denydatareader]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_denydatareader

[db_denydatawriter]Schema in Database 'Northwind'

Page 61: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 61 of 65 14 January 2017 15:59:20

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_denydatawriter

[db_owner]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_owner

[db_securityadmin]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner db_securityadmin

[dbo]Schema in Database 'Northwind'

Owned ObjectsName TypeAlphabetical list of products ViewCategories TableCategory Sales for 1997 ViewCurrent Product List ViewCustomer and Suppliers by City ViewCustomerCustomerDemo TableCustomerDemographics TableCustomers TableCustOrderHist StoredProcedureCustOrdersDetail StoredProcedureCustOrdersOrders StoredProcedureEmployee Sales by Country StoredProcedureEmployees TableEmployeeTerritories Table

Page 62: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 62 of 65 14 January 2017 15:59:20

EventNotificationErrorsQueue ServiceQueueInvoices ViewOrder Details TableOrder Details Extended ViewOrder Subtotals ViewOrders TableOrders Qry ViewProduct Sales for 1997 ViewProducts TableProducts Above Average Price ViewProducts by Category ViewQuarterly Orders ViewQueryNotificationErrorsQueue ServiceQueueRegion TableSales by Category ViewSales by Year StoredProcedureSales Totals by Amount ViewSalesByCategory StoredProcedureServiceBrokerQueue ServiceQueueShippers TableSummary of Sales by Quarter ViewSummary of Sales by Year ViewSuppliers TableTen Most Expensive Products StoredProcedureTerritories Table

Name Type

Explicit Permissions:None

PropertiesProperty ValueOwner dbo

[guest]Schema in Database 'Northwind'

Owned ObjectsNone

Explicit Permissions:None

PropertiesProperty ValueOwner guest

[INFORMATION_SCHEMA]Schema in Database 'Northwind'

Owned ObjectsName TypeCHECK_CONSTRAINTS ViewCOLUMN_DOMAIN_USAGE ViewCOLUMN_PRIVILEGES ViewCOLUMNS View

Page 63: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

STARPRINT-DEV-X\Dell Northwind

Northwind 63 of 65 14 January 2017 15:59:20

CONSTRAINT_COLUMN_USAGE ViewCONSTRAINT_TABLE_USAGE ViewDOMAIN_CONSTRAINTS ViewDOMAINS ViewKEY_COLUMN_USAGE ViewPARAMETERS ViewREFERENTIAL_CONSTRAINTS ViewROUTINE_COLUMNS ViewROUTINES ViewSCHEMATA ViewSEQUENCES ViewTABLE_CONSTRAINTS ViewTABLE_PRIVILEGES ViewTABLES ViewVIEW_COLUMN_USAGE ViewVIEW_TABLE_USAGE ViewVIEWS View

Name Type

Explicit Permissions:None

PropertiesProperty ValueOwner INFORMATION_SCHEMA

[sys]Schema in Database 'Northwind'

Owned Objects

Explicit Permissions:None

PropertiesProperty ValueOwner sys

Page 64: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

Index

Northwind 64 of 65 14 January 2017 15:59:21

AAddress, 12, 14, 26, 34, 38Alphabetical list of products, 30, 61

BBirthDate, 14

CCategories, 7, 22, 61CategoriesProducts, 23Category Sales for 1997, 31, 61CategoryID, 7, 22, 23, 30, 44CategoryName, 7, 30, 31, 40, 42, 44CategorySales, 31CHECK_CONSTRAINTS, 62City, 12-14, 26, 33, 34, 38, 43CK_Birthdate, 15CK_Discount, 19CK_Products_UnitPrice, 23CK_Quantity, 19CK_ReorderLevel, 23CK_UnitPrice, 19CK_UnitsInStock, 23CK_UnitsOnOrder, 23COLUMN_DOMAIN_USAGE, 62COLUMN_PRIVILEGES, 62COLUMNS, 62CompanyName, 12, 13, 25-27, 33, 38, 43, 45CONSTRAINT_COLUMN_USAGE, 63CONSTRAINT_TABLE_USAGE, 63ContactName, 12, 26, 33ContactTitle, 12, 26Country, 12, 14, 26, 34, 38, 43Current Product List, 32, 61Customer and Suppliers by City, 33, 61CustomerCustomerDemo, 9, 61CustomerDemographics, 9, 11, 61CustomerDesc, 11CustomerID, 9, 12, 20, 21, 34, 38, 43CustomerName, 34Customers, 9, 12, 21, 61CustomersOrders, 21CustomerTypeID, 9, 11CustOrderHist, 48, 61CustOrdersDetail, 49, 61CustOrdersOrders, 50, 61

Ddb_accessadmin, 56, 59db_backupoperator, 56, 59db_datareader, 56, 60db_datawriter, 57, 60db_ddladmin, 57, 60db_denydatareader, 57, 58, 60db_denydatawriter, 58, 60db_owner, 54, 58, 61db_securityadmin, 58, 59, 61dbo, 54, 58, 61Description, 7Discontinued, 22, 30, 42Discount, 18, 34, 36DOMAIN_CONSTRAINTS, 63DOMAINS, 63

EEmployee Sales by Country, 51, 61EmployeeID, 14, 16, 20, 21, 38Employees, 14-16, 21, 61EmployeesOrders, 21EmployeeTerritories, 16, 61EventNotificationErrorsQueue, 62ExtendedPrice, 34, 36Extension, 14

FFax, 12, 26FirstName, 14FK_CustomerCustomerDemo, 9FK_CustomerCustomerDemo_Customers, 9FK_Employees_Employees, 15FK_EmployeeTerritories_Employees, 16FK_EmployeeTerritories_Territories, 16FK_Order_Details_Orders, 18FK_Order_Details_Products, 18FK_Orders_Customers, 20FK_Orders_Employees, 21FK_Orders_Shippers, 21FK_Products_Categories, 22FK_Products_Suppliers, 23FK_Territories_Region, 28Freight, 20, 34, 38

Gguest, 55, 62

HHireDate, 14HomePage, 26HomePhone, 14

IINFORMATION_SCHEMA, 55, 62Invoices, 34, 62

KKEY_COLUMN_USAGE, 63

LLastName, 14, 15

MMicrosoft.SqlServer.Types, 54, 55

NNorthwind, 4Notes, 14

OOrder Details, 18, 62Order Details Extended, 36, 62Order Subtotals, 37, 62OrderDate, 20, 21, 34, 38OrderID, 18-20, 34, 36-38, 45-47Orders, 18, 20, 21, 62Orders Qry, 38, 62OrdersOrder_Details, 19

PPARAMETERS, 63

Phone, 12, 25, 26Photo, 14PhotoPath, 14Picture, 7PK_Categories, 7PK_CustomerCustomerDemo, 9, 10PK_CustomerDemographics, 11PK_Customers, 12, 13PK_Employees, 14, 15PK_EmployeeTerritories, 16, 17PK_Order_Details, 18, 19PK_Orders, 20, 21PK_Products, 22, 23PK_Region, 24PK_Shippers, 25PK_Suppliers, 26, 27PK_Territories, 28, 29PostalCode, 12-15, 26, 27, 34, 38Product Sales for 1997, 40, 62ProductID, 18, 19, 22, 30, 32, 34, 36ProductName, 22, 23, 30, 32, 34, 36, 40-42,

44Products, 19, 22, 23, 62Products Above Average Price, 41, 62Products by Category, 42, 62ProductSales, 40, 44ProductsOrder_Details, 19public, 59

QQuantity, 18, 34, 36QuantityPerUnit, 22, 30, 42Quarterly Orders, 43, 62QueryNotificationErrorsQueue, 62

RREFERENTIAL_CONSTRAINTS, 63Region, 12-14, 24, 26, 28, 34, 38, 62RegionDescription, 24RegionID, 24, 28Relationship, 33ReorderLevel, 22, 30ReportsTo, 14RequiredDate, 20, 34, 38ROUTINE_COLUMNS, 63ROUTINES, 63

SSaleAmount, 45Sales by Category, 44, 62Sales by Year, 52, 62Sales Totals by Amount, 45, 62SalesByCategory, 53, 62Salesperson, 34SCHEMATA, 63SEQUENCES, 63ServiceBrokerQueue, 62ShipAddress, 20, 34, 38ShipCity, 20, 34, 38ShipCountry, 20, 34, 38ShipName, 20, 34, 38ShippedDate, 20, 21, 34, 38, 45-47ShipperID, 25ShipperName, 34Shippers, 21, 25, 62ShippersOrders, 21

Page 65: My Company - StarPrint Tools Create Statistics Enabled True ... Name File Type Filegroup Initial Size Autogrowth ... Is Partitioned False Is System Object False

Index

Northwind 65 of 65 14 January 2017 15:59:21

ShipPostalCode, 20, 21, 34, 38ShipRegion, 20, 34, 38ShipVia, 20, 38Subtotal, 37, 46, 47Summary of Sales by Quarter, 46, 62Summary of Sales by Year, 47, 62SupplierID, 22, 23, 26, 30Suppliers, 23, 26, 62SuppliersProducts, 23sys, 55, 63

TTABLE_CONSTRAINTS, 63TABLE_PRIVILEGES, 63TABLES, 63Ten Most Expensive Products, 54, 62Territories, 16, 28, 62TerritoryDescription, 28TerritoryID, 16, 28Title, 14TitleOfCourtesy, 14

UUnitPrice, 18, 22, 30, 34, 36, 41UnitsInStock, 22, 30, 42UnitsOnOrder, 22, 30

VVIEW_COLUMN_USAGE, 63VIEW_TABLE_USAGE, 63VIEWS, 63


Recommended