Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 46
  • Last Modified:

Automating data imports and exports in sql 2014

2 part question.  

i have a fixed width file that i import daily using ssms import data tool.  i would like to start getting my teeth wet with automating this process.

i first open the text file with excel.  manipulate with excel and then import.  I thought that ssis would be the proper way to go about this.
i would like to start out with the easiest tool sql 2014 provides that can control import and exporting and automation.  would sql server data tools be the right way to start.

part 2 question... im not sure where the data tools are.  i have just about everything install for sql 2014 but don't see sql server "data tools"

i see data profile viewer and some visual studio stuff.

so 1)  best easiest way to start doing this
2) where is the dern program to complete the suggested route.

i want to use only apps provided by sql server 2014
0
jamesmetcalf74
Asked:
jamesmetcalf74
  • 4
  • 2
  • 2
2 Solutions
 
Neil RussellTechnical Development LeadCommented:
Before any sensible answer can be made, you need to define " manipulate with excel ..."
0
 
jamesmetcalf74Author Commented:
i take a text file that has column width formatted data and put each column value into its own column in excel.  then i just import the excel spreadsheet into sql with the management studio import functionality
0
 
Neil RussellTechnical Development LeadCommented:
Do you mean that the data is in a fixed width format? Every record occupies the same amount of line space and every char starts on the same char space?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
jamesmetcalf74Author Commented:
yes... sorry i didn't make things more clear.
i kinda rushed through the explanation
0
 
Neil RussellTechnical Development LeadCommented:
OK So use SSIS and create a new data flow job that uses a Flat File Source and define just like you would in excel basically.
Just make sure that in the FLat File Connection Manager that you select the FIXED WIDTH in the Format box.
0
 
zephyr_hex (Megan)DeveloperCommented:
I agree... SSIS is the way to go.  Build your job and schedule it using SQL Agent.
0
 
Neil RussellTechnical Development LeadCommented:
Tools are no longer shipped with SQL 2014 media.  Download for VS is here..

Download SQL Server Data Tools (SSDT)
0
 
zephyr_hex (Megan)DeveloperCommented:
Were your questions answered?  If so, please mark the solution(s) that answered your question.

And of course, if you still have questions, please let us know.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now