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 8193489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:29:44+00:00 2026-06-07T04:29:44+00:00

I have table with more than 3 000 000 rows. I have try to

  • 0

I have table with more than 3 000 000 rows. I have try to export the data from it manually and with SQL Server Management Studio Export data functionality to Excel but I have met several problems:

  • when create .txt file manually copying and pasting the data (this is several times, because if you copy all rows from the SQL Server Management Studio it throws out of memory error) I am not able to open it with any text editor and to copy the rows;

  • the Export data to Excel do not work, because Excel do not support so many rows

Finally, with the Export data functionality I have created a .sql file, but it is 1.5 GB, and I am not able to open it in SQL Server Management Studio again.

Is there a way to import it with the Import data functionality, or other more clever way to make a backup of the information of my table and then to import it again if I need it?

Thanks in advance.

  • 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-06-07T04:29:46+00:00Added an answer on June 7, 2026 at 4:29 am

    I am not quite sure if I understand your requirements (I don’t know if you need to export your data to excel or you want to make some kind of backup).

    In order to export data from single tables, you could use Bulk Copy Tool which allows you to export data from single tables and exporting/Importing it to files. You can also use a custom Query to export the data.

    It is important that this does not generate a Excel file, but another format. You could use this to move data from one database to another (must be MS SQL in both cases).

    Examples:
    Create a format file:

    Bcp [TABLE_TO_EXPORT] format “[EXPORT_FILE]” -n -f “[ FORMAT_FILE]” -S [SERVER] -E -T -a 65535

    Export all Data from a table:

    bcp [TABLE_TO_EXPORT] out “[EXPORT_FILE]” -f “[FORMAT_FILE]” -S [SERVER] -E -T -a 65535

    Import the previously exported data:

    bcp [TABLE_TO_EXPORT] in [EXPORT_FILE]” -f “[FORMAT_FILE] ” -S [SERVER] -E -T -a 65535

    I redirect the output from hte export/import operations to a logfile (by appending “> mylogfile.log” ad the end of the commands) – this helps if you are exporting a lot of data.

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

Sidebar

Related Questions

I have an SQL table called tbl_einheit. phpmyadmin shows more than 14.000 rows in
I have a MyISAM table with more than 10^7 rows. When adding data to
I have just create a large table with more than 30 rows of data,
I have a table with more than 10 000 000 rows. In TOAD this
I have more than 30,000 rows in a table. It takes a lot of
I have more than 50,000 rows of data in Excel that look like this:
I have a table, with lots of rows (more than 5,000,000,000 ), and I
I'm importing more than 600.000.000 rows from an old database/table that has no primary
I have a table with more than 300,000 rows (Total table size is 600mb+).
I have a table with more than 9 rows. If I do this :

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.