[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

sql shortcuts

When SQL Server is installed on a system, what are the shortcuts(related to SQL Server) that will work from "run" prompt. Example - SSIS, BIDS etc

Is there any setup required before the shortcuts become acive? Is this the same for all editions of SQL?

Thanks
0
anushahanna
Asked:
anushahanna
  • 3
  • 2
  • 2
2 Solutions
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
To do anything in SSIS packages, you need to open up BIDS and you can do it via devenv.exe in command prompt..

>> Is there any setup required before the shortcuts become acive?

Once the installation ( Client tools) is done, it would be available.

>> Is this the same for all editions of SQL?

For SSMS it differs between 2005 and 2008..
Haven't checked out for BIDS in both versions..
And hence answer is Yes, it varies.
0
 
k_murli_krishnaCommented:
Try this:
Using the SQLCMD command line utility for SQL SERVER
http://www.sqlbook.com/SQL-Server/SQLCMD-command-line-utility-13.aspx

You can use isql/osql as well.

Not exactly from windows run but at command prompt. But you can try in run as well.

Also refer:
Start / Stop SQL Server From Command Prompt or Run Prompt
http://www.troublefixers.com/start-stop-sql-server-from-command-prompt-or-run-prompt/
Getting Started with Command Prompt Utilities (This is good and useful)
http://msdn.microsoft.com/en-us/library/ms162816(SQL.90).aspx
SQL Server 2005 - Management Utilities
http://www.databasejournal.com/features/mssql/article.php/3491006/SQL-Server-2005---Management-Utilities.htm
0
 
anushahannaAuthor Commented:
I am looking for what are the various executables with different versions of SQL that you can invoke from the command prompt. (without going to start->programs->Sql server->....)

For example: 2k: Ent Manager, Query Analyzer etc
2005: ssms, bids, profiler, dta etc

thanks
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
k_murli_krishnaCommented:
At least I have given your two:

To Start SQL Server 2005 – run the following command at run prompt  
net start mssqlservaer

To Stop SQL Server 2005 – run the following command at run prompt  
net stop mssqlserver

Windows XP Run Commands and Shortcuts
http://foliovision.com/seo-tools/computers/windows/xp-run-commands

One is Cmd - Opens a new Command Window (cmd.exe). From here you can execute all SQL Server commands, command line utilities in bin directory, executing scripts etc. using isql/osql/SQLCDM. Nothing is left out. Whatever happens in SQL Server built in or third party GUI tools, all actually happens in background at command line.

Also see:

SQL Server 2005's EXECUTE AS statement
http://www.databasejournal.com/features/mssql/article.php/3596701/SQL-Server-2005s-EXECUTE-AS-statement.htm
SQL SERVER – 2005 Comparison SP_EXECUTESQL vs EXECUTE/EXEC
http://blog.sqlauthority.com/2007/07/02/sql-server-2005-comparison-sp_executesql-vs-executeexec/
EXECUTE (Transact-SQL)
http://msdn.microsoft.com/en-us/library/ms188332.aspx
0
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
-- For Enterprise Manager, change the location accordingly
2000 Ent Manager - mmc.exe /s "C:\Program Files\Microsoft SQL Server\80\Tools\BINN\SQL Server Enterprise Manager.MSC"
2000 Query Analyzer - isqlw.exe

2005 ssms - sqlwb
2005 bids - devenv
2005 profiler - profiler90
2005 dta - dtashell

2008 SSMS - ssms
2008 bids - devenv
2008 profiler - profiler
2008 dta - dtashell

And hope this helps..
0
 
anushahannaAuthor Commented:
Thanks very much, to both of you. Just what i needed.
0
 
Raja Jegan RSQL Server DBA & ArchitectCommented:
Welcome..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now