Execute SQL Query / SQL Command on SQL Server Using the Command Prompt
Posted by: The Code Project Latest Articles,
on 03 Feb 2012 |
View original | Bookmarked: 0 time(s)
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......