1) Installation
einfach ZIP in ein temporres Verzeichnis extrahieren
Install.bat starten und lauter Standardwerte verwenden (c:\msql)

2) DB kreieren
msqladm create <datenbankname>

Beispiel
msqladm create db_test

3) kreieren der Tabellen in der Datenbank
Beispiel
a) als Skript: mit einem Skript wie z.B. db.cre
		msql db_bank < db.cre
kreiert mehrere Tabellen in der Datenbank db_bank.

oder

b) direkt:


DROP TABLE t_accounts\p\g

CREATE TABLE t_accounts(
	account_id INT NOT NULL PRIMARY KEY,
	cust_id INT,
	account_type CHAR(1) NOT NULL,
	balance REAL NOT NULL
)\p\g

INSERT INTO t_accounts (account_id, cust_id, account_type, balance)
VALUES (1, 1, 'C', 0.0)\p\g

INSERT INTO t_accounts(account_id, cust_id, account_type, balance)
VALUES (2, 1, 'C', 95.22)\p\g

INSERT INTO t_accounts(account_id, cust_id, account_type, balance)
VALUES (3, 1, 'S', 9375.26)\p\g

INSERT INTO t_accounts(account_id, cust_id, account_type, balance)
VALUES(4, 2, 'S', 100.00)\p\g

INSERT INTO t_accounts(account_id, cust_id, account_type, balance)
VALUES(5, 2, 'C', 362.00)\p\g

DROP TABLE t_customer\p\g

CREATE TABLE t_customer(
	cust_id INT NOT NULL PRIMARY KEY,
	first_name CHAR(30) NOT NULL,
	last_name CHAR(30) NOT NULL
)\p\g

INSERT INTO t_customer (cust_id, first_name, last_name)
VALUES (1, 'Donald', 'Davidson')\p\g

INSERT INTO t_customer (cust_id, first_name, last_name)
VALUES (2, 'Rene', 'Descartes')\p\g


