Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6084329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:30:31+00:00 2026-05-23T11:30:31+00:00

I am using Visual Studio 2010. My database is SQL Server. I have a

  • 0

I am using Visual Studio 2010. My database is SQL Server. I have a static link which has daily updated data in .txt format (it is a tab (space) separated file). I want to import the data from the .txt file to the SQL Server database. This is to be done daily. Hence I can schedule it on the SQL Server to run everyday. The scheduling is done.

Can someone please help me to write the script for the import? And I can’t use BULK command. Is there anyway to do this? Please help.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:30:31+00:00Added an answer on May 23, 2026 at 11:30 am

    If you cannot use the BULK INSERT statements (again: why??), then my best bet would be to create a small console app that would

    • download that file from the static URL

    • use the FileHelpers library to load the .txt file into memory (it does this very well and very easily – you define the structure as a C# class, and don’t have to worry about anything else anymore…)

    • use a SQL Server stored procedure or a parametrized SQL inline query to store the entries – one by one – into your SQL Server table

    Once you have that console app, use the Windows scheduled tasks facility to run this app once e.g. every morning or whatever your schedule is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really like the new SQL Server Database projects in Visual Studio 2010. I
Using Visual Studio 2010 SP1, SQL server 2008: Motherboard recently failed and I migrated
I have a Visual Studio 2010 Database project, from which I want to generate
I have installed the sp1 for visual studio 2010 and installed sql server ce
I'm using EF4 with Visual Studio 2010 and SQL Server 2008 R2. I am
I've added a SQL Server 2008 database project to my Visual Studio 2010 Professional
For reference, I'm using Visual Studio 2010. I have a custom build step defined
I have a Visual Studio 2010 Windows Forms application in which I start a
Right now i'm exploring LINQ-to-SQL using Visual Studio 2010 beta. I'm trying to understood
My scenario I'm using Visual Studio 2010 with Entity Framework 4.1 I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.