Viewing 15 posts - 1,906 through 1,920 (of 6,679 total)
We might even be able to save those 4 extra characters - depending on the source data. If we know for sure that we have a minimum length of at...
April 4, 2020 at 7:47 pm
Just one point - not sure it makes a difference in performance but you can avoid this:
@BitBucket = RIGHT('00000000000000'+CONVERT(VARCHAR(14),Col01),14)By using this:
@BitBucket = RIGHT(CONCAT('00000000000000', Col01),... April 4, 2020 at 5:21 pm
@scdecade - your solution will not work for the OP. The trim function is not available on SQL Server 2016 and would need to be replaced with a rtrim(ltrim(...)). It...
April 4, 2020 at 4:53 pm
I would look at the stats on that table and see if they are up to date. If they are up to date - then I would look at the...
April 4, 2020 at 2:58 pm
"Or maybe you've done it once or twice and forgotten about it."
Well, once you've deployed an Availability Group, it's impossible to just forget about about. It's an endless source...
April 4, 2020 at 2:51 pm
You're right Michael. Seems like someone is trying to put unrelated question. Thanks for suggesting him to to open a new thread.
The question i have is For Node4, which...
April 4, 2020 at 2:47 pm
You will have to look into the SSRS log files to see if there is any information about those failures.
April 3, 2020 at 3:08 pm
The TRUNCATE_ONLY option of the backup log command is no longer available. If that command is executed against a database instance greater than 2008 it will fail with a statement...
April 2, 2020 at 8:45 pm
It resides in a table, I really done want to do isnull() on all fields but if i have to?
The reason why I asked what you're doing the...
April 2, 2020 at 6:36 pm
You can use DBCC LOGINFO or sys.dm_db_log_info to determine which VLF's are available - as long as that database is not part of an AG. The Status column...
April 1, 2020 at 9:37 pm
With that much free space it should be able to shrink some after a transaction log backup. Unfortunately I don't know a way to determine which VLF in the...
April 1, 2020 at 8:30 pm
You don't actually need to switch recovery model - unless you cannot perform a transaction log backup due to space issues. It may take several attempts - but you should...
April 1, 2020 at 5:42 pm
Very nice collection of algorithms, Jeffrey. I've got one more for you to add to your collection.
Peter "Peso" Larsson came up with the following basic method quite a while...
April 1, 2020 at 4:58 pm
I included 3 separate algorithms for calculating Orthodox Easter in the script. Those algorithms default to providing the Julian date prior to 1783 which is when Britain and her colonies...
April 1, 2020 at 4:37 pm
It looks to me like you have multiple instances installed on that workstation, and the one you are trying to use is actually installed and utilized as LocalDB. This is...
March 31, 2020 at 8:16 pm
Viewing 15 posts - 1,906 through 1,920 (of 6,679 total)