I Am Sooooo Close To Configuring SQL Management Studio (SQL-MS) To Do What I Want

Feb 20, 2008

Using the External Tools item under the Tools menubar, I can create "calls" to custom BAT files where, using utilities like 'sqlcmd', I can do just about anything I want.

I can also create a custom menubar in SQL-MS and I can associate each of those External Tools "calls" to individual buttons on my custom menubar.

So, for common activities, I can just push a button and this custom action will be executed while I am sitting in the SQL-MS.

That is great ! ! !

Now, one of the features of the External Tools allows me to pass arguments to those called BAT files.

I'd like to send, to my called BAT file, the currently-selected object on the Summary sheet of the SQL-MS (or the Object Explorer). The External Tools functionality currently has a list of SQL-MS environment supplied values (I'll call them "tokens") centered upon values in the current query window. But I do not see any tokens that refer to the Summary sheet (or the Object Explorer).

Does anyone know how I might be able to refer to the currently selected object in either the Summary sheet, or the Object Explorer? I would also need the currently selected database and server.

If I could make those references, I could set-up SQL-MS just the way I want it, without having to be a heavy-duty programmer.

Any help would be appreciated.

Thanks.

View 8 Replies


ADVERTISEMENT

How To Close Window In Management Studio ?

Feb 14, 2007

keyboard shortcuts for management studio
http://msdn2.microsoft.com/en-us/library/ms174205.aspx

Anyone know of a way to setup a keyboard shortcut to close the current window your working in ? Normally with other editors (such as visual studio) I use ctl-w to close the current window. Cant do that with sql studio.

suggestions ?

View 1 Replies View Related

SQL 2012 :: Close ALL Connections To Particular Database Engine In Management Studio?

Jul 14, 2015

In SQL Server Management Studio, it is possible to do the following:

a) In Object Explorer, connect to a particular SQL Server Database Engine, let's call it X.
b) Use that connection to generate many SQL queries, connected to X, in the right-hand pane.
c) In Object Explorer, connect to a particular SQL Server Database Engine, let's call it Y.
d) Use that connection to generate many SQL queries, connected to Y, in the right-hand pane.
e) Close the connection to X, which was created in step (a), from within Object Explorer.

In the right-hand pane, I am now left with a bunch of queries connected to X, and a similar bunch of queries connected to Y. Any quick way to shut all the queries connected to X, but none of the queries connected to Y?

This question can assume real practical importance if server X is a Live Production Server, and server Y is a Test Server, and my next job of the day is to run a change script against server Y....

I have looked for an option in Management Studio to "Close all queries connected to Server X", but haven't found one.

View 6 Replies View Related

Management Studion Express Alongside Full-blown Management Studio?

Oct 9, 2006

Is it possible to run both Sql Server Management Studio: Express and full blown side by side?

I am developing with the full blown product but would like to test Management Studio Express on the same box.
Is this possible?

Thanks

Eric

View 3 Replies View Related

SQL Server Management Express Studio Management Tools

Apr 5, 2007



I have recently installed the SQL Server Management Studio Express but I do not find Management Tools in order to create scheduled backups and shrinking of the databases. I was under the impression that this should be included in the Management Studio. I use the SQL 2005 Express for smaller customers who run the SQL on a desktop unit. I need a way to backup the data to a server machine for backup purposes. I have uninstalled and reinstalled to no avail.

View 7 Replies View Related

Visual Studio Database File And SQL Server Management Studio Express Question

Mar 17, 2007

I have a database in my "App_Data" folder of my visual studio project.  I can view it fine in Visual Studio's built-in tools for managing a database attached to a solution.  However i recently started playing around with the SQL Server Management Studio Express program.  When i attach my database to Management Studio, and try to run my program it crashes.  I think it might be a permissions error?!? When i detatch it and reattach it in visual studio it runs fine again.   Any suggestions? ThanksJason 

View 1 Replies View Related

Best Practice Configuring Visual Studio Solution For .SDF Databases

Dec 5, 2006

Hello,



In our company we haven't tamed Visual Studio yet for the part of configuring
the application database. Therefore I was wondering if there is someone that
can give me hints or clues on what the best practice is for configuring Visual
Solution to handle an SDF database (SQLCE 3.0). I have search a bit on the
internet and this forum, but couldn't find a decent how-to or best practices
guide that copes with this specific problem.

As
a matter of facts, i am also curious for guidelines and tips on the best way to
configure and manage SQL Server databases under Visual Studio. I guess (read as
hope) that the configuration of a mobile and full blown
database will have some overlaps somehow.



I've found the Database Project which with to manage (Create/Alter) databases,
but is this also the best way to store versions of the database in an
source repository? Can such a project allow me to 'automagically' have a
correct database (so with tables and data) when i want to deploy or debug my
device application?

I am asking this because now our database designers and software engineers have
to do allot of manual actions to update the application with the most recent
database version. SDF databases are flying around all over the place, and in
order to test a specific version of the application, the related database has
to be copied manually on the device. We are not searching for replication
related solutions, nor adding the SDF itself to the source repository, but because
most of our applications are server-client based, it would be really super cool
if we could somehow couple both database definitions and generation together. My
feeling says me there ought to be some feature embedded somewhere deep into
Visual Studio that we missed that would (partially) simplify and automate this
whole process for us.

Another
related question is if it is possible to couple XSD generated datasets to an
SDF database. Is it possible to update the generated code (or the describing
XSD documents) from an SDF database? i again guess that this somehow should be
possible in oderder to keep both code and data in sync, and i do not like the
alternative to always update the XSD when the SDF architecture changes. Somehow
i cannot find out how to do this. i was initially searching for the other way
around: Use an XSD to generate both the DataSet codewrappers and the database
itself.

Any
information is welcome and many thanks in advance!

Peter
Vrenken

View 7 Replies View Related

Visual Studio 2005 Standard And SQL Server Management Studio?

Sep 4, 2007

I am new to visual studio and I am still not sure of all its components and features.

I installed visual studio 2005 standard edition but cannot find SQL Server Management Studio?

I guess this must be because it is not included with Visual studio 2005 standard. Is it included with VS 2005 professional?

I want to add pictures of products to my shopping site using an SQL database and I’ve been told that SQL Server Management studio is required as it is a graphical tool.

How would I go about obtaining the SQL server management studio. There seems to be different versions of SQL server that it is confusing to know which one to purchase.

Will the SQL server 2005 version that comes with Visual studio standard be sufficient for me now right? I want to create a shopping site with hundreds, perhaps even thousands of products. I want to use an SQL server 2005 database. The database will include ‘dynamically generated’ product images if that is the correct terminology.

My goodness, it seems I still have so much to learn.

Thanks

View 1 Replies View Related

The Database Created Using Management Studio Cannot Be Connected To Visual Studio???help

May 13, 2008

 
 
I have created a database under management studio and i want it to be connected in visual studio but it failed
the error msgs said that the database can't be connected coz the database with same name exits but that is not true

View 2 Replies View Related

How Do I Get The Database That I Am Using In Visual Studio Into My SQL Server Management Studio?

Sep 12, 2007

How do i get the database that i am using in visual studio into my SQL server management studio?
i need to create some scripts to create stored procedures on a live server.

View 1 Replies View Related

Is Management Studio Express Compatible With Visual Studio?

Sep 13, 2006

I have installed Visual Studio 2005 which includes SQL Server Express but not the Management Studio.

Can I install SQL Server Management Studio Express?

View 1 Replies View Related

What Is The Different Between Manangement Studio And Management Studio Express

Jan 18, 2007

In Microsoft.COM website do we have a comparision between Management Studio and Management Studio express in term of functions and features of the tool ? (Not SQL Server and SQL Server Express !)

View 1 Replies View Related

Sqlreader.close() And Sqlconn.close()

Feb 13, 2008

Hi,
My question is if I close the sqlreader i am using. will that close the connection it uses or the connection will still remain open?
Syed

View 4 Replies View Related

Management Studio

Jan 12, 2007

dont know y, but i have prob. installing MS Management studio....After a hard drive  failure I was forced to reinstall everything... :( The problem is that after installing vs2005 proffesional edition I  installed the sql server 2005 trial edition and everything was fine during the installation.When I looked for the Management studio it wasnt there for me :( I uninstalled and reinstalled trying the full installation but results was the same, no Management studio!!!After uninstalling the SQL server trial edition I installed the Management studio express and it works. except that from some reason I cannot browse my XP user folder which has no password protection.. :( Any idea for installing the SQL trial edition including the Management studio ???Why can't I browse my XP folder with Management studio express ???Where can I download Management studio (non express version)?? regards 

View 2 Replies View Related

Management Studio

Nov 30, 2007

Hi

I am moving towards managing sqlserver databases and i basically come from a command line background.

Can you please tell me some of the tasks that needs to be done using command line only in sqlserver and wherein management studio falls short.

regards
db2hrishy

View 6 Replies View Related

Management Studio

Apr 25, 2008

I am running management studio from my desktop but I think I need sp2 is there a sp2 download for management studio that isnt management studio express?

View 2 Replies View Related

Management Studio, Why O WHY!

Sep 24, 2007

I like some of the new features in sql2005 management studio, but WHY do you have to right-click -> Modify to view the stored procedure code?

It is SO annoying, previous versions was a simple and quick-double click.

To me this is a major blunder!

Anyone else agree with me?

View 16 Replies View Related

Where Is Management Studio??

Oct 31, 2007

I just installed the Developer Edition of SQL Server 2005 on my machine and updated it to all available patches through Microsoft Update. I cannot find the SQL Server Management Studio on my machine? How can I get this? Help mentioned where its exe is located but I cannot find it there either.

View 4 Replies View Related

Management Studio

Feb 20, 2007

Hello!

What are the differences between "SQL Server 2005 Management Studio" and "SQL Server Management Studio Express"?

I have an installation of SQL Server 2005 Standard Edition and can only find the Management Studio Express!?

How can I install the "not-Express-version" ?

Regards
CSharpNewbie22

View 3 Replies View Related

When Will We Get A Management Studio For SQL Everywhere

Sep 12, 2006

From the outset this database has massive problems

Firstly it is hard to design, change and administer

When will we get a tool to allow us to visually manipulate it

View 4 Replies View Related

About Sql Management Studio?

Feb 20, 2007

i have a problem regarding sql management studio....

1. I can't create new server, i'd follow the tutorial in video. but it doesnt work. or may be i must install the IIS?

2. i create a new database named sample (sql management studio) and add some tables and sort of data. how can i deploy this database so that i can bind/connect to my program.

2 question for now.

thx in advance

View 2 Replies View Related

SQL Management Studio X64

Nov 15, 2007

We are use Vista X64 and SQL-Server 2005 X64 Developer Edition. We are able to connect to a sql2005 server x32 server using SQL 2005 management studio, 32-bit version. From the x64 box (vista x64 with sql x64), we are able to connect to the SQL 2005 32-bit server version using sqlcmd and telnet. But, we are having issues connecting to the 32-bit version of SQL 2005 using the x64 sql management studio GUI. I look all over the internet and the SQL BOL and I was not able to find any compatibility issues with the SQL Management Studio x64 been documented. I am thinking that the reason for the issue is because the SQL management studio is trying to connect using native x64 client drivers. If that is the case, is there another method of connecting to a x32 SQL server. I see that the only way to approach this issue is to install the 32-bit version of the SQL client tools on the x64 system. Thanks

P.S. all servers are using SQL SP2 ( no Cumulative Update 4)

View 2 Replies View Related

Getting Management Studio To Use 3.5

Dec 3, 2007

How can I get sql Management Studio (2005) to use Sql Compact 3.5? It's been working fine with 3.1, but now when I upgrade my own code to use 3.5 and create a new DB then management studio says it can't open it as it's the newer version (3.5xxx and it wants 3.0xxxx)

Exact text is:


You are trying to access an older version of a SQL Server Compact Edition database. If this is a SQL Server CE 1.0 or 2.0 database, run upgrade.exe. If this is a SQL Server Compact Edition 3.0 or later database, run Compact / Repair. [ Db version = 3505053,Requested version = 3004180,File name = C:foo.sdf ] (SQL Server Compact Edition ADO.NET Data Provider)

View 10 Replies View Related

SQL Management Studio

Jul 2, 2007

Installed SQL 2005 standard but the management tools did not install. The admin downloaded the SSMSE (Express version) which does not allow us to manage Analysis Services. We've tried un-installing the SSMSE and then tried to install from the Client Components on the installation disc, the Management console and it doesn't install. Any ideas on how to get the full version installed? Re-installing SQL Server 2005 is not an option as it's been configured and data is now residing in databases.

View 3 Replies View Related

Where Is Management Studio

Apr 11, 2006

I have been working this for 2 days on my XP SP2 machine, AHHHHH !!

I tried running the SQL Server 2005 Tools install, and kept getting SQL configuration checker error with WMI. What finally got me around that was installing VS 2005. {without SQL Express} Ran the tools install, but not Management Studio, only the Configuration Tools on my menu. What the heck, tried running the full install, got the database engine, but still no Management Studio.

Tried uninstalling everything, everything is gone except the database engine.

Tried re-installing, still no luck.

Tried the command line to fix the shortcut to management studio as detailed in the setup help file:

setup.exe /qb REINSTALL=SQL_WorkBench REINSTALLMODE=S

NO LUCK. This is absolutely crazy, what year is this. It's as if something the setup program see's on my machine is blocking the install of management studio.


View 6 Replies View Related

Where Is Sql Management Studio?

Jun 17, 2006

I just installed VS2005 Pro and I also installed SQL 2005 dev edition from CD 1. I installed everything that I could, but after it finished, SQL Management Studio doesn't show up. Why isn't it in the list of available sql server 2005 programs and how do I get it there? Thanks.

View 7 Replies View Related

Where To Get SQL Management Studio?

Jul 12, 2006

Hi Guys,

I know my question looks very stupid but cant help. I got SQL Server 2005 Evaluation Copy along with Visual Studio 2005. I want to do some evaluation of Reporting Services. I am able to create reports from VS 2005 i.e. rdlc extension. and chaning the extension I can publish them to reporting server but I want to create reports with parameters which will be passed from UI form.

On looking some resources i can to know that I will need SQL Server Management Studio to generate RDL reports. Where can i get Management Studio? Do i need to download it or need to purchase it?



Thanks in Advance

Hemant

View 3 Replies View Related

Management Studio

Oct 21, 2006

is there a way to deploy only the workstation tools? Can I create an msi or sms package to install only the tools I need for users to have? Can I lock down the interface so all options are greyed out other than workstation tools?



thanks

View 1 Replies View Related

SQL Server Management Studio

Sep 22, 2006

I have SQL server 2005 developer edition installed on my machine.  I was expecting something like Enterprise manager to manage databases but nothing is installed by default.  Ive found SQL server management studio express and installed it, but Ive also seen references to SQL Server Management Studio.  Are there any differences between the two , or are they the same and are just described differently ??  Im a bit confused, Microsoft should make this clear.

View 4 Replies View Related

SQL Server Management Studio

Oct 1, 2007

Hey everyone,
     Would someone please tell me why the new SQL Server Managment Studio comes with hardly not frills?  What happened to the SQL Enterprise Manager in SQL Server 2000? It had DTS, SQL Agent Job and step viewing, Cool Wizards.. All that great stuff. but with this new Sql Server Management Studio with 2005 all I can do is pretty much look at the data and write queries and create and modify tables. Am I missing something?
I did download an external tool which was called an import/export wizard but it sucks compaired to the DTS in SQL 2000.
I did notice when I open my Sql Server Management Studio "Express" that it is the Express version... Is there a difference?
Thanks for any help.

View 3 Replies View Related

About SQL Server Management Studio Help!!!

Jan 29, 2008

i have SQL Server 2005 dev edition and i wanted to use SQL Server Management Studio so is it installed or i need to install the SQL Server Management Studio  express edition ???
thx

View 1 Replies View Related

Management Studio Crashes

Jan 15, 2008

I can open a single connection to the database engine successfully but if I try to open another connection ('New Query' or 'query with current connection') Management Studio just goes away without any errors.

I am utilizing a remote desktop connection to the server but if I open a connection from my desktop through Management Studio I can establish multiple connections (database engine, query, etc...) with no problems. There are no errors in the sql logs, event viewer or windows log.

Has anyone seen this? Any suggestions would be appreciated.

View 3 Replies View Related

SQL Server Management Studio

May 21, 2008

I have installed SQL Server Management Studio (for SQL2005) to a pc. When the user boots the pc, the following error is received:

fmaagent.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id =0x328 (808), Thread id=0x32c (812).

Click Ok to terminate the application.
Click CANCEL to debug the application.

After clicking on OK, the pc continues on its merry way and boots up successfully.

Does anyone know what would cause this error? I have checked the Microsoft site but did not find this error listed among the documents.

The PC is running Windows XP.

Thanks in advance.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved