SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Best Approach for Files Processed


Best Approach for Files Processed

Author
Message
imani_technology
imani_technology
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1806 Visits: 787
We have an existing ETL process that extracts .zip files into a staging database. In our existing process, we use a special table to capture the names of the files that were extracted. We use a couple of Execute SQL Tasks to populate that table. Now that we are using SSIS 2012 with the Project Deployment model, is there a better way to do this? By the way, I put a script of our Files Processed table below so you can see what we did.


CREATE TABLE [dbo].[tbl_FilesProcessed](
[FilesProcessedID] [int] IDENTITY(1,1) NOT NULL,
[ZipFileName] [varchar](100) NOT NULL,
[ProcessStartTime] [smalldatetime] NULL,
[ProcessStopTime] [smalldatetime] NULL,
[IsProcessed] [bit] NOT NULL,
CONSTRAINT [PK_tbl_FilesProcessed] PRIMARY KEY CLUSTERED
(
[FilesProcessedID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
Lempster
Lempster
SSCertifiable
SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)

Group: General Forum Members
Points: 5220 Visits: 1657
Your current approach will work fine in SSIS 2012 regardless of the deployment model.

Regards
Lempster
imani_technology
imani_technology
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1806 Visits: 787
Good, but does the Project Deployment Model have something built in that might work as well or better?
Lempster
Lempster
SSCertifiable
SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)

Group: General Forum Members
Points: 5220 Visits: 1657
imani_technology (6/26/2014)
Good, but does the Project Deployment Model have something built in that might work as well or better?

Not that I am aware of.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search