Viewing 15 posts - 931 through 945 (of 6,676 total)
So you did not even try my solution, which takes care of that issue.
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
June 30, 2021 at 4:13 pm
Hi Jeff,
Sorry for coming back to you late. The code below is removing the first 3 character.
Do you know what would be the workaround to only substract the last...
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
June 30, 2021 at 4:05 pm
Probably because most people don't run multi-instance servers. Other than that - I have no idea why some would have an issue and others would not. All I can do...
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
June 30, 2021 at 1:42 pm
Review this issue: https://feedback.azure.com/forums/908035-sql-server/suggestions/32897173-syspolicy-purge-history-agent-job-tries-to-access
It is a known issue and not much you can do about it, unless you want to grant permissions to each service account on each instance on...
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
June 29, 2021 at 9:20 pm
That's where you and I would differ... to me, the "customer number" would be the IDENTITY column. Or, perhaps, a Random GUID. 😀 Why would your "customer number" not...
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
June 29, 2021 at 8:11 pm
Here is an alternate version
With accountData
As (
Select Distinct
td.[Year]
...
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
June 29, 2021 at 5:39 pm
Is your data really broken out by year and month? With the month value set as char(2)?
Will you only ever be querying for a single year - or will it...
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
June 28, 2021 at 9:57 pm
Instead of trying to use a case expression - it would be much simpler to calculate the values to be used. For example:
Declare @option numeric(3,1) = 3.2...
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
June 28, 2021 at 9:24 pm
What is the data type of the parameter @EmailAddress? How are you passing the encrypted email address from the application to SQL Server? If you have different data types at...
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
June 28, 2021 at 8:49 pm
Jeffrey Williams wrote:Install the 74 bit driver.
Oh I want some of that. When 64 bits just isn't quite enough!
Hah, stupid phone ??
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
June 28, 2021 at 2:52 pm
Now - I would add the column alignment and format the generated SQL so it is easier to read. If you don't care if the data is aligned in 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
June 28, 2021 at 2:18 pm
According to the article in the link - there isn't something specific to reporting services. The counters are .NET related counters:
Performance object
Notes
.NET CLR Data and .NET CLR Memory
The web portal uses ASP.NET...
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
June 28, 2021 at 2:01 pm
THis is where I believe I need to make a change to get into the Description and the Column totals..
concat(', coalesce(sum(Case When ft.Entity = ', h.Entity, ' Then ft.total...
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
June 27, 2021 at 4:28 pm
If you are running SSRS 2017 or later - the performance counters are no longer available. See this document: https://docs.microsoft.com/en-us/sql/reporting-services/report-server/monitoring-report-server-performance?view=sql-server-ver15
Note
Power BI Report Server and SQL Server Reporting Services 2017 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
June 27, 2021 at 2:47 pm
For something like this - you can probably get away with using FORMAT although it is incredibly slow. You can also use concat and convert to get the same result:...
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
June 26, 2021 at 3:53 pm
Viewing 15 posts - 931 through 945 (of 6,676 total)