Veröffentlicht 12. November 200816 j hallo zusammen, bin hier neu im forum und hab auch gleich ne frage: ich habe zwei tabellen: create table taProfile( ProfilID Int Identity( 0, 1) not null, KameraID int, Bezeichnung VarChar(100) not null, Speichern_Pfad bit not null, Speichern_Bild bit not null, Zeit DateTime not null Primary Key (ProfilID), Foreign Key (KameraID) references taKameras(KameraID) , Unique (Bezeichnung) ) create table taKameras( KameraID Int Identity(0,1) not null, videoDevice varchar(255) not null, propertyPage varchar(255) not null, frameSize varchar (255) not null Primary Key (KameraID), ) Nun will ich ein insert auf die tabelle ta_Profile machen und den zuletzt eingetragenen Primary Key der taKameras als Foreign Key verwenden????
18. November 200816 j Entschuldige bitte, deine Frage ist etwas seltsam formuliert. Meine Antwort ist: "Nein, willst du nicht" Goos
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.