Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

How to run SQL script file to create db

$
0
0

I received a db dump from my current web host because we are building a new website with a new host.  One of the files they sent is an sql script file, which I have never worked with before.  I did a little research and because I was nervous about running on my production server to see the database I just installed SQLExpress on my desktop.  I first tried running it in SSMS but got an "insuffiecient memory" error.  So I tried running it using sqlcmd.  I ran this command 

Text
sqlcmd -S desk_pc\sqldb_web -i "D:\downloads\website\sql\webdb_magento.sql"

It runs without any errors or messages and just returns me to my c:\ prompt.  I then go into SSMS and into sqldb but I do not see any new database.  Can anyone tell me what I am doing wrong?  Thanks


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>