Solved

How to import a .sql file in SQL manager studio

Posted on 2014-10-07
4
254 Views
Last Modified: 2014-10-09
Can anyone tell me what are the step to import a
 import a .sql file in SQL manager studio
0
Comment
Question by:yguyon28
4 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40367264
Open SQL Management Studio, go to File, Open and select the SQL file.  It will open it in a query window.
0
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 40367387
From SSMS 2018 and 2012, File menu, Open menu item, File...
File Open FileThen in the resulting Open File dialog navigate to your .sql file and hit the Open button.
0
 
LVL 2

Expert Comment

by:Pratik Makwana
ID: 40367705
Solution.......

1.Start SQL Server Management Studio
2.Connect to your database
3.File > Open > File and pick your file
4.Execute it
0
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40367749
Did you try to double-click on file? If you don't have any other database management tool installed the .sql will be set as default file type for SSMS.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now