Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Fixed Length Format To SQL DB

Posted on 2012-03-23
3
Medium Priority
?
265 Views
Last Modified: 2012-03-26
Hello Experts,

Is there a way to import a "fixed length format" file into a SQL DB.]
0
Comment
Question by:decoded
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:plummet
ID: 37759124
You can import a fixed width ASCII file into SQL Server using the import facility - I use SQL 2008 R2 so I'm not sure about older versions, but I believe it is available.

RIght click on a database, select "tasks" and then "Import data..." which should start the import data wizard, then "Flat file source" and follow the instructions

Hope that helps!

John
0
 

Author Comment

by:decoded
ID: 37767958
Is there way to automate this process
0
 
LVL 10

Accepted Solution

by:
plummet earned 2000 total points
ID: 37768484
Yes, use SSIS to set up a job that is run on a scheduled basis
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

609 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