[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 42
  • 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
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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