Saturday, May 3, 2014

how to run sql script from command prompt in sql server window


Just type in cmd prompt following command . Please change servername\instanceName with your original Database server name and file location before running this script. 


 sqlcmd -S ServerName\InstanceName -i E:\31october\demo.sql

No comments:

Post a Comment

ASP.NET Core

 Certainly! Here are 10 advanced .NET Core interview questions covering various topics: 1. **ASP.NET Core Middleware Pipeline**: Explain the...