Unit 1 Vocabulary Flashcards

1
Q

Model Database

CE

A

Serves as a template for any other database, a required database. Any future database created has to be at least as large as the model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

tempdb database

CE

A

One of the key working areas for SQL Server, storage for temp tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Transaction Log

CE

A

Place where initial changes to a database are written in serial order. The log accumulates changes that are deemed as having been committed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Checkpoint

CE

A

The point in time that all changes in the log are propagated to the actual database files and the log is cleared.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Actual database file
Or
Physical database file

CE

A

After checkpoint is issued changes from the log are propagated here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Index

CE

A

An object that exists only within the framework of a particular table or view. An index works much like the index does in the back of a book.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Cluster Index

CE

A

An object that exists only within the framework of a table (database object). Triggers are pieces of code that are executed when certain things happen to the table (database object) that they are associated with. The things that can trigger triggers to fire (execute) are inserts, updates, or deletes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Trigger

CE

A

An object that exists only within the framework of a table (database object). Triggers are pieces of code that are executed when certain things happen to the table (database object) that they are associated with. The things that can trigger triggers to fire (execute) are inserts, updates, or deletes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Secondary files

CE

A

32,000 files that can be added to the primary filegroup. Secondary files are optional, are user defined, and store user data. Secondary files can be used to spread data across multiple disks by putting each file on a different disk drive. Additionally, if a database exceeds the maximum size for single Windows file, you can use secondary data files so the database can continue to grow.

The recommended file name extension for secondary data files is .ndf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

View

CE

A

Sometimes called a virtual table. It is basically a stored query (a preplanned mapping and representation of the data stored in tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Stored Procedure

CE

A

An ordered series of transact- SQL statements bundled into a single logical unit. They allow for variables and parameters as well as selection and looping constructs. They offer several advantages over just sending individual statements to the server (listed on page 11)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

User defined functions

CE

A

Similar to stored procedures except that it can return a value and cannot have “side effects”. Can return a value of most SQL SERVER data types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

User

CE

A

Equivalent of logins; object represents an identifier for someone to login into the SQL server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Role

CE

A

Users belonging to a group that are granted rights to perform certain actions in SQL server. A user can belong to one or more roles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Constraint

CE

A

Restriction information about what can go into a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

[ ] (square brackets)

CE

A

Are used for any names that are the same as SQL Server keywords or contain embedded spaces.

15
Q

Query analyzer

CE

A

A tool that existed in SQL Server 2000. It provided a user interface in which T-SQL statements could be written and executed.

17
Q

Management Studio

CE

A

A tool introduced with SQL Server 2005 that replaced query analyzer and enterprise manager. It is where you can execute T-SQL statements and perform numerous database management tasks.

19
Q

Query Optimizer

CE

A

Part of SQL Server that figures out the best way to run a query to balance fast results with minimum impact to other users.