Viewing 15 posts - 991 through 1,005 (of 6,676 total)
Thank you Jeffery,
Can you please give one sample with couple records. much helpful. with the join and CTE..
Thank you
Asiti
First - you need a table of categories - with a...
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 17, 2021 at 5:26 pm
According to your sample data and results, the "Answer" you marked is not correct. For example, you stated that '10000' should return a 1 -- "Anything between 00000 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
June 17, 2021 at 5:19 pm
No - I don't have an example available, but there are many available if you search for C# start process.
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 17, 2021 at 5:27 am
Just a further clarification - DISTINCT is not needed here, because the IN operator doesn't care if there are duplicates. It just looks for a matching value in the list.
I...
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 16, 2021 at 7:35 pm
I have to disagree with Brian - the first step is to review why you are calling out to Powershell in the first place. Based on the snippet of code...
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 16, 2021 at 7:19 pm
What is the change that needs to be made? Normally - adding a column to a table shouldn't require changing any other code and shouldn't require modifying the view. If...
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 16, 2021 at 6:06 pm
Stupid question, but why are some people use a low fill factor as 70 or 80%, I'm usually fine with something as 95-98 (or even 100 if it is...
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 16, 2021 at 4:25 pm
You need to replicate the logins to replica 1 & 3 (DR) - those logins will be needed on the DR node if you ever fail over. For reporting logins...
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 16, 2021 at 4:10 pm
FYI - the cast by itself will round the value - so: Select cast(0.57 As decimal(3,0)) will return 1 (not 1.00 though).
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 16, 2021 at 3:44 pm
Both ROUND and CAST to a numeric will round the number up or down - the difference will be the value returned. Using CAST will return 6 digits to 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 16, 2021 at 2:41 pm
I like the cross apply, but not sure it's needed here.
Going back to the original, asita, is the goal to bucket rows for a report of some sort? what's...
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 15, 2021 at 8:30 pm
Or...
Select *
, ZipRange = (z.ZIP / 10000) + 1
From #ZIPs ...
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 15, 2021 at 7:57 pm
Create a table with the zip code ranges - then use an outer/cross apply to lookup the range. Or use a CTE to create a table with the range 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 15, 2021 at 7:50 pm
It is quite normal on other products to not allow auto growth to occur in the database files or tablespaces. Monitoring of those files and extending them when needed is...
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 15, 2021 at 7:48 pm
Interesting - there was a similar issue recently where the individual 'restored' the system databases after building up the system. The method used for restoring wasn't a standard method 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 14, 2021 at 8:27 pm
Viewing 15 posts - 991 through 1,005 (of 6,676 total)