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

  • Home
  • SEARCH
  • 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 6249433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:14:15+00:00 2026-05-24T13:14:15+00:00

I have a flat file where data is separated by a blank char: a1

  • 0

I have a flat file where data is separated by a blank char:

a1 a2 a3 a4 a5 a6 a7 a8 a9 a10...a21
485 477 537 479 452 471 491 476 475 473 455 500 456 507 478 491 447 422 480 482 515
482 464 484 477 496 509 491 459 482 483 505 508 458 509 517 479 487 473 472 474 531
485 508 517 489 507 515 440 465 550 532 450 483 460 469 507 485 479 458 516 480 460
479 648 480 561 481 474 474 544 484 490 451 494 480 486 459 521 500 466 457 494 492 
188 497 477 461 473 464 476 471 481 507 474 500 481 536 464 501 479 480 483 462 470 
....
181 510 470 431 482 496 481 469 539 491 482 481 476 533 495 474 485 479 495 465 541

How do I import it in SQL Server 2008, I do not find any option to use blank char as padding char…I have seen Carriage return CR, Carriage Return/Linefeed (CR/LF), TAB…etc…

I am using Microsoft SQL Management Studio…

  • 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-24T13:14:16+00:00Added an answer on May 24, 2026 at 1:14 pm
    • Open “New Query Window” in SQL Management Studio
    • Copy Paste this data to a new query window
    • Open Find/Replace Window (CTR+SHIFT+H)
    • Find Options: "Use RegEx"
    • In “Find” specify: :b
    • In “Replace”: \t
    • Press “Replace All”

    This will replace all spaces by tabs

    More details about Visual Studio/Management Studio built in RegEx support

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

Sidebar

Related Questions

I have a windows mobile 5.0 application (smartphone) that contains a flat data file
I have simple SSIS package which reads data from flat file and insert into
I have an OLE DB Data source and a Flat File Destination in the
I have simple SSIS package where I import data from flat file into SQL
I have a flat text file data which I import into a SQL Server
I have a flat data file that I need to import into my SQL
I have a Flat File Source that reads data from a file with two
I have a flat file with names, addresses, and other data. Most of the
I have flat file. I am loading data from flat file to source table
I have a flat file with some useful data along with timestamp on each

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.