Section 1

Preview this deck

Other client/server system architectures

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (86)

Section 1

(50 cards)

Other client/server system architectures

Front

Application servers store business components. Web servers store web applications (designed to run on a web server) and web services (like web applications, designed to run on a web server).

Back

Composite Primary Key

Front

Primary key uses two or more columns.

Back

Hierarchial Database Model

Front

the data elements at one level "own" the data elements at the next lower level. - Limited to a one-to-many relationships called parent/child relationships - not as easy to use as relational databases.

Back

Wide Area Network (WAN)

Front

A network that connects devices in geographically separated areas. Two or more LANs (local area network) can connect, and/or an individual system and LAN can connect and share data over larger private networks.

Back

nchar, nvarchar

Front

A string of letters, symbols, and numbers in the Unicode character set

Back

Null Value

Front

A special field value, distinct from zero, blank, or any other value, that indicates that the value for the field is missing or otherwise unknown.

Back

Table

Front

An arrangement of data made up of horizontal rows and vertical columns.

Back

Server

Front

a computer with enough processor speed, internal memory (RAM), and disk storage to store the files and databases of the system and provide services to the clients of the system. Referred to as a database server.

Back

Rows

Front

Contains a set of values for a single instance of the entity

Back

float, real

Front

floating-point values that contain an approximation of a decimal value

Back

Enterprise Systems

Front

When a system consists of networks, mid-range systems, and mainframe systems. Provide enterprise wide support and data access.

Back

Database Management System (DBMS)

Front

A system for managing data that allows the user to store, retrieve, and analyze information. Microsoft SQL Server is a DBMS and is referred to as the back end. DBMS does the back-end processing.

Back

How do web applications work?

Front

- Web browser on a client sends a request to a web server. - The web server process the request - Web server passes any request for data to the database server - Database server returns the results to the web server - Web server returns the response to the client's browser

Back

bit

Front

A contraction of "Binary Digit". - A bit is the single unit of information in a computer, typically represented as a 0 or 1. - Can represent a true or false value

Back

char, varchar

Front

A string of letters, symbols, and numbers in the ASCII character set

Back

datetime, smalldatetime

Front

alphanumeric data that represents a date and time. Various formats are acceptable.

Back

data access API (application programming interface)

Front

It provides the interface between the application program and the DBMS.

Back

Primary key

Front

Unique identifier of each row in the table Usually a single column, but it can be multiples (composite primary key)

Back

Non-Primary key

Front

Unique keys that identifies each row in a table.

Back

Object Database

Front

An object database, also called an object-oriented database, stores data as objects, which can be grouped into classes and defined by attributes and methods - common with object-oriented programming languages such as C#, C++, and Java

Back

Cell

Front

Intersection of a row and a column is a cell. It stores a single value.

Back

Network Database

Front

-A collection of physically linked records in a one-to-many relationship in which a member (child) can have more than one owner (parent) -a database where records can be networked to other records through paths that are different from the hierarchy itself

Back

Microsoft API

Front

ADO.NET Communicates directly with SQL server.

Back

First database released

Front

Oracle 1979 DB2 1985 MySQL 2000 SQL Server 1987

Back

front-end processing

Front

The processing done by the client software. The client is the front end.

Back

network operating system (NOS)

Front

The operating system that runs a network, steering information between computers and managing security and users

Back

Clients

Front

Computers, such as users' personal computers, that use any of the services provided by servers. PCs, Macs, or workstations of the system

Back

decimal, numeric

Front

Decimal values that are accurate to the least significant digit. The values can contain an integer portion and a decimal portion.

Back

money, smallmoney

Front

monetary values that are accurate to four decimal places

Back

Client-Server System

Front

processing is divided between client and server

Back

Local Area Network (LAN)

Front

a computer network that covers a small area. A simple client-server system.

Back

How standard SQL does not help you?

Front

Any non-trivial application will require modifications when moved from one SQL database to another.

Back

Foreign key

Front

A primary key of one table that appears an attribute in another table and acts to provide a logical relationship among the two tables. A table may contain more than one foreign keys. When you define a foreign key for a table in SQL, you cannot add rows to the table with the foreign key unless there is a matching primary key in the related table.

Back

SQL Query

Front

A command created using SQL database client software. The queries are passed to the DBMS through the API. Afterwards the DBMS interprets the query and sends the results back to the client.

Back

One-to-many relationship

Front

A relationship between two tables in a database in which one record in the primary table can match many (zero, one, or many) records in the related table. - The most common type of relationship.

Back

File-Handling System

Front

All of the processing is done on the clients

Back

Network

Front

Cables, communication lines, and other components that connect the clients and the servers of the system.

Back

Why does SQL server use data types?

Front

The data type assigned to a column determines the type and size of the information that can be stored in a cell.

Back

Index

Front

An efficient way to access data from a table based on the value in specific columns. An index is automatically created for a table's primary and non-primary keys

Back

Application Software

Front

Computer software created to allow the user to perform a specific job or task. Application software does the work that the user wants to do.

Back

Primary platforms

Front

Oracle is used for large, mission-critical systems that run on one or more Unix servers. Released 1979 - Unix/Linux - z/OS - Windows - Mac OS DB2 for large, mission-critical systems that run on legacy IBM mainframe systems. Released 1985 - OS/390, z/OS, and AIX - Unix/Linux - Windows - Mac OS MySQL is an open-source database that runs on all major operating systems and used for web applications. Released 2000 - Unix/Linux - Windows - Mac OS SQL Server used for small to medium-sized systems that run on one or more Windows servers, releasing a Linux version - Windows (1987) - Linux (2017)

Back

Relationships

Front

In a relational database, relationships exist between the primary key in one table and the foreign key of another table, and between a unique key in one table and a foreign key in another table.

Back

Columns

Front

Represent some attribute of the entity

Back

int, bigint, smallint, tinyint

Front

Integer values of various sizes.

Back

relational database

Front

A database that represents data as a collection of tables in which all data relationships are represented by common values in related tables

Back

How standard SQL helps you?

Front

- Basic SQL statements are the same for all SQL dialects - Easy to learn other dialects

Back

one-to-one relationship

Front

In databases, a relationship in which each record in Table A can have only one matching record in Table B, and vice versa.

Back

Default Value

Front

A value a field will assume unless an explicit value is entered for that field.

Back

Identity Column

Front

A numeric column whose value is generated automatically when a row is added to the table. - Estimate using the Is Identity, Identity Seed, and Identity Increment properties.

Back

Many-to-many relationships

Front

Relationships involving two entity types in which an instance of one type can relate to many instances of the second type, and an instance of the second type can relate to many instances of the first. It can be broken down into two one-to-many relationships.

Back

Section 2

(36 cards)

trigger

Front

a special type of procedure that is executed when rows are inserted, updated, or deleted from a table or when the definition of a database is changed. -Typically used to check the validity of the data in a row being updated or added to a table.

Back

ALTER INDEX

Front

DDL Changes the structure of an existing index

Back

Disconnected data architecture

Front

- Represents the objects that open and close a connection to the data source as needed. Your application works with data that was copied from the data source. Any changes made to the "copied" data in the Dataset will be later reconciled with the data source. - Connected applications alone don't fulfill the demands of today's distributed applications. Improved performance, more efficient and more complex than the connected approach.

Back

Command object

Front

To retrieve data from a database; contains a SELECT statement -To access a database using the object, execute the command object. - ADO.NET object

Back

INNER JOIN

Front

Most common type of join; includes rows in the query only when the joined field matches records in both tables.

Back

Update

Front

DML Changes one or more existing rows in a table

Back

Data Manipulation Language (DML)

Front

A specific language, provided with a DBMS, which allows users to access and modify the data, to make queries, and to generate reports. - Select - Insert - Update - Delete

Back

database driver

Front

software that connects a given application program to a particular DBMS - JDBC requires a Java driver - ADO.NET (Microsoft data access model) includes its own driver so it can communicate with SQL Server.

Back

CREATE DATABASE

Front

DDL The SQL command to create a database

Back

Data reader object

Front

Used to read the rows in the result set. - ADO.NET object

Back

stored procedure

Front

Is one or more SQL statement that have been complied and stored within a database. - Can be started by application code on the client. CREATE PROCEDURE EXEC PROCEDURE

Back

Calculated Value

Front

A result set that is calculate from columns in a table.

Back

Common cause of SSMS errors

Front

· Forgetting to select the correct database from the Available Databases combo box · Misspelling the name of a table or column · Misspelling a keyword · Omitting the closing quotation mark for a character string

Back

User Defined Functions

Front

Compact segments of user-written SQL code that can accept parameters, and return either a value or a table

Back

Base table

Front

The SELECT statement to retrieve selected columns and rows from a base table, which is identified using the FROM statement.

Back

CREATE INDEX

Front

DDL A SQL command that creates indexes on the basis of a selected attribute or attributes.

Back

How does command, connection, and data reader objects work together?

Front

To insert, update, or delete data in a database: 1. execute the command object (INSERT, UPDATE, or DELETE statement) 2. The command object uses a connection object to connect to the database and update the data. 3. Read the results one row at a time using a data reader object.

Back

control-of-flow language

Front

lets you perform conditional processing within the stored procedure

Back

.NET data provider

Front

Provides the classes that let you create the objects that you use to retrieve data from a database and to store data in a database. - Command - Connection - Data reader

Back

SQL Coding Recommendations

Front

· Start each new clause on a new line. · Break long clauses into multiple lines and indent continued lines. · Capitalize the first letter of each keyword and each word in column and table names. · End each statement with a semicolon (;). · Use comments only for portions of code that are difficult to understand.

Back

Delete

Front

DML Deletes one or more existing rows from a table.

Back

Connection object

Front

Used to connect to the database, perform the requested operations, and return the results. - ADO.NET object

Back

DROP TABLE

Front

DDL The SQL command used to drop an entire table

Back

DROP INDEX

Front

DDL Permanently deletes an index

Back

JDBC (Java Database Connectivity)

Front

Used to interface DBMS and Java code. - Gives database vendor independence. - Java gives platform dependence Allows: 1. Making connection to database 2. Creating SQL statements 3. Executing SQL queries to database 4. Viewing and modifying the resulting records.

Back

data access model

Front

To work with the data in SQL Server database, you can use .NET application written using a .NET language (C# or Visual Basic), or JDBC application (Java).

Back

ADO.NET

Front

-Data access model developed by Microsoft. - C# or Visual basic language. - The data access component of Microsoft's .NET application development framework, which is a component-based platform for developing distributed, heterogeneous, and inter-operable applications aimed at manipulating any type of data over any network using any operating system and programming language.

Back

Insert

Front

DML Adds one or more new rows to a table

Back

CREATE TABLE

Front

DDL creates a new table

Back

OUTTER JOIN

Front

Returns rows from one table in the join even if the other table does not contain any matching rows

Back

Join

Front

SELECT statement that retrieve and combine data from two or more tables into a single result set.

Back

DROP DATABASE

Front

DDL Used to drop an existing SQL database.

Back

ALTER TABLE

Front

DDL The SQL command used to make changes to table structure. When the command is followed by a keyword (ADD or MODIFY), it adds a column or changes column characteristics.

Back

Select

Front

DML Retrieves data from one or more tables

Back

Result set

Front

The complete set of rows that is returned by a particular SELECT statement. - Result set is a logical table that is created temporarily within the database. - Also called a result table

Back

Data Definition Language (DDL)

Front

A collection of instructions and commands used to define and describe data and relationships in a specific database. - create database - create table - create index - alter table - alter index - drop database - drop table - drop index

Back