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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:18:26+00:00 2026-05-29T21:18:26+00:00

I have a little problem. My friend has a database with over 10 tables

  • 0

I have a little problem. My friend has a database with over 10 tables and each table has over 90-100 records.

I can’t find a workaround to export the records (to put in a SQL file something like this: INSERT INTO .... VALUES ... for each existing records) from his tables to import in my database.

How to do that ?

I tried: right click on a table -> Script Table as -> INSERT TO -> File ...

but it only generate the INSERT statement.

There are a solution ? or this feature is only for commercial version ?

UPDATE

You can use BCP command with command prompt like this

For export: bcp ADatabase.dbo.OneTable out d:\test\OneTable.bcp -c -Usa -Ppassword
For import: bcp ADatabase.dbo.OneTable in d:\test\OneTable.bcp -c -Usa -Ppassword

these commands will create a BCP file which contains records for specified table. You can import using existing BCP file into another database

If you use remote database then:

bcp ADatabaseRemote.dbo.OneTableRemote out d:\test\OneTableRemote.bcp -Slocalhost/SQLExpress -Usa -Ppassword

Instead of localhost/SQLExpress, you can use localhost or other server name…

  • 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-29T21:18:27+00:00Added an answer on May 29, 2026 at 9:18 pm

    Probably the simplest way to do this would be to run a SELECT statement that outputs to a file. Then you can import that data into your database.

    For simple moves, I have also done a copy/paste manually. Sometimes it is better to use Excel as a staging platform before pasting it into the new database. You may need to create a temporary table in your new database that matches up exactly with the data you are pasting over. For example, I usually don’t put a PK on the temp table at first and make the PK field just an INT. That way the copy will go smoother.

    In the corporate world, you would use SSIS to move this data around.

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

Sidebar

Related Questions

I have a little problem with a Listview. I can load it with listview
I have a little problem with a simple vbScript. The script has to run
i have little problem in using my application application having msaccess database if i
I have little problem. I can't use AcceptVerb.Get on some ASP.NET MVC actions because
I have little problem in my iPhone application code but can not identify. please
So I have a problem. Or rather my friend has a problem, since I
Hey most of my issue has been solved but i have little problem This
I have a little problem and I'm hopping that you can help me solve
I have a friend that has a little bit of a holiday coming up
I'm have little problem in retrieving the data from a table here's the code:

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.