Oracle data additions and deletions

Oracle modified data is not directly stored in the database, you need to manually refresh the inside, keywords commit

Primary key: a unique and empty field can be a primary key, data can only represent one

Increasing the data: insert into table (field names, field names ......) values ​​(value 1, value 2 ......);

If all the fields of the table to give an assignment, field names can be omitted

 

Delete some data: delete from table where conditions deleted

Delete all the data: delete from table name

Remove table, through a member list identical (data not included) truncate table table

 

change the data

set update from the table name field name = 'new value' field name = 'new value' conditions where modification

 

Guess you like

Origin www.cnblogs.com/haoyujun135/p/11502257.html