Solved

SSIS - Import from Excel to SQL Table

Posted on 2011-02-15
1
349 Views
Last Modified: 2012-08-13
SQL 2008 - SSIS

I have 5 Columns in the Excel Sheet -
While Importing to SQL Table, i need to add or include DateModified Field in the SQL Table.

DateModified Column is not in the Excel Sheet. We need to mention in the SQL Table which help us to understand the date of Import.

Do i need to add a Trigger ?

How should i do this ?
0
Comment
Question by:chokka
1 Comment
 
LVL 32

Accepted Solution

by:
ewangoya earned 500 total points
ID: 34900482

Add the DateModified field to you sql table and set the default value to GETDATE()
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question