(SQLDenis) One of the good things about working in technology is that you always will discover new things. The other day I created a blog post: Listing all your SQL Server databases ordered by size. Buck Woody replied to me on twitter that this is also built into SSMS.
Tag: sql server
SQL SERVER – An Interesting Case of Redundant Indexes – Index on Col1, Col2 and Index on Col1, Col2, Col3 – Part 5
(Pinal Dave) This is the fifth part of the series regarding Redundant Indexes. If have not read earlier part – there is quite a good chance that you will miss the context of this part. I quickly suggest you to read earlier four parts.
A SQL-Based Universal Currency Formatter
(Dwain Camps) SQL Server isn’t usually the best place to format dates or currency as strings. It can be a complex task to conform correctly with national and cultural conventions. Just occasionally, though, you need to do it. This is easy in SQL Server 2012, but if you aren’t using that, what do you
SQL Server Reporting Services Using Multi-value Parameters
(Scott Murray) After working with SQL Server Reporting Services ( SSRS ) for a time, eventually a report user will want to select more than one value for a parameter. How does SSRS handle multi-value parameters?
Select * Syndrome
(Chris Yates) Something that I have seen lately over and over again and even ran into this morning is a practice that I would say is a pretty bad habit in SQL….the dreaded Select * syndrome
Silent Truncation of SQL Server Data Inserts
(Tim Wiseman) There are certain circumstances where SQL Server will silently truncate data, without providing an error or warning, before it is inserted into a table. In this tip we cover some examples of when this occurs.
Something to watch out for when using sp_rename on Stored Procedures, Functions and Views
(Kenneth Fisher) For those who don’t know, the stored procedure sp_rename allows you to change the name of a user-created object. Basically when you use sp_rename it changes the name of an object in the catalog tables.
SQL Server – Cycle Error Logs for SQL Server and SQL Server Agent
(Vishal Gajjar) SQL Server error logs can fill up quickly, and when you are troubleshooting something you may need to go through huge log. However you can cycle the error log to manage the amount of log you need to go through. When you cycle error log the current log file is renamed from ERRORLOG to
SQL SERVER – Backup and Restore Database Using Command Prompt – SQLCMD
(Pinal Dave) Backup and Restore is one of the core tasks for DBAs. They often do this task more times than they would have ideally loved to do so.
Something Smells: Parameter Sniffing
(Thomas LaRock) Parameter sniffing is an aspect of SQL Server that is typically viewed as a bad thing. The simple fact is that SQL Server uses parameter sniffing all the time, that’s how SQL Server works. It is only those times when parameter sniffing results in performance issues that people (natur