• dob111283 (4/12/2013)


    This may be a stupid question but everytime I make a new command or query with T-SQL, do I have to open up a new query window or can I just delete the previous query and type in the blank of said query?

    No, you don't have to open a new query window. You don't even have to delete what is already in the current window. You can type a new query, hightlight it and execute it. I do it all the time. Sometimes I'll also comment previous code so I don't have to highlight just the code I want. I usually do this when I need the code in the query window for things I am working on.