SSIS in SQL 2016 - Hi All, What am I missing. I have installed SQL 2016 and thought I had installed all the services and I...
Stored Procedure help - I wrongly posted this in SQL Server 2005 so re-posting here as I couldn't move it. I'm running SQL Server...
Backup Database is terminated Abnormally Failed on SQL Server 2014 RTM - My Database backup is not working in SQL 2014 RTM version. It works fine on SQL Server 2008 R2. All...
Long running Insert stored proc - Hi all, I was wondering if someone could help me figure out why this Insert statement is taking 9 minutes to...
How to identify that Dynamic Sql fail? - I have created one trigger,inside it executing dynamic sql. Here is sample script When I specifying @Text to some value,it work...
Copy BAckup Files to Non Prod servers - Hello Experts, I need to copy backup files from Prod server to Non Prod server but the problem is both are...
sp_send_dbmail - How do I go about getting the results from a SQL Query into and file and e-mail it? [code="sql"] USE msdb; GO EXEC sp_send_dbmail...
Let the optimizer do it's thing -- wrong - I've heard this advice everywhere. Don't do things to change the way the sql optimizer produces plans etc. "it's smart...
Help with query to find duplicate fields from one column and return relevant information - Hi All I am new to SqL and would appreciate any help with the following: I have a written a query where...
trying to get rid of clustered index scan - I have statement below which does a merge join but does a clustered index scan with over 2 million rows...
Converting time - from "seconds after midnight" - Hello all, We have time saved in our db in a seconds after midnight format and need to convert it to...
I'm scared to delete log file - Hi, I have two files i.e [b] .ldf[/b] and [b].mdf[/b] in my disk. As we know these are normally SQL Server...
Confusion Over OR and And Operators - Suppose I want to find customers in the customers table who are not in the US or the UK. To me...
Query to join three tables but filter out subset of the data - I'm struggling to develop a query to pull data from a few tables while excluding some portion of the data....
SQL Snapshot - Hello, I need to be able to test something (which will change some data on the big databases) and after revert...
Last 2 years and YTD - I am losing my mind..:) Can someone please help me with how to implement: YTD Plus the prior 2 Full Years (In...
Loading CSV files into SQL Server Database tables - Does any one know of an open source tool that I can use to load data from csv files into...
SSRS 2012 Standards for Report Server Configuration and Report Development? - Just wondering if anyone has some suggestions on standards for SSRS Report Server Configuration and Report Development? I have come...
Variable needed for dynamic ff destination not being retrieved from sql - I have an SSIS package that has an Execute SQL task to [code="sql"]SELECT SUBSTRING(MAX([InvoiceDate]),1,2) as Monthsql FROM BJmm[/code] (Table has a...
Good to have Multiple Data Warehouses? - Interesting debate came up on data warehousing. Is it good to have multiple data warehouses or just one? To add some...