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)
 Archiving Database

Author  Topic 

knockyo
Yak Posting Veteran

83 Posts

Posted - 2008-01-22 : 07:01:09
Hi,

Actually i have done a program (vb.net) to archive the database.

Due to some policy issues, i not allow putting the EXE file into the database server.

So, i only can using the SQL Agent.

My question is:
(1) Since i already prepare set of program (vb.net), how can I put into the sql agent?

(2) I found some articles, SSIS can be done. How to do it?

How you all have a clear guide for me.

Thanks anyway.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-01-22 : 07:22:51
We use SSIS for achieving this. We hold a table which has date for each half year indicating when archiving is to be done. The SSIS reads this date from table and moves the data from tables less than a particular period to archived db tables based on this date and places the status (whether success or not) which will be checked by next run of SSIS before archiving.
Go to Top of Page

knockyo
Yak Posting Veteran

83 Posts

Posted - 2008-01-22 : 15:51:11
did you have any step or sql statement ?

or i need compile my vb.net coding and transfer to SSIS?

sorry, im not familiar the SSIS well. :(
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-01-22 : 22:33:40
You can run vb script in ssis package, find details in books online.
Go to Top of Page

knockyo
Yak Posting Veteran

83 Posts

Posted - 2008-01-22 : 22:58:37
i need compile as exe? since i not to do that...........
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-01-22 : 23:15:06
No you don't.
Go to Top of Page
   

- Advertisement -