Viewing 15 posts - 2,041 through 2,055 (of 6,679 total)
Expanding on Scott's idea - since you want a total of the values:
SELECT
[...],
ca1.TotalStuff
FROM #OrigTable OT
INNER JOIN #BucketExclude BE...
January 14, 2020 at 10:05 pm
If you need to dynamically create the SQL statement - here is one possibility:
January 14, 2020 at 7:54 pm
Look at what the resulting values are that come out of the hash match - in the first query the number of rows is less than what you see from...
January 13, 2020 at 10:13 pm
Looking at the difference between plans:
The first plan utilizes an index scan using the index ix_TaxLok with no predicate. This results in an estimated row count of 124720 and an...
January 13, 2020 at 9:24 pm
Starting with SQL Server 2012 - we now have the Integration Services Catalog. Deployment of SSIS should be converted to project deployment and deployed to the catalog.
I would also recommend...
January 13, 2020 at 7:02 pm
Glad this helped...
January 12, 2020 at 4:13 pm
What is the relationship between [SA Releases].Date and LoadTransaction? Is there a date column in LoadTransaction?
Assuming you want all records for today from [SA Releases] and only those transactions from...
January 11, 2020 at 8:09 pm
If you want a solution that can have any start/end date for any range - between 1753 and 9999:
Declare @startDate datetime = '1753-01-01'
...
January 11, 2020 at 4:30 pm
Here is an option...
Declare @startDate datetime = '2020-01-01'
, @endDate datetime = '2021-01-01';
With dates (y, StartDate, EndDate, Feb28)
...
January 10, 2020 at 9:00 pm
Thank you Sue that worked.
This is certainly one way to drive users away from SQL 2016, make it hard to use the updates.
It is actually much easier now than...
January 9, 2020 at 10:06 pm
The only thing that comes to mind is database compression - or the original database had a lot of extra space in the data file and the cloud team performed...
January 9, 2020 at 10:03 pm
Try this link: https://www.microsoft.com/en-us/download/details.aspx?id=56836 for SP2 and this link: https://support.microsoft.com/en-us/help/4527378/cumulative-update-11-for-sql-server-2016-sp2 for CU11.
You should be able to restore to the same version - the error you are getting indicates that the...
January 9, 2020 at 9:29 pm
Normal schema changes won't be an issue for the AG - they will propagate to the secondary database very quickly. With that said - if you are adding new columns...
January 9, 2020 at 9:22 pm
Jeffrey, your code is using parameter [@startDate]. Didn't really get you. I'm not looking for another "function" solution..
I did not use a parameter - I defined a variable instead...
January 9, 2020 at 8:13 pm
One more note - if your goal is strictly HA then your virtual environment can provide that for you. You should be able to move the VM across hosts as...
January 7, 2020 at 9:32 pm
Viewing 15 posts - 2,041 through 2,055 (of 6,679 total)