Save Mapping Between Excel Columns and SQL Server Table Columns Without Using SSIS

Hi Experts,

I'm importing data frequently from excel to sql server table, and my question if there is a way to save the mapping between excel columns and sql table columns so I can use it again and again instead of do the mapping manually each time "without using SSIS".

If there is a way please provide me with an example?



Thanks a lot in advance.
Harreni
HarreniAsked:
Who is Participating?
 
Jim HornConnect With a Mentor Microsoft SQL Server Developer, Architect, and AuthorCommented:
>I use the SQL SERVER Import and export wizard.
Okay.  This creates an SSIS package, and you should see a checkbox at the end of the wizard that gives you the option to save the SSIS package after the wizard runs it.  Once you know the file, you can execute it anytime.

A word of caution ... Excel docs are traditionally not a good data source for ETL apps such as SSIS, as users can edit the Excel doc in any number of infinite ways that would cause an ETL app to fail, as ETL requires a 'contract' between data source(s) and destinations(s) such that any little change could/would require a re-mapping.
2
 
ManjuConnect With a Mentor IT - Project ManagerCommented:
SSIS is the best and easy way to do it. however you dont have to do it again and again. Create an SSIS, save it and start using it when ever u want.

https://msdn.microsoft.com/en-us/library/ms186943(v=sql.110).aspx
0
 
Jose TorresSenior SQL Server DBACommented:
Harreni,

You state that you are importing data "frequently" from excel to sql.
How are you currently accomplishing this task?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
HarreniAuthor Commented:
Thanks Manju.


Mr. Jose,
I use the SQL SERVER Import and export wizard.
0
 
Jose TorresConnect With a Mentor Senior SQL Server DBACommented:
Thank you St. Jimbo exactly what I would have said based on what I expected Harreni's to be.

Herrani,
St. Jimbo is correct you are already using an SSIS package.
As per Microsoft "The SQL Server Import and Export Wizard offers the simplest method to create a Integration Services package that copies data from a source to a destination."

So your request is sort of contracting itself.  You want to move data without using SSIS but you are currently using that feature.

Again as St. Jimbo mentioned the only difference is that you are not saving it and constantly recreating it everytime you perform this activity.

Unless your ultimate goal is to move data from excel to sql using a different mechanism altogether.
0
 
HarreniAuthor Commented:
Thanks a lot gentlemen for this great explanation.
I've SQL EXPRESS edition but I cannot see any choice to save the package.
0
 
ManjuConnect With a Mentor IT - Project ManagerCommented:
Unfortunately in SQL express, web or workgroup, you cannot save. You need to upgrade to different version it to save.
0
 
HarreniAuthor Commented:
Thank you all.
0
All Courses

From novice to tech pro — start learning today.