SSAS – Performance issue with Date Dimension
When we dont have a proper date dimenison then SSAS wil give performance issue(s). Performance issue mostly come when we…
Wiring Intelligence, Driving Innovation
When we dont have a proper date dimenison then SSAS wil give performance issue(s). Performance issue mostly come when we…
DECLARE @StartTime DATETIME DECLARE @EndTime DATETIME DECLARE @duration INT –Capture timestamp for start of execution SET @StartTime = GETDATE() –…
Reorganizing the indexes consists of two processes 1) Detect the fragmentation: By using the system function sys.dm_db_index_physical_stats, you can detect…
Following could be reason(s): 1) Multiple Exit Point in the stored procedure. We may have RETURN statement before stored procedure…
Below is an example to capture Server(s) status whether it is online or offline. We are using XP_CMDSHELL extended stored…
We can use a stored procedure/T-SQL statements having linked server & DB name as variables to get the data dynamically…
The error message “String or binary data would be truncated” tells we are trying to put a longer string into…
If we are using ar eport parameter which is duplicate values. you can remove duplicate records by using T-SQL DISTINCT…
SQL Server is, by default, case insensitive, which means the word “SQL SERVER” or “sql server” will be same for…
Below is an example showing how to use Error handling as well as Transactional handling in TSQL programming. 1) When…
1. A Common Conversation about Auditing a. What was the value of this particular field ? b. How many…
1. Background MERGE is a new feature of SQL Server 2008 that provides us an efficient way to perform multiple…