Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Monday, March 26, 2012

load all data without knowing old one was load in the previous time?

I just have done the SSIS example in the tutorial document included when install SQL 2005 ENT. I have a problem that whenever I test to run, the service load all data from source with out noticing about the data (I mean it load all the data to the destination), I do it several time and it continue to load all without checking. That mean the data is dublicated when the schedule run?

I think there should be a paramete or something like that to help the engine just load the new data to the destination. Could you help please?

Thank

Hi Cao Van,

Ofcourse when you run the package every time it means you are inserting duplicate rows. To avoid this, I have two familiar methods

1) Truncate the destination table, everytime when you load the data from source and populate the detination table. (This is always time consuming process)

2) Use Look up concept to filter out the duplicates.

Thanks

Subhash Subramanyam

|||

In other words, you are the responsible of putting enough logic to avoid loading duplicate rows in your destination. Subhassh suggestions are very valid. For the first one you can use an execute sql task in control flow, right before the data flow to perform the TRUNCATE. For the second option, make sure you search the forum; there have been many discussions around that, actually in the first page of the forum, there is a sticky post that talks about it.

sql

Wednesday, March 7, 2012

List of data mining techniques not populated - BI Studio hangs

Hello

I am having the same problem and it is very frustating because I have just reinstalled the OS. I am following the Data Mining tutorial and when it comes to the part of creating a mining structure, the combo box of available algorithms hangs and therefore I cannot continue. I would have expected that a fresh installation would not have such a problem.

My environment is:
- OS: Windows XP Professional SP2 with all the updates (fresh installation)
- SQL Server 2005 and Analysis Server 2005 SP2 Developer Edition (fresh installation, running on my machine -not a network service)
- Running Services: SQL Server, AS, SQL Browser (default instances, not-named)
- Visual Studio 2005 Pro SP1
- Available protocols: Share Memory, Named Pipes, TCP/IP
- Machine: Dell Laptop, Centrino Duo 1.66Ghz with 1Gb RAM.

What can I do to prevent this from happening, besides reinstalling the OS or the SQL Server?

Thanks a lot for your help.

Ernesto que tal!!

Rojo

|||

Escribeme cuando puedas a juanbarco@.gmail.com

Rojo

List of data mining techniques not populated - BI Studio hangs

Hello

I am having the same problem and it is very frustating because I have just reinstalled the OS. I am following the Data Mining tutorial and when it comes to the part of creating a mining structure, the combo box of available algorithms hangs and therefore I cannot continue. I would have expected that a fresh installation would not have such a problem.

My environment is:
- OS: Windows XP Professional SP2 with all the updates (fresh installation)
- SQL Server 2005 and Analysis Server 2005 SP2 Developer Edition (fresh installation, running on my machine -not a network service)
- Running Services: SQL Server, AS, SQL Browser (default instances, not-named)
- Visual Studio 2005 Pro SP1
- Available protocols: Share Memory, Named Pipes, TCP/IP
- Machine: Dell Laptop, Centrino Duo 1.66Ghz with 1Gb RAM.

What can I do to prevent this from happening, besides reinstalling the OS or the SQL Server?

Thanks a lot for your help.

Ernesto que tal!!

Rojo

|||

Escribeme cuando puedas a juanbarco@.gmail.com

Rojo