Wrox Programmer Forums
|
SQL Server 2008 General discussion of SQL Server *2008* version only - not related to a specific book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 20th, 2009, 08:11 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSMS Query Editor

I use SSMS Query files (.sql) to manage many aspects of a SQL database. Usually, I select portions of the script and click the Execute button to run the selected SQL code.

My problem is sometimes I can accidentally click the Execute button without first making a selection. SSMS attempts to execute the entire script. This can be potentially damaging to the database...

In most cases, I have some SQL code that does SSMS complains about, hopefully before any of the statements are executed, but in others I have "clean" SQL code in the query file, but only wish to execute small portions at a time.

Any suggestions would be appreciated.





Similar Threads
Thread Thread Starter Forum Replies Last Post
editor abaso.jadhav01 ASP.NET 2.0 Basics 0 November 8th, 2006 11:34 AM
What's going on with editor? dbabas VB.NET 2002/2003 Basics 1 March 16th, 2005 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.