(Justin Cooney) SQL Server Management Studio (SSMS) is a great tool for managing instances of your SQL Server databases. Sometimes, though, the fastest way to retrieve information you are looking for isn’t through the SSMS GUI, but through direct SQL queries.
Tag: sql server
Transforming Event Log Data
(Chad Miller) Several months ago I described a solution for Delegated SQL Server Administration with Powershell. In the solution, the SqlProxy module audits all security administration activity to a custom Windows Event log. In this blog post, I’ll described a process to transform and incrementally
A Few Cool Things You Can Identify Using the Default Trace
(Greg Larsen) If you are running an instance of SQL Server 2005 and above then most likely that instance is running the default trace. This default trace is a canned Profiler server side trace that automatically starts up when SQL Server starts.
Implementing SSL encryption for SQL Server in a DNS forwarding environment
(HarshDeep_Singh) Let’s say you have an environment which implements DNS forwarding. In such a setup, the client uses a different name (or FQDN) while connecting to SQL Server than the actual SQL Server name (or FQDN). The connection request is forwarded to actual SQL Server through DNS forwarding i
.NET Application for SQL Server Data Management
(Sherlee Dizon) You are assigned the task of creating an application to maintain the data for a new application from a data administration perspective. The application should be able to add new records, but first check to see if the record already exists. If the record already exists, it should upda
SQL Server 2012 Backup Types and Scopes
(Mike Chapple) One of the major advantages that enterprise-class databases offer over their desktop counterparts is a robust backup and recovery feature set. Microsoft SQL Server 2012 provides database administrators with the ability to customize a database backup and recovery plan to the business a
Declaring VARCHAR without length
(Vadivel) Do you find anything wrong with this script?
LPAD and RPAD functions in SQL
(Md. Humayun Rashed) Padding is the process which adds the given data with the message to make confirm a certain length. It can be to the left side or right side of the message. Suppose your message is “rashed”, and you want to add padding to the left side and the length you need is 10, and you want
Touring the Tablix in SQL Server Reporting Services
(Stacia Misner) In SQL Server Reporting Services (SSRS), there are several controls (also known as data regions) that you can use to lay out your data in a report. You can choose one of the data visualization options, such as a chart, gauge, or map, or you can choose to present the data in a table,
SQL Server Error 18456: Finding the Missing Databases
(Sadequl Hussain) SQL Server Error Logs often show a message related to error 18456. Although it generally means a login attempt from a client connection has failed, different State numbers associated with the error can mean different reasons for the failure.