Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
perle18-Sep-08 12:17
perle18-Sep-08 12:17 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
Twyce8-Sep-08 12:30
Twyce8-Sep-08 12:30 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
perle18-Sep-08 12:45
perle18-Sep-08 12:45 
AnswerRe: Violation of PRIMARY KEY constraint???? Pin
Wendelius8-Sep-08 11:33
mentorWendelius8-Sep-08 11:33 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
Twyce8-Sep-08 11:48
Twyce8-Sep-08 11:48 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
Wendelius8-Sep-08 11:50
mentorWendelius8-Sep-08 11:50 
GeneralRe: Violation of PRIMARY KEY constraint???? Pin
Twyce8-Sep-08 12:05
Twyce8-Sep-08 12:05 
AnswerRe: Violation of PRIMARY KEY constraint???? Pin
Mycroft Holmes8-Sep-08 15:05
professionalMycroft Holmes8-Sep-08 15:05 
Having used BCP and bulkcopy to move massive amounts of data I can recommend the following.
Move your data into a staging table.
Manage your transformations by stored procedure AFTER the bulk loading of the data is completed.

You have a structural issue, a relational database is NOT a spreadsheet. This data should obviously be goung into 3 or more tables. Student, Course and a manytomany link table.
Load the data and then insert/update the student table, update/insert the course table, update/insert the linking table (this has studentid and courseid and data pertaining to this link, scores etc)

Twyce, this is database design 101, I recommend you do some study on the proper design of data structures.


Never underestimate the power of human stupidity
RAH

QuestionFollowed Beth Massi's video on N Tier Data Apps. Stuck. Pin
chazv8-Sep-08 10:15
chazv8-Sep-08 10:15 
AnswerI woudn;t follow any tutorial Pin
Ennis Ray Lynch, Jr.8-Sep-08 10:45
Ennis Ray Lynch, Jr.8-Sep-08 10:45 
GeneralRe: I woudn;t follow any tutorial Pin
Mycroft Holmes8-Sep-08 15:10
professionalMycroft Holmes8-Sep-08 15:10 
GeneralRe: I woudn;t follow any tutorial Pin
Ennis Ray Lynch, Jr.8-Sep-08 15:40
Ennis Ray Lynch, Jr.8-Sep-08 15:40 
Questionclick event on propertyGrid Pin
netJP12L8-Sep-08 9:59
netJP12L8-Sep-08 9:59 
AnswerRe: click event on propertyGrid Pin
Wendelius8-Sep-08 10:08
mentorWendelius8-Sep-08 10:08 
GeneralRe: click event on propertyGrid Pin
netJP12L8-Sep-08 10:23
netJP12L8-Sep-08 10:23 
GeneralRe: click event on propertyGrid Pin
Wendelius8-Sep-08 10:34
mentorWendelius8-Sep-08 10:34 
QuestionRegarding FAX error using FAXCOMLib Pin
Dinker Batra8-Sep-08 8:58
Dinker Batra8-Sep-08 8:58 
AnswerRe: Regarding FAX error using FAXCOMLib Pin
Wendelius8-Sep-08 9:14
mentorWendelius8-Sep-08 9:14 
GeneralRe: Regarding FAX error using FAXCOMLib Pin
Dinker Batra8-Sep-08 9:22
Dinker Batra8-Sep-08 9:22 
GeneralRe: Regarding FAX error using FAXCOMLib Pin
Wendelius8-Sep-08 9:32
mentorWendelius8-Sep-08 9:32 
QuestionNeed help on C# calculator program Pin
nanaka98-Sep-08 8:05
nanaka98-Sep-08 8:05 
AnswerRe: Need help on C# calculator program Pin
Manas Bhardwaj8-Sep-08 8:16
professionalManas Bhardwaj8-Sep-08 8:16 
GeneralRe: Need help on C# calculator program Pin
Perspx8-Sep-08 8:24
Perspx8-Sep-08 8:24 
AnswerRe: Need help on C# calculator program Pin
Blue_Boy8-Sep-08 8:25
Blue_Boy8-Sep-08 8:25 
AnswerRe: Need help on C# calculator program Pin
DaveyM698-Sep-08 9:33
professionalDaveyM698-Sep-08 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.