Solved

Fixed Length Format To SQL DB

Posted on 2012-03-23
3
253 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
  • 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 500 total points
ID: 37768484
Yes, use SSIS to set up a job that is run on a scheduled basis
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now