Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 SQL Server Integration Services

Author  Topic 

Dev@nlkss

134 Posts

Posted - 2009-01-13 : 04:29:07
Hi All
I am new to SSIS.
I have created a SSIS Package for loading table data from one server to another using BIDS.
Its working fine manually but i want to make it as SQL Job.
Can Anybody tell me how to create a job using SSIS Package.
and One more thing
how can i make sure only modified and new records can be inserted from second time onwards.
its urgent
thanks in advance.

Satya

Nagaraj
Starting Member

14 Posts

Posted - 2009-01-15 : 04:16:48
Hi Satya,

For creating a job go through the following link

[url]http://www.mssqltips.com/tip.asp?tip=1180[/url]

For the second scenario there are two possible ways.

1. you need to use lookup functionality to check for new records.

2. If you have any column by which you can identify the new records,then you can write a query based on that column. So that new records will be retrieved.


Nagaraj.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-15 : 07:34:03
quote:
Originally posted by satya@imi

Hi All
I am new to SSIS.
I have created a SSIS Package for loading table data from one server to another using BIDS.
Its working fine manually but i want to make it as SQL Job.
Can Anybody tell me how to create a job using SSIS Package.
and One more thing
how can i make sure only modified and new records can be inserted from second time onwards.
its urgent
thanks in advance.

Satya


modified and new records (delta changes) can be picked easily by using an audit column like datemodified or by using a slowly changing dimension task. the former one requires you to store max date of records processed during each run and log it to table. next time retrieve the max date from table and look for records with date > extracted date.
For using SCD task, you just need to give a key with type of analysis needed (type 1 or type 2). type 1 is one where you just keep on updating modified data and inserting new data while type 2 you will insert everything as new record with a bit field representing recent record.
Go to Top of Page

Dev@nlkss

134 Posts

Posted - 2009-01-16 : 02:41:36
Thanks for information
I dont have any column as lastupdatedOn.
How to use lookup functionality
can u tell me some detail.
thanks

Satya
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-16 : 02:56:11
quote:
Originally posted by satya@imi

Thanks for information
I dont have any column as lastupdatedOn.
How to use lookup functionality
can u tell me some detail.
thanks

Satya


then use SCD task. more details below

http://blogs.conchango.com/jamiethomson/archive/2005/06/06/1543.aspx

Go to Top of Page
   

- Advertisement -