Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

New Query with Current Connection
I am missing "New Query with Current Connection" button in SQL Editor in the
SQL management studio. Few posts on the Web refer explain that  this button
should allow me to open a new query in the existing window.

I've checked "Add Remove Buttons" for SQL editor but I still cannot find it.

Any ideas?

Report this thread to moderator Post Follow-up to this message
Old Post
Bojan Kuhar
03-17-06 01:24 AM


Re: New Query with Current Connection
Bojan Kuhar  wrote:
> I am missing "New Query with Current Connection" button in SQL Editor in t
he
> SQL management studio. Few posts on the Web refer explain that  this butto
n
> should allow me to open a new query in the existing window.
>
> I've checked "Add Remove Buttons" for SQL editor but I still cannot find i
t.
>
> Any ideas?
I'm not sure it can be done, but "Ctrl-N" will give you the "New query
with current connection".

Regards
Steen

Report this thread to moderator Post Follow-up to this message
Old Post
Steen Persson (DK)
03-17-06 01:24 AM


Re: New Query with Current Connection
Fantastic.

Now, one more. Is there something like "Open Query with Current Connection".
I'd like to avoid the Connect to Database Enginde dialog.

More-less like Qury Analyzer that allows you to open a new query in the
existing window.

Regards

Bojan


"Steen Persson (DK)" wrote:

> Bojan Kuhar wrote: 
> I'm not sure it can be done, but "Ctrl-N" will give you the "New query
> with current connection".
>
> Regards
> Steen
>

Report this thread to moderator Post Follow-up to this message
Old Post
Bojan Kuhar
03-17-06 08:25 AM


Re: New Query with Current Connection
My fault. The button was called New Query with Current Connection in one of
the betas. The released version renamed it to New Query. I changed most of
the references, but I missed a few. I think I got rid of them all by web
release 1 of Books Online though.
The New Query button will use the connection that has focus when you click
it. Either Object Explorer, or an existing Query Editor window. If your
current context has no connection, then it will pop up the Connect to Server
dialog box.
--
Rick Byham
MCDBA, MCSE, MCSA
Documentation Manager,
Microsoft, SQL Server Books Online
This posting is provided "as is" with
no warranties, and confers no rights.

"Bojan Kuhar" < BojanKuhar@discussio
ns.microsoft.com> wrote in message
news:01230DB5-BEE5-4452-B89E- 470DCCE488F2@microso
ft.com...
>I am missing "New Query with Current Connection" button in SQL Editor in
>the
> SQL management studio. Few posts on the Web refer explain that  this
> button
> should allow me to open a new query in the existing window.
>
> I've checked "Add Remove Buttons" for SQL editor but I still cannot find
> it.
>
> Any ideas?



Report this thread to moderator Post Follow-up to this message
Old Post
Rick Byham [MS]
03-17-06 04:23 PM


Re: New Query with Current Connection
Bojan Kuhar  (BojanKuhar@discussi
ons.microsoft.com)  writes:
> Fantastic.
>
> Now, one more. Is there something like "Open Query with Current
> Connection". I'd like to avoid the Connect to Database Enginde dialog.
>
> More-less like Qury Analyzer that allows you to open a new query in the
> existing window.

What Steen said, CTRL-N is the key. Provided one thing: under Tools->
Options->Keyboard select SQL 2000 instead of Standard.

The New Query button also works if you are in a query window or Object
Explorer, and so does File->New->Query with Current Connection.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
03-19-06 04:09 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server Tools archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:40 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006