Viewing 15 posts - 721 through 735 (of 6,678 total)
If you need to find previous posts - go to your profile and select 'Topics Started'. Review the previous thread - @JeffModen provided a similar template with additional options for...
November 28, 2021 at 5:00 pm
Is this a repeat of this question: https://www.sqlservercentral.com/forums/topic/large-table-cleanup-using-delete
Why start up a new conversation for something where you accepted an answer?
November 28, 2021 at 3:25 pm
Because BatchDate is a string formatted as MMDDYY and you are trying to compare that to another string formatted as MM/DD/YYYY. What you are expecting is that BatchDate in the...
November 26, 2021 at 6:03 pm
The backup to URL functionality was introduced in SQL Server 2012 - what appears to be different is the methodology.
It appears that for 2014 and prior you need to specify...
November 26, 2021 at 5:40 pm
Have you review this article: https://docs.microsoft.com/en-us/previous-versions/sql/2014/relational-databases/backup-restore/sql-server-backup-to-url?view=sql-server-2014
It appears that 2014 and prior versions require a different setup and configuration for backing up to Azure blob storage.
November 25, 2021 at 3:43 pm
As was noted before - using both DISTINCT and GROUP BY in the same query is meaningless. A GROUP BY will return distinct rows based on the defined grouping -...
November 25, 2021 at 3:39 pm
It backups the other databases. I asked it not to ignore any , but still leaves out the one in the Availability Group? thank you
So I will ask again...
November 25, 2021 at 3:24 pm
I would say it depends on the type of report you are going to create - if it fits in with a general tabular or matrix type report, then using...
November 24, 2021 at 10:02 pm
What did you set the backup preference as for that availability group?
The maintenance plan should contain logic that uses that preference to determine where to perform the backups. It is...
November 24, 2021 at 8:31 pm
Regardless of VM or physical - there is a performance advantage that can be realized when every data file for a database is on a separate drive. There is a...
November 24, 2021 at 7:13 pm
I have a couple of questions:
November 24, 2021 at 6:55 pm
I would suggest putting all of the logic in the one procedure - instead of separate steps in an agent job. Start a transaction, perform your insert and delete in...
November 19, 2021 at 5:06 pm
A possible solution would be to unpivot the KEN_N# columns and use a string splitter on a delimited input parameter. This would allow for identifying not only the row that...
November 18, 2021 at 5:31 pm
You should not stop the default trace - it isn't something that affects user databases or has any impact on an AG. It allows for tracking changes to the system...
November 17, 2021 at 5:44 pm
Thanks for the reply.
I was hoping to re-use the view in another query but I have changed plans so no need to create index on view.
You can reference a...
November 15, 2021 at 9:59 pm
Viewing 15 posts - 721 through 735 (of 6,678 total)