CREATION
CONCEPTS
LESSON 4
RAYMOND S. BERMUDEZ
Instructor, College of Computer Studies - MSEUF
Organizing Data
Your first step in organizing data is to
into tables
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
Databases and
Relationships
A collection of related tables is
Databases and
Relationships
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
Relational Database
Management Systems
A database management system
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
The Name of a
Database
Transact-SQL (SQL in MS SQL Server
2008) is very flexible when it comes to
names. In fact, it is very less restrictive
than most other computer languages.
Still, there are rules you must follow
when naming a database:
A name can start with either a letter (a,
b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r,
s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H,
I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W,
X, Y, or Z), a digit (0, 1, 2, 3, 4, 5, 6, 7,
8, or 9), an underscore (_) or a nonreadable
character.
Examples
are Lucena
_n,City
BY:
Mr. RAYMOND S. BERMUDEZ,
- Instructor, College
of Computer Studies, MSEUF
The Name of a
Database
After the first character (letter, digit,
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
The Name of a
Database
RECOMMENDED
Unless stated otherwise (we will
mention the exceptions, for example
with variables, tables, etc), a name will
start with either a letter (a, b, c, d, e, f,
g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w,
x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M,
N, O, P, Q, R, S, T, U, V, W, X, Y, or Z) or
an underscore
After the first character, we will use any
The Name of a
Database
A name will not start with two
underscores
If the name is a combination of words,
at least the second word will start in
uppercase. Examples are Countries
Statistics, Global Survey,
_RealSport, FullName, or
DriversLicenseNumber
After creating an object whose name includes space,
whenever you use that object, include its name
between [ and ]. Examples are [Countries
Statistics], [Global Survey], or [Date of Birth].
BY: Mr. RAYMOND
BERMUDEZ,
- Instructor,
College
of Computer
Studies,
MSEUF Lucena
City
Even
if youS.had
created
an
object
with
a name
that
CREATE DATABASE
DatabaseName;
BY: Mr. RAYMOND S. BERMUDEZ, - Instructor, College of Computer Studies, MSEUF Lucena City
DATABASE
CREATION
CONCEPTS
LESSON 4
RAYMOND S. BERMUDEZ
Instructor, College of Computer Studies - MSEUF