Add Me!Close Menu Navigation
Add Me!Open Categories Menu

Oracle SQL Syntax

As I tend to forget the syntax of Oracle SQL commands, I will write them down here, every time I have to look them up. Beginning now:

Turn off variable replacement in SQL+

set define off;

Drop Column

alter table <tablename> drop column <column_name>
Also look here.

Rename Column

alter table <tablename> rename column <column_name_old> to <column_name_new>;

Using SQL+ Command Line tool

Connect:

connect scott/tiger

Excecute a sql-file

@path/to/myscript.sql
also see this

 

Posted By Holger Grosse-Plankermann

Leave a Reply