Collections:
Specify Default Values in INSERT Statements in Oracle
How To Specify Default Values in INSERT Statement in Oracle?
✍: FYIcenter.com
If a column is defined with a default value in a table, you can use the key word DEFAULT in the INSERT statement to take the default value for that column. The following tutorial exercise gives a good example:
INSERT INTO fyi_links VALUES (102, 'http://dba.fyicenter.com', NULL, 0, DEFAULT); 1 row created. SELECT * FROM fyi_links; ID URL NOTES COUNTS CREATED ----- ------------------------ -------- ------- --------- 101 http://dev.fyicenter.com NULL 0 30-Apr-06 102 http://dba.fyicenter.com NULL 0 07-MAY-06
⇒ Omit Columns in INSERT Statements in Oracle
⇐ Insert a New Row into a Table in Oracle
2020-01-29, 1986🔥, 0💬
Popular Posts:
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
How To Recover a Dropped Index in Oracle? If you have the recycle bin feature turned on, dropped ind...
Where to find SQL Server database server tutorials? Here is a collection of tutorials, tips and FAQs...
How To Set Up SQL*Plus Output Format in Oracle? If you want to practice SQL statements with SQL*Plus...
How To Download Oracle Database 10g XE in Oracle? If you want to download a copy of Oracle Database ...