Viewing 15 posts - 166 through 180 (of 6,676 total)
In SSRS design mode - you have the palette. The size of the palette matters - if it is wider than the allowed page size - then you will get...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 27, 2023 at 9:42 pm
Compatibility mode?
Sidebar: stop using DB..Table - specify the schema instead of expecting SQL Server to find the correct schema for the table. That is dependent on the default schema setting...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 27, 2023 at 9:33 pm
Imagine a view is created - that references a computed column which only exists to give the column a different name - and aliases the computed column to...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 26, 2023 at 9:23 pm
Also, one thing to REALLY think about is backup and recovery. Storing files in the database means restoring those files with the database. That becomes a huge headache and...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 25, 2023 at 5:24 pm
Database Disk Usage:
USE {your database here};
GO
WITH database_size
...Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 24, 2023 at 6:03 pm
p.s. CTEs are inherently NOT reusable anywhere except the query that they live in. They can be referenced as many times as you need to with the understanding that...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 24, 2023 at 5:42 pm
You can also add a computed column to the table - but I really don't see the need or requirement to create a column with multiple names. It is just...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 23, 2023 at 7:07 pm
So - going back to the OP's original post we see that a string that is greater than 8000 characters gets inserted with truncation and is successful for columns defined...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 23, 2023 at 7:00 pm
Don't quote me on this - but I believe the reason it works for the VARCHAR(8000)/NVARCHAR(4000) columns is due to how SQL Server handles strings, string concatenation and implicit conversions.
For...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 22, 2023 at 5:02 pm
When you use a table hint you are overriding the default isolation on that table - so if you have RCSI enabled at the database level and use NOLOCK (read...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 19, 2023 at 7:42 pm
If the database is in full recovery - and you are migrating by taking a full/diff backup and then applying all transaction logs to bring the new system up to...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 18, 2023 at 8:07 pm
What problem are you trying to solve here?
If you are not going to be archiving and purging the data - then partitioning really serves no purpose. Your thoughts of moving...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 15, 2023 at 4:43 pm
Also be careful on setting a hard-coded single number for the threshold. For some VLDB's you could have a transaction log that is hundred's of GB's. If that transaction log...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 13, 2023 at 7:38 pm
If you setup the AG to use automatic seeding - then the database will be automatically added to each secondary in the AG. In order for that to work, the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 13, 2023 at 7:27 pm
You have OR in there. Needs to be inside parentheses.
WHERE det.CustName = @CustName
AND ( det.InvtAcctCode = 'RENT HOSP' OR det.InvtAcctCode = 'RENT NH' )
...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
October 11, 2023 at 6:36 pm
Viewing 15 posts - 166 through 180 (of 6,676 total)