Click here to Skip to main content
15,892,005 members
Home / Discussions / Database
   

Database

 
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 
GeneralRe: Translate data from one schema to another Pin
Mycroft Holmes14-Mar-10 14:45
professionalMycroft Holmes14-Mar-10 14:45 
Whenever I do this I do it at the database level, I would not even consider doing through any other interface. My usual process is something like:

Take a copy of the production DB
Create a target DB
Create as much of the data structure as you understand based on the current crap and what the business wants to do
Starting with the static tables (Country, City, ###Type etc) and script them into the new database
When all the static stuff is over take a backup of your target DB - this is your new start point

Now start with the ugly stuff, working through your data structures. Create additional tables to hold any new records created to support the new data integrity.

EVERY step requires a script, a reset script and an endless acceptance that NOTHING is final till the next start point. If you get a structure in and are happy with it take more backups as a new point. Always be prepared to trash a start point if you get it wrong.

NEVER accept that a a prior point is sacrosanct if it is wrong scrap it and fix the problem - the other guy probably didn't do this.

If you do a single action in the entire process that is not scripted and repeatable you are screwed and should quit now, before you start. Do not let your PM/boss push you into accepting a wrong decision.

Once you have the whole thing completed script out your target database. Create a new database with the script and run your transfer script using the latest production data, now go fix the NEW problems raised by the latest data, this is a diminishing return problem and needs to be repeated till it... well diminishes.
Never underestimate the power of human stupidity
RAH

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 
AnswerRe: select before and after question Pin
Chris Meech13-Mar-10 9:10
Chris Meech13-Mar-10 9:10 

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.