Click here to Skip to main content
15,902,198 members
Home / Discussions / Database
   

Database

 
GeneralRe: .NET raises Native exception in SQL Compact on WinCE Pin
Covean15-Mar-10 4:57
Covean15-Mar-10 4:57 
GeneralRe: .NET raises Native exception in SQL Compact on WinCE Pin
hairy_hats15-Mar-10 5:09
hairy_hats15-Mar-10 5:09 
GeneralRe: .NET raises Native exception in SQL Compact on WinCE Pin
Covean16-Mar-10 0:16
Covean16-Mar-10 0:16 
QuestionSheduling for send Mail Pin
lrsalunkhe14-Mar-10 20:50
lrsalunkhe14-Mar-10 20:50 
AnswerRe: Sheduling for send Mail Pin
Mycroft Holmes14-Mar-10 22:47
professionalMycroft Holmes14-Mar-10 22:47 
QuestionTranslate data from one schema to another Pin
treefirmy14-Mar-10 10:37
treefirmy14-Mar-10 10:37 
AnswerRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 12:40
professionalMycroft Holmes14-Mar-10 12:40 
GeneralRe: Translate data from one schema to another Pin
treefirmy14-Mar-10 13:38
treefirmy14-Mar-10 13:38 
Thanks for the info.

Are there any online articles, etc. that might be helpful for me to read?

Since you have done this many times, is there any wisdom you might impart? This will be my first time. What things should I expect to run into other than memory issues?

Unfortunately, the data is coming in as a DataSet. Is that even reasonable? I’ve been told that DataSet is space inefficient. Are there other problems with DataSet to watch out for?

My idea was to work with the data in place:
1. Scrub the data so that it passes the value constraints of the new schema (rules come from an XML file)
2. Rename tables and columns
3. Create new tables, filling them with columns and rows of data (not sure this will even work - maybe have to create a new set and move data into it)
4. Fix up foreign key constraints
5. Either drop data for rows that have duplicate primary keys or somehow, make them unique. Both of these options seem very expensive time-wise.
6. Binary serialize the data to a file

For the upload, I was going to use the BulkCopy class. I considered just writing out table data in a format that bcp.exe could understand but bcp.exe only allows 263 rows. (Wow, that limit is weird, http://msdn.microsoft.com/en-us/library/ms162802.aspx).
GeneralRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 14:45
professionalMycroft Holmes14-Mar-10 14:45 
GeneralRe: Translate data from one schema to another Pin
treefirmy14-Mar-10 15:54
treefirmy14-Mar-10 15:54 
GeneralRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 16:48
professionalMycroft Holmes14-Mar-10 16:48 
GeneralRe: Translate data from one schema to another Pin
treefirmy14-Mar-10 17:10
treefirmy14-Mar-10 17:10 
GeneralRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 17:46
professionalMycroft Holmes14-Mar-10 17:46 
GeneralRe: Translate data from one schema to another Pin
treefirmy14-Mar-10 18:00
treefirmy14-Mar-10 18:00 
GeneralRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 18:15
professionalMycroft Holmes14-Mar-10 18:15 
GeneralRe: Translate data from one schema to another Pin
treefirmy14-Mar-10 18:23
treefirmy14-Mar-10 18:23 
GeneralRe: Translate data from one schema to another Pin
Jörgen Andersson14-Mar-10 23:27
professionalJörgen Andersson14-Mar-10 23:27 
QuestionCalling Oracle Function via Linked Server returns error [modified] Pin
Ph@ntom14-Mar-10 2:13
Ph@ntom14-Mar-10 2:13 
AnswerRe: Calling Oracle Function via Linked Server returns error Pin
Mycroft Holmes14-Mar-10 14:55
professionalMycroft Holmes14-Mar-10 14:55 
GeneralRe: Calling Oracle Function via Linked Server returns error Pin
Ph@ntom14-Mar-10 19:19
Ph@ntom14-Mar-10 19:19 
QuestionSample datamodel for marketing promotion Pin
anushh13-Mar-10 20:52
anushh13-Mar-10 20:52 
AnswerRe: Sample datamodel for marketing promotion Pin
Mycroft Holmes13-Mar-10 23:55
professionalMycroft Holmes13-Mar-10 23:55 
AnswerRe: Sample datamodel for marketing promotion Pin
Andy_L_J14-Mar-10 1:32
Andy_L_J14-Mar-10 1:32 
Questionselect before and after question Pin
Eli Nurman13-Mar-10 8:44
Eli Nurman13-Mar-10 8:44 
AnswerRe: select before and after question Pin
Luc Pattyn13-Mar-10 9:08
sitebuilderLuc Pattyn13-Mar-10 9:08 

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.