There are several ways to configure SSMS to point to your own working directory as the default. Here's the easiest to do it without registry hack. You just need to edit the Visual Studio settings file (XML format). Open Windows Explorer, and go to (you can force type): Find vssettings file with the latest modification date. The file name should follow the convention … [Read more...]
How to Find a Column Name in SQL Server Database
This query was originally appeared from SQL Authority Blog and I find it really useful when you need to find a column in any tables in a database. If you need to find all column names that are in the database, just comment out or delete the highlighted line from the SQL command above. Further Reading SQL SERVER – Query to Find Column From All Tables of Database How to Get Table … [Read more...]
Using Connection Coloring in SSMS Tools Pack
From previous posting, we demonstrated a way to use custom color coding using SQL Server Management Studio's (SSMS) Registered Servers properties. But using the feature can be very dangerous if you don't have the discipline to follow a strict process of opening new query from the registered servers pane. For example, if you use Change Connection button, the color will stay the same as the last … [Read more...]
How to Use Custom Color in SSMS
With many mistakes made by developers and DBAs alike firing a query in a wrong environment, there is one easy thing that can be done to alleviate this problem. That is by using the color coding on the status bar and you can set this up in the server registration on your SQL Server Management Studio (SSMS). This feature is so easy to overlook because many people just don't bother to look at the … [Read more...]
How to Create a SQL Server Agent Proxy Account
When you need to execute job steps under a specific security context, proxy account can be used to allow users who are not sysadmin to run them. Before you can create a proxy account, you first need to create a credential that needs to be linked later. This can be a window service account or a user's active directory id. Creating a Credential In the Object Explorer, expand Security … [Read more...]