336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
CREATE TABLE hire_dates
( id NUMBER(8),
hire_date DATE DEFAULT SYSDATE);
When you define a table, you can specify that a column be given a default value by using the DEFAULT option. This option prevents numm values from entering the columns if a row is inserted without a value for the column.
- Literal, expressions, or SQL functions are legal. ie) SYSDATE, USER
- A column name or a pseudocolumn are illegal. ie) NEXTVAL, CURRVAL
- Must match with column data type.
'Oracle' 카테고리의 다른 글
오라클 스터디 가능할까요? (0) | 2006.11.17 |
---|---|
DEFAULT option (0) | 2006.11.13 |
CREATE TABLE (0) | 2006.11.13 |
CREATE TABLE (0) | 2006.11.13 |
Database Objects , Naming Rules (0) | 2006.11.13 |