1
Reply

Violation of PRIMARY KEY constraint????

Zimbini Walaza

Zimbini Walaza

Sep 8 2008 5:36 PM
5.6k
I am using bulkcopy to import data into SQL server database.The data i'm trying to import contains student numbers and the modules that they are registerd for.A student can be registered for many modules(which means one student number can appear many times on the table).Problem is when i try to import my spradsheet my application throws a "Violation of PRIMARY KEY constraint" error.
How do i fix this

Answers (1)