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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:26:00+00:00 2026-06-04T04:26:00+00:00

I have a huge .sql file (1.5 gb). I generated it from scripting a

  • 0

I have a huge .sql file (1.5 gb). I generated it from scripting a datasbase in Sql server 2008. Now i want to run the script on another machine to create the same database with all the data, but when i try to open it, SSMS throws an out of memory exception. The machine has 8gb of ddr3 ram, so the computer can handle it. How can i run my file, copy.sql, which has the t-sql code to create my database without opening it? Something like this in a query window in SSMS:

   exec copy.sql
  • 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-04T04:26:01+00:00Added an answer on June 4, 2026 at 4:26 am

    Have you tried osql.exe or sqlcmd.exe? They probably will handle it better.

    Also, you could export the data as bcp which would make it easier to import since it’s so large.

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

Sidebar

Related Questions

I have a huge SQL file that I want to restore to mysql server
I have huge query on my SQL 2005 Server. This have to be run
I am over SQL Server 2008 and I have a field with a huge
I have a huge SQL file that gets executed on the server. The dump
I have a SQL Server 2008 Database running on Express. I want to copy
I have a huge problem with the REPLACE SQL function in Microsoft SQL Server
Scenario: I have a huge .csv file (million of lines) . With sqlldr (SQL
So I have a huge huge file in Excel that I want to use
I have a huge SQL script which i need to analyse. It would be
I have a huge sql script that makes a lot of changes in my

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.