Viewing 15 posts - 226 through 240 (of 754 total)
Do you have monitoring history to support such a report?
There is no simple correlation between hardware required and number of rows, gigabytes of data, or number of users, for example.
You...
December 1, 2022 at 11:16 pm
You need to truncate the time to the hour --e.g.,
dateadd(hour, datediff(hour, 0, convert(TT.horas, Time) ), 0)
You can then do whatever aggregation or calculations are required.
November 30, 2022 at 5:48 pm
Yes, they are in the log chain -- they use native backup, and are not copy-only. Look in the log-shipping configuration to see where the log backups are stored on/for...
November 18, 2022 at 8:28 pm
Log Shipping doesn't mean you don't have access to those log backup files. It's just a different agent that manages them.
If you use Ola Hallengren SQL Server Backup, the...
November 18, 2022 at 7:55 pm
Only if you restore the full backup with no recovery (i.e., the database to which you restored is in restoring mode).
November 18, 2022 at 7:51 pm
No. A differential backup is just what the name implies. It is used to restored changes to the full backup. You can't restore the diff w/o first restoring the full.
November 18, 2022 at 7:18 pm
If you know the dates are always in DD/MM/YYYY format, perhaps you could pre-swap the month and day segments of the string & avoid the need to set dateformat --...
November 18, 2022 at 4:24 pm
If you know the dates are always in DD/MM/YYYY format, perhaps you could pre-swap the month and day segments of the string -- e.g.,
DECLARE @DateString CHAR(10) =...
November 18, 2022 at 4:24 pm
Seems related to your other question: https://www.sqlservercentral.com/forums/topic/assigned-as-guest-when-installed-sql-server-on-workstation.
If his windows login has sysadmin permissions, then yes. If not, then somebody (e.g., IT) has to login as sa to create users &...
November 14, 2022 at 4:12 pm
frederico_fonseca wrote:
do not use the native string_split - slow and does not return the ordinal of the strings.
Aaron Bertrand's tests from 2016 showed exceptionally good performance: https://sqlperformance.com/2016/03/sql-server-2016/string-split
November 11, 2022 at 4:34 pm
Might have been appropriate for Halloween.
November 11, 2022 at 2:29 pm
Always exclude SQL Server data, backup, & repl folders from antivirus scans -- they are well known to be devastating to performance. Many people have experienced this -- it's just...
November 10, 2022 at 8:13 pm
You don't know the delimiter? It's not predefined/standardized?
STRING_SPLIT function is available in 2016, but would require nvarchar instead of ntext.
ntext has been deprecated since SQL Server 2008, & has limitations...
November 10, 2022 at 6:14 pm
Good question, homebrew01.
roland:
Recovery model? Full? Simple? Bulk-logged?
I assume we're talking about full backups. How often?
If full, how often are you doing log backups? Are they succeeding?
November 10, 2022 at 5:40 pm
Viewing 15 posts - 226 through 240 (of 754 total)