SQL DBA Chapter 1

33 cards   |   Total Attempts: 184
  

Cards In This Set

Front Back
Database
Structured collection of information stored according to a defined model and accessible through standard or proprietary database communications languages.
Database Model
Defines the way data is stored
Flat-File Databases
Stored in a single container, data redundacy, higher costs, CPU, and easier
Create SQL Statement to get Product ID, Product Name and Sales Order ID from Products Table
SELECT dbo.Sales.ProductID, dbo.Sales.ProductName, Dbo.Sales.OrderID, dbo.Sales.Quantity, dbo.Sales.Price FROM dbo.Products;
Create SQL Statement to get Product ID, Product Name and Sales Order ID from Products and Sales Tables. Product ID is the Join
SELECT dbo.Products.ProductsID, dbo.Products.ProductName, dbo.Sales.OrderiID FROM dbo.Products INNER JOIN dbo.Sales ON dbo.Products.ProductID = dbo.Sales.ProductID;
OLAP
Online Analytical Processing: performs multidimensional analysis of business data and provides the capability for complex calculations, trend analysis, and sophisticated data modeling.
OLTP
Online transaction processing, or OLTP, is a class of information systems that facilitate and manage transaction-oriented applications, typically for data entry and retrieval transaction processing.
Normalization
Process used to ensure that relational data is stored in a manner that removes or reduces anomalies in data modifications. The process also results in a reduction in redundancy within the data store.
Relational Databases
Store information in separate containers called tables
Benefits of Relational Databases
Indexed, optimized more efficiently, consume less space, handle more users, more scalable.
Use of Access
Local use for 3-5 users. Do not scale well. can use Microsoft Access to build forms, queries, and reports against a backend SQL Server database as well. can be used as a frontend for local SQL Server 2012 Express databases, although you will probably have to design the database in SQL Server Management Studio Express 2012.
Benefits of Server Based Databases
Data availability, integrity, and security.
Factors for Data Availibility
Data appropriately stored, backed up and protect from catastrophic failures, and available when users want it.
Define Data Integrity
Data is could be what it should be, accuracy, no malicious changes, and not corrupted.
Index
Collection of data and reference information used to locate records more quickly in a table.