| SQL
Server: |
||
| INSERT prosessorit(cpu, hinta) VALUES
(‘AMD’, 700) |
||
| Sarakkeiden
nimiä ei tarvitse luetella, jos kaikille annetaan arvo tai niillä on
oletusarvo, timestamp, identity tai ne sallivat Null-arvon |
||
| Taulusta
toiseen: |
||
| INSERT taulu1 SELECT * FROM taulu2 |
||
| Oletusarvot |
||
| INSERT prosessorit DEFAULT VALUES |
||
| ehdot
kuten edellä |
||
| INSERT prosessorit VALUES ('pentiu'’,
DEFAULT) |
||