SQL Server String PadLeft
I think this comes up a lot in day to day operations. Needing to pad the left hand side of a char/varchar field. T0 address this I made a handy dandy function that works similar to the padleft string...
View ArticleMonitoring SQL Server with Profiler ~ 5 Things to Avoid
SQL Profiler Everyone loves Profiler and for good reason, it provides you with good data to help you make your SQL Server run even better. To quote FDR, “great power involves great responsibility.”...
View ArticleDBA Test/Development Server Best Practices
These are things I learned from a hardware failure of a test server (you might also call it a staging area). So what’s the big deal? Developers should have all their code checked into source control...
View ArticleSQL Server Error 823 Troubleshooting and Resolution
SQL Server Error 823 If you are getting this error, chances are you are having a hardware failure on your server, or perhaps someone deleted one of the database files. Assuming you took care of that...
View ArticlePassing multi-value parameter in stored procedure (SSRS report)
Reblogged from Tech Updates: In SSRS reports we can have multi valued paremeters, which means we can select multiple values for that parameter and based on all those selected values result in the...
View ArticleCannot fetch a row using a bookmark from OLE DB provider (Msg 7333, Level 16,...
Linked Server Msg 7333 If you are getting this error and are trying to resolve it. Let me give you a little background information. A bookmark in this error is a left over from SQL Server 2005 SP1 and...
View ArticleSQL Server Rebuild or Reoganize Your Indexes – It depends, but here is a...
So if you are like me, chances are you have that one server where the reindexing or reorganizing is taking a long time to finish. I came up with a solution that has helped me reduce the time it takes...
View ArticleSQL Server – Searching for Non-Alphanumeric characters Using Like
All I can say is I have never really needed to search for a percent sign or square brackets or a caret in a query until today. GooBling (Googling and Binging) didn’t return any useful results. Of...
View ArticleSQL Server Database Corruption
I’m currently studying for the 70-450 exam to obtain my MCITP in SQL Server Database Administration. I wanted to get a better understanding for SQL Server’s transaction log. I wanted to see if I could...
View ArticleRemotely connecting to SQL Server 2008 Integration Services – Access is...
Very annoying error and I haven’t seen clear concise instructions for getting this to work. I will attempt to do that here. Open Administrative Tools > Component Services Navigate to DCOM Config and...
View ArticleDBA Test/Development Server Best Practices
These are things I learned from a hardware failure of a test server (you might also call it a staging area). So what’s the big deal? Developers should have all their code checked into source control...
View ArticleSQL Server Performance Tuning For Developers
Chances are if you are reading this, you are a software developer. Relax, I am one too, as well as a database administrator. I spend a lot of time helping people to write code that is efficient or...
View Article
More Pages to Explore .....