![]() ![]() These demonstration and sample objects are meant to provide simple examples of coding specific functions and are not developed to prevent vulnerabilities from being introduced to the SQL Server and the OS. Even though the very popular "AdventureWorks" database is no longer available by default, it introduces a vulnerability to SQL Server and must be removed.ĭemonstration and sample database objects and applications present publicly known attack points for malicious users. Examples include, but are not limited to, installing advertising software, demonstrations, or browser plug-ins not related to requirements and providing a wide array of functionality not required for every mission, but which cannot be disabled.Īpplications must adhere to the principles of least functionality by providing only essential capabilities. It is detrimental for applications to provide, or install by default, functionality exceeding requirements or mission objectives. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions). Production.Product Columns - ProductID (PK, int, not null) Name (Name(nvarchar(50)), not null) Product Number (nvarchar(25), not null) MakeFlag (Flag(bit), not null) Finished GoodsFlag (Flag(bit), not null) Color (nvarchar(15), null) SafetyStockLevel (smallint, not null) ReorderPoint (smallint, not null) StandardCost (money, not null) ListPrice (money, not null) Size (nvarchar(5), null) - SizeUnitMeasureCode (FK, nchar(3), null) - WeightUnitMeasureCode (FK, nchar(3), null) Weight (decimal(8,2), null) DaysToManufacture (int, not null) ProductLine (nchar(2), null) Class (nchar(2), null) Style (nchar(2), null) w ProductSubcategoryID (FK, int, null) - ProductModellD (FK, int, null) SellStartDate (datetime, not null) SellEndDate (datetime, null) DiscontinuedDate (datetime, null) rowguid (uniqueidentifier, not null) ModifiedDate (datetime, not null)Ġ Production.Information systems are capable of providing a wide variety of functions and services. Credit Card Columns To Credit CardID (PK, int, not null) CardType (nvarchar(50), not null) CardNumber (nvarchar(25), not null) ExpMonth (tinyint, not null) ExpYear (smallint, not null) ModifiedDate (datetime, not null) Keys Constraints Triggers Indexes Statistics Sales.Currency Sales.Currency Rate Sales.Customer Sales.PersonCredit Card Sales SalesOrderDetail Sales Sales OrderHeader Columns SalesOrderID (PK, int, not null) Revision Number (tinyint, not null) OrderDate (datetime, not null) DueDate (datetime, not null) ShipDate (datetime, null) Status (tinyint, not null) OnlineOrderFlag (Flag(bit), not null) 3 Sales OrderNumber (Computed, nvarchar(25), Purchase OrderNumber (OrderNumber(nvarch Account Number (Account Number(nvarchar( - CustomerID (FK, int, not null) Sales PersonlD (FK, int, null) - TerritoryID (FK, int, null) - BillToAddressID (FK, int, not null) - ShipToAddressID (FK, int, not null) - ShipMethodID (FK, int, not null) O Credit CardID (FK, int, null) CreditCard Approval Code (varchar(15), null) CurrencyRatelD (FK, int, null) Sub Total (money, not null) TaxAmt (money, not null) Freight (money, not null) TotalDue (Computed, money, not null) Comment (nvarchar(128), null) rowguid (uniqueidentifier, not null) ModifiedDate (datetime, not null) Production.Product and the Production.Workorder tables. ![]() Sort by Scrapped Quantity, and then by Product ID. Order ID, Order Quantity, Scrapped Quantity, and Scrap Reason ID. List the Product ID, Product Name, Product Number, Work Scrapped quantity greater than 20 and an order quantity greater Write a query to find out how many products had a Number, Expiration Month, Expiration Year, Sales Order ID, andĬustomer ID. Sort by expiration year, and thenĮxpiration month. ![]() List the CreditĬard ID, Card Type, Card Number, Expiration Month, Expiration Year, ![]() Write a query to find out how many Vista credit cardsĮxpire in 2008 or more recent (2009, 2010, etc.). Require the access of at least 2 tables, maybe more – use the JOINĬommand to connect the tables). Using the Adventureworks 2012 database (downloaded from ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |