Information Management Flashcards
Pre-final Exam (37 cards)
A specific request for data manipulation issued by the end-user or the application to the DBMS.
Query
SQL data type: bigint, bit, decimal, int, money, numeric
Exact numeric
SQL data type: float, real
Approximate numeric
SQL data type: date, datetime, time
Date and time
SQL data type: char, text, varchar
Character strings
SQL data type: nchar, ntext, nvarchar
Unicode character strings
SQL data type: binary, image, varbinary
Binary strings
SQL data type: cursor, sql_variant, table, uniqueidentifier, xml
Other data types
SQL operators: +, - , *, /, %
Arithmetic
SQL operators: =,>, <, >=, <=, <>
Comparison
SQL operators: +=, -=, *=, /=, %=
Compound
SQL operators: AND, OR, NOT, LIKE, IN, BETWEEN, EXISTS, ANY, ALL
Logical
Syntax that creates a new database.
CREATE DATABASE
Syntax that deletes an existing database.
DROP DATABASE
Syntax that creates a new table in a database.
CREATE TABLE
Syntax that deletes an existing table in a database.
DROP TABLE
Syntax that adds, deletes, or modifies columns in an existing table.
ALTER TABLE
Constraint that ensures that a column cannot have a null value upon creating a table on CREATE TABLE and ALTER TABLE.
NOT NULL
Constraint that ensures that all values in a column are different upon creating a table on CREATE TABLE.
UNIQUE
Constraint that creates a constraint on a column of an existing table on ALTER TABLE.
UNIQUE
Constraint that uniquely identifies each row in a table on CREATE TABLE and ALTER TABLE.
PRIMARY KEY
Constraint that uniquely identifies a row in another table on CREATE TABLE.
FOREIGN KEY
Constraint that creates a constraint on a column of an existing table.
FOREIGN KEY
Constraint that ensures that all values in a column satisfy a specific condition upon creating a table on CREATE TABLE and ALTER TABLE.
CHECK