How To Create a Testing Table

Q

How To Create a Testing Table? - Oracle DBA FAQ - Understanding SQL DML Statements

✍: FYIcenter.com

A

If you want to practice DML statements, you should create a testing table as shown in the script below:

CREATE TABLE fyi_links (id NUMBER(4) PRIMARY KEY,
  url VARCHAR2(80) NOT NULL,
  notes VARCHAR2(1024),
  counts NUMBER,
  created DATE DEFAULT (sysdate));
Table created.

You should keep this table for to practice other tutorial exercises presented in this collection.

2007-04-22, 4502👍, 0💬