Autor Beitrag
day
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Di 30.09.03 14:48 
hallo

Ich möchte einen Datensatz in einer neuen Table abspeichern. wie kann ich das machen? mit insert kann ich ja nur einen einzelnen record abspeichern
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Di 30.09.03 14:50 
Ja mit Insert kannst Du einen Datensatz in einer Tabelle einfügen, wo liegt das Problem?
Willst Du einen Datensatz kopieren? Dann solltest Du das mit einer Stored Procedure machen.
day Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Di 30.09.03 14:58 
hat sich erledigt.

ps

Ich dachte zuerst man könnte mit insert nur ein record hinzufügen

INSERT INTO INFO (SELECT, DATUM) Values(99,Datum);

aber mit

INSERT INTO INFO
SELECTED ........

kann man mehrere records schreiben