Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Question about insert and defaut values

Question about insert and defaut values

From: Eugenio Reis <11eugenio13_at_e-net.com.br>
Date: Sun, 21 Mar 1999 01:48:05 GMT
Message-ID: <36f44f54.520894@news.newsguy.com>


Hi,

Maybe this is a FAQ, but I'm coming from SQL Server and have a simple question:

How to insert a default value?

Example

NAME VARCHAR2(40) NOT NULL
AGE NUMBER(2) DEFAULT 0 In SQL Server I could write

INSERT INTO TABLE VALUES ( 'Any name', default )

How can I do the same in Oracle?

Thanks,

Eugenio Reis
** Remove the primes to get the real e-mail Received on Sat Mar 20 1999 - 19:48:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US