About 13,600,000 results
Open links in new tab
  1. How can I generate an entity–relationship (ER) diagram of a database ...

    128 I want to generate an ER diagram of an SQL database using Microsoft SQL Server Management Studio (SMSS). However, I don’t know how to. I found this technique online: Making ER Diagram …

  2. Connect different Windows User in SQL Server Management Studio …

    Apr 22, 2016 · Is there a way in SQL Server Management Studio 2005 (or later) to change the Windows Authentication user (as you could in SQL Server 2000 and older)? This is the general connection …

  3. How do you specify a different port number in SQL Management Studio?

    Sep 18, 2008 · I am trying to connect to a Microsoft SQL 2005 server which is not on port 1433. How do I indicate a different port number when connecting to the server using SQL Management Studio?

  4. How do I obtain a Query Execution Plan in SQL Server?

    Method 1 - Using SQL Server Management Studio SQL Server comes with a couple of neat features that make it very easy to capture an execution plan, simply make sure that the "Include Actual …

  5. How to view the stored procedure code in SQL Server Management …

    I am new to SQL Server. I am logged into my database through SQL Server Management Studio. I have a list of stored procedures. How do I view the stored procedure code? Right clicking on the sto...

  6. Format SQL in SQL Server Management Studio - Stack Overflow

    Feb 13, 2020 · In Visual Studio & other IDEs, you can easily auto format your code with a keyboard shortcut, through the menu, or automatically as you type. I was wondering if there is yet a way to …

  7. Shortcuts to comment and uncomment SQL queries in SQL Server …

    Aug 22, 2022 · 9 To comment 3 SQL queries with shortcuts in SQL Server Management Studio (SSMS) as shown below, first, I dragged them, then pressed only one of CTRL+K or CTRL+C but I couldn't …

  8. How to duplicate a SQL database in Microsoft SQL Server …

    Jun 16, 2022 · In MS SQL Server, the easiest way to copy your DB with another name is the copy data wizard which is available under task menu. Right-click on DB you want to copy --> Tasks --> Copy …

  9. Saving changes after table edit in SQL Server Management Studio

    Dec 28, 2009 · In SQL Server Management Studio, create a table that contains a primary key in the Table Designer tool. Right-click the database that contains this table, and then click Properties.

  10. How to see query history in SQL Server Management Studio

    Is the query history stored in some log files? If yes, can you tell me how to find their location? If not, can you give me any advice on how to see it?