How to Set Status Bar Color in SSMS for Different SQL Server Instances - SQL...
Scenario:Let's say you are working as DBA or Developer and you can connect to different development servers, UAT Servers and Productions Servers and have permission to execute scripts. You always check...
View ArticleConfigure StartUp Environment in SQL Server Management Studio (SSMS) - SQL...
Scenario:If you open SQL Server Management Studio, it will ask you provide the SQL Server Instance Name. Once you do that, It opens Object Explorer. You would like to open Object Explorer and New Query...
View ArticleCycle Through Clipboard Ring in SQL Server Management Studio (SSMS) - SQL...
Scenario:We often copy and past queries to work with them in different Query Windows. Let's say you have close all the Query Windows and would like to go to one of the query you had copied. You can use...
View ArticleSelect and Edit Vertical Blocks in SQL Server Management Studio ( SSMS) - SQL...
Scenario:We often come to situation where we need to make same changes to multiple line of code. This is great feature to make quick change to tsql script.Take a look into below script,I would like to...
View ArticleHow to create Custom Shortcuts in SQL Server Management Studio ( SSMS) - SQL...
Scenario:You can create shortcut for most commonly used Stored Procedures so you don't have to write every time. You can simple use Shortcut keys to run them.Solution:Open SQL Server Management Studio...
View ArticleHow to add Line Numbers in SQL Server Management Studio ( SSMS) - SQL Server...
Scenario:As sql server developer we write a lot of scripts and every time error occur, it say error happened on line number x.if you are using 3 lines code like me, you might be Ok to see which is...
View ArticleHow to Change Color and Fonts in SQL Server Management Studio ( SSMS) - SQL...
Scenario:I am SQL Server developer and I don't like the default fonts used in SQL Server Management Studio, they are too small and I don't like the style. Also I would like to change the color of text....
View ArticleHow to Split Query Window in SQL Server Management Studio (SSMS) - SQL Server...
Scenario:You have written long TSQL script in SSMS. You are in process of debugging and want to take a look on start and end of code at the same time. You don't have two monitor available. Is it...
View ArticleHow to View Multiple Queries and Results Side by Side in SQL Server...
Scenario:You are working on multiple queries and seeing results. You want to see the queries and result windows at the same time in SQL Server Management Studio.How can you do that?Solution:This is...
View ArticleHow to Display Query and Results in Separate Tab in SQL Server Management...
Scenario:Every time I run query in SQL Server Management Studio (SSMS), the results are shown under the query window. To see the full result window, I have to drag up. Can I see the Query and Results...
View ArticleHow to use Templates in SQL Server Management Studio (SSMS) - SQL Server /...
Scenario:I am new developer or been working from long time but my memory is not that great;) every time I need to create an object, I forget the script and I have to go to Google or Microsoft website...
View ArticleHow to Generate DDL Scripts(Create) from SQL Server Management Studio (SSMS)...
Scenario:We often need to get DDL( Data Definition Language) scripts for different objects such as tables, views and Stored Procedures etc.Is it possible to generate Create Table statement for a table...
View ArticleEdit Table Rows / Records in SQL Server Management Studio ( SSMS) - SQL...
Scenario:I know that we can write update statements to update records in a table in SQL Server Management Studio(SSMS), Is there a way to update record visually?Solution:Yes, SQL Server Management...
View ArticleHow to Filter Objects in SQL Server Management Studio (SSMS) - SQL Server /...
Scenario:I am tired of scrolling through all the objects such as tables, Stored Procedure and View to find an object. Sometime I need to script Stored Procedure to see the definition and it take me...
View ArticleHow to Change Values for Edit Top X and Select Top X Rows in SQL Server...
Scenario:I am interested to Change Values for Edit Top X and Select Top X Rows in SSMS. How I can do that?Solution:If you right click on the Table and see the Rows for Select and Edit, you see Select...
View ArticleHow to Dock / UnDock Query Windows and Other Tabs in SQL Server Management...
Scenario:I am multiple Monitors, it is possible for me to take Query Windows and other tabs to different Monitors from SQL Server Management Studio(SSMS)?Solution:Choose the Tab or Query windows and...
View ArticleHow to Handle Multiple Objects by using Object Explorer Detail Windows in...
Scenario:I know that I can right click on table and generate script or Delete the table, If I want to do the same operation of multiple tables, How I can do that? I don't want to perform this operation...
View ArticleHow to Export query result to .csv or Tab Delimited File in SQL Server...
Scenario:I can view query results in SQL Server Management Studio(SSMS), Is there a way to save the query results to csv file or tab delimited file from SSMS?Solution:We often need to save the query...
View ArticleHow to Create Database in SQL Server By using TSQL or GUI - SQL Server / TSQL...
Scenario:You are working as database developer and you have to prepare scripts for Create Database with below requirements so it can be run in QA, UAT and Production SQL Server Instances.Database Name...
View ArticleHow to Drop Database by using TSQL and GUI - SQL Server / TSQL Tutorial Part 25
Scenario:You are working as Database developer in Health Insurance company, You need to generate script to drop database that can be used in different environments such as QA, UAT and...
View Article