Re: SQL syntax?
From: Nicolas Stern <spip46_at_hotmail.com>
Date: Fri, 16 Nov 2001 09:31:50 +0100
Message-ID: <3bf4cefa$1_at_news.psi.ch>
Date: Fri, 16 Nov 2001 09:31:50 +0100
Message-ID: <3bf4cefa$1_at_news.psi.ch>
Hi Robert
I'm studying SQL using Oracle 8i. From a command line using SQL:
Question I:
ALTER TABLE table_name ADD column_name(datatype);
Question II:
- Mean: delete all the rows ?
- TRUNCATE TABLE table_name; this is fast, but is not a DML, so it cannot be rollbacked.
- DELETE FROM table_name; this is slower, but can be rollbacked.
- Mean: "delete" the table itself ? 3. DROP TABLE table_name;
Recommand this book:
Sams Teach Yourself SQL in 21 Days (3rd Edition), Ryan K. Stephens, Ronald R. Plew
regards
N. Stern Received on Fri Nov 16 2001 - 09:31:50 CET