Benutzer-Werkzeuge

Datensätze hinzufügen

Einzelner Datensatz einfügen

INSERT INTO tblKunden (tVorname, tNachname, tStrasse, tOrt, tPLZ, tLand)
VALUES ("Fritz", "Müller", "Mittelstrasse", "Bern", 3012, "CH");

Mehrere Datensätze einfügen

INSERT INTO tblKunden (tVorname, tNachname, tStrasse, tPLZ, tOrt, tLand)
VALUES ("Esthi", "Zwahlen", "Kirchstrasse 65", 3098, "Köniz", "CH"),
("Stefan", "Rist", "Hauptgasse 12", 3600, "Thun", "CH");

Datensätze aus einer Datei importieren

LOAD DATA LOCAL INFILE  
'd:/laender.csv'
INTO TABLE tbllaender  
FIELDS TERMINATED BY '\t' 
LINES TERMINATED BY '\n'
(tKurz, tLand);

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

Mehr Info