1512
צפיות
צפיות
0
תשובות
תשובות
Sql Server – Insert all columns from another table
שלום,
אני צריך להוסיף רשומות בטבלה מסויימת , ולהכניס את ערך הרשומות מטבלה אחרת.
הטבלאות גדולות מאד, כך שא"א לפרט את שמות השדות.
קבלתי הודעת שגיאה.
הסקריפט:
SET IDENTITY_INSERT [Noemail] OFF
GO
INSERT INTO Noemail
SELECT * FROM TblEmail
GO
ההודעה:
Msg 8101, Level 16, State 1, Line 1
An explicit value for the identity column in table 'tblnitzantofix' can only be specified when a column list is used and IDENTITY_INSERT is ON
0 תשובות