SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 need help in sql query
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

skybvi
Posting Yak Master

Virgin Islands (United Kingdom)
193 Posts

Posted - 08/02/2013 :  01:30:07  Show Profile  Reply with Quote
I have a computer A which has sql installed
in it
and i have the sql file which has a code
now i have another computer B
which doesnt ahve any sql tools in it
i have to connect through command line and execute the command in computer a from computer b


Regards,
Sushant
DBA
Virgin Islands(U.K)

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 08/02/2013 :  01:41:23  Show Profile  Reply with Quote
you may need SQLCMD

SQLCMD can be used for executing sql scripts

http://msdn.microsoft.com/en-us/library/ms162773.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000