Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Alternatives
 

Execute SQL Query / SQL Command on SQL Server Using the Command Prompt

SQLCMD can be used to login to the Sql Server as well. One can only provide Server address, User Name and Password at the command prompt and press enter.The command prompt will change to 1>. Now any sql query can typed and by pressing enter in the next prompt a GO command and pressing enter...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

25 Jan 2012  
IkhwanKrisnadi 1 alternative  
 
How to execute SQL Query / SQL Command on SQL Server using command prompt.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

manish76235
Architect Safaltek Software
India India
Working for over 20 years now and still learning.
Working for a product base company building solutions for the marine world.

| | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 3 Feb 2012
Article Copyright 2012 by manish76235
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid