How can reduce database log file size - Hi, Is it possible to reduce database log file (.ldb file) ? Can you advise any method to reduce log file size. Regards Binu
TempDB keeps growing for no reason. - Hi All, Thank you for looking into my question. I have SQL Server 2017 Enterprise server FailOver cluster (No Shared storage though)...
dbMail parsing url ampersand to word "and" - I'm using dbmail to gather data and send an email. As a part of that email, I have a url...
How do you handle SSIS package merging between two BI teams? - Hi!! Here's the thing - I have the following scenario: Base points - Multiple teams work on the same Data Warehouse (DW) - The SSIS...
Database in recovery mode not comming online - I checked database is IN Recovery. Error log Long Sync IO: Scheduler 11 had 1 Sync IOs in nonpreemptive mode longer than...
Connectivity issue with a multisubnet AlwaysOn - Hello, I have a problem with a multisubnet that I can't figure out how to resolve. I have a 2 replicas AlwaysOn...
Need to select rows with the latest date only - In the attached image, i need to change the query to return only the rows with latest RecruitmentDate (highlighted in...
What are some really dumb things you could write in a SQL Query - We all know there are plenty of recommendations as far as what to avoid when writing T-SQL. For example, it's...
Given table names generate a Select template these tables. - At the moment I have some time on my hands. So I want to extend a Generation procedure with some 'extra'...
Understanding the numeric and decimal data types - I am testing various values to better understand the numeric and decimal data types. First I believe they are the...
Importing from XML to SQL 2014 - This is my 4th day on SQL so I am a newbie. I created a query to import from an...
How to PIVOT various VAT breakdown options with Invoice Summary data - Countries like Canada have certain consumption taxes to be applied, when selling products, e.g. GST, HST, QST - (if one is...
Showing all records that appear more than once - Hi everyone I'm trying to write some SQL that will allow me to pull all records where the NUMBER column appears...
looping through all databases to find dependencies (cursor) - I want to have a go-to query that finds all dependencies of an object, across all databases (without requiring any permanent object like a...
DB's with logfiles larger than datafiles - Hi all, Are there any scripts to identify databases whose logfiles larger than their associated datafiles? I've of course had a...
Question regarding Multiple DB Users to a single SQL Login - Currently we have 1 DB User mapped to a unique SQL Login. The way the software vendor (that makes the...
SQL Server 2008R2 - SQ Login Security Risks outside of SQL Server - Within a SQL Server 2008R2 setup what can the SA login do/access outside of SQL Server? Specifically are there any...
Getting Drive Distance in Terms of Miles - I am curious to learn the best way to determine Distance for an application/Database I am developing. Is there a...
How to create SSRS reports where my data source is SSAS cubes and these reports will have the filtered data based on the user who has logged in? - I want to create SSRS reports where my data source is SSAS cubes and these reports will have the filtered...
SSIS to load complex Excel files - Hi, I want to load the below table into SQL Server Database using SSIS package. Can you one please tell me...