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

Server Mgmt Studio question
Trying to get functionality of mysql query browser to work in similar
manner with mssql Server mgmt studio.

Using mysql query browser I can enter many statements and as long as
they are terminated with a semicolon they can all exist in the query
window. I can move from statement to statment by just moving the cursor
and hitting the execute button.

When I try doing this with MS Server Mgmt Studio it 'seems' that I can
only have one statement in the window at a time. I have a hard time
believing that is so.... so I must not be doing something correctly. How
do I get the same functionality from Mgmt Studio query browser?

TIA

Report this thread to moderator Post Follow-up to this message
Old Post
user
12-14-06 12:12 AM


Re: Server Mgmt Studio question
> When I try doing this with MS Server Mgmt Studio it 'seems' that I can
> only have one statement in the window at a time.

In what window?  Did you right-click your database and select New Query?  Or
did you get what you think is a "query window" by doing something silly,
like right-clicking a table, choosing "Open Table," and then clicking on the
fancy SQL button?



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron Bertrand [SQL Server MVP]
12-14-06 12:12 AM


Re: Server Mgmt Studio question
> When I try doing this with MS Server Mgmt Studio it 'seems' that I can only have one stat
ement in
> the window at a time.

Why do you say that? When I open a query window, I can type as many TSQL com
mands as I wish. If I
only want to execute some of the TSQL commands in the window, I mark that te
xt and hit execute. If I
don't mark any text, then all commands in the window will be executed when I
 hit execute.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"user" <someone@someplace.org> wrote in message
news:qRWfh.485028$QZ1.241027@bgtnsc04-news.ops.worldnet.att.net...
> Trying to get functionality of mysql query browser to work in similar mann
er with mssql Server
> mgmt studio.
>
> Using mysql query browser I can enter many statements and as long as they 
are terminated with a
> semicolon they can all exist in the query window. I can move from statemen
t to statment by just
> moving the cursor and hitting the execute button.
>
> When I try doing this with MS Server Mgmt Studio it 'seems' that I can onl
y have one statement in
> the window at a time. I have a hard time believing that is so.... so I mus
t not be doing something
> correctly. How do I get the same functionality from Mgmt Studio query brow
ser?
>
> TIA



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
12-14-06 12:12 AM


Re: Server Mgmt Studio question
I think he is talking about Open Table / SQL view, or view designer, or one
of the other sub-par query tools in the product.  But not the standard query
window that you get from New Query.


> Why do you say that? When I open a query window, I can type as many TSQL
> commands as I wish. If I only want to execute some of the TSQL commands in
> the window, I mark that text and hit execute. If I don't mark any text,
> then all commands in the window will be executed when I hit execute.



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron Bertrand [SQL Server MVP]
12-14-06 12:12 AM


Re: Server Mgmt Studio question
Ahh, I see.
I've never used those features (view designers and such) in SSMS, which perh
aps can serve as an
excuse that I didn't catch that... ;-)

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"Aaron Bertrand [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in mess
age
news:OJQBuGuHHHA.960@TK2MSFTNGP04.phx.gbl...
>I think he is talking about Open Table / SQL view, or view designer, or one
 of the other sub-par
>query tools in the product.  But not the standard query window that you get
 from New Query.
>
> 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
12-14-06 12:12 AM


Re: Server Mgmt Studio question
Highlight the query you wish to execute, and click on the EXECUTE button (or
hit F5).

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


"user" <someone@someplace.org> wrote in message
news:qRWfh.485028$QZ1.241027@bgtnsc04-news.ops.worldnet.att.net...
> Trying to get functionality of mysql query browser to work in similar
> manner with mssql Server mgmt studio.
>
> Using mysql query browser I can enter many statements and as long as they
> are terminated with a semicolon they can all exist in the query window. I
> can move from statement to statment by just moving the cursor and hitting
> the execute button.
>
> When I try doing this with MS Server Mgmt Studio it 'seems' that I can
> only have one statement in the window at a time. I have a hard time
> believing that is so.... so I must not be doing something correctly. How
> do I get the same functionality from Mgmt Studio query browser?
>
> TIA



Report this thread to moderator Post Follow-up to this message
Old Post
Arnie Rowland
12-14-06 12:12 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server 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 10:27 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006