ปรึกษาปัญหาการ Update ข้อมูล
2 posters
หน้า 1 จาก 1
ปรึกษาปัญหาการ Update ข้อมูล
คือต้องการ Update PartlistID 2 ตัวสุดท้ายให้เป็น 00 ของ Table partlist
ติดปัญหาตรง ห้าม Null , ห้ามมากกว่า 1 แถว , เพราะมันจะทำการ Insert ด้วย
Msg 2627, Level 14, State 1, Procedure Update_PartList_DateTime, Line 4
Violation of PRIMARY KEY constraint 'PK_PartList'. Cannot insert duplicate key in object 'dbo.PartList'.
ติดปัญหาตรง ห้าม Null , ห้ามมากกว่า 1 แถว , เพราะมันจะทำการ Insert ด้วย
Msg 2627, Level 14, State 1, Procedure Update_PartList_DateTime, Line 4
Violation of PRIMARY KEY constraint 'PK_PartList'. Cannot insert duplicate key in object 'dbo.PartList'.
decha- จำนวนข้อความ : 7
Join date : 15/12/2010
หน้า 1 จาก 1
Permissions in this forum:
คุณไม่สามารถพิมพ์ตอบ
|
|