Viewing 15 posts - 1,966 through 1,980 (of 6,676 total)
Here is a sample where the file is attached - and it will be sent regardless of any results found:
Declare @tab char(1) = char(9)
...
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
February 29, 2020 at 3:48 pm
Here is a template I use for sending email notifications. This embeds an HTML table in the email message...
Set Nocount On;
Declare @body nvarchar(max)
...
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
February 29, 2020 at 3:43 pm
You cannot use the same name - as that is going to be registered in DNS and you cannot have the same name with different IP addresses on the same...
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
February 29, 2020 at 3:25 pm
You can try running this:
Declare @nOrgID int = 67
, @startdate date = dateadd(wk, -1, dateadd(wk, datediff(wk, 0, getdate()), -1))-- for saturday
...
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
February 28, 2020 at 7:44 pm
Personally, I'm REALLY happy that the whole world hasn't adopted EDI. IMHO, it's another hierarchical nightmare of data that's even worse than things like "packed decimal".
This is what I'm...
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
February 28, 2020 at 7:37 pm
When I reformat your code to be more readable - this is what I get:
Declare @nOrgID int
, @startdate date
...
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
February 28, 2020 at 7:22 pm
I would use a report database in all environments that contains the same code - and can easily be reconciled using any of the many available comparison tools. And 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
February 28, 2020 at 7:08 pm
Unfortunately - the answer to your question is 'It Depends' 😉
Since table 2 does not have a defined constraint then you can have duplicate values at any level. How you...
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
February 28, 2020 at 6:52 pm
To me, it doesn't matter what the data provider uses so long as it's correct and consistent. Delimited data is cool, especially if they include column names on 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
February 28, 2020 at 6:05 pm
One idea:
Add every server to a group in Registered Servers in SSMS. Then, open a query from that qroup which will open the query connected to every instance.
You...
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
February 27, 2020 at 6:44 pm
One idea:
Add every server to a group in Registered Servers in SSMS. Then, open a query from that qroup which will open the query connected to every instance.
You can then...
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
February 26, 2020 at 10:58 pm
Maybe the native Dynamic Data Masking feature first made available in 2016 would be a good enough reason to update 2012 to 2019 sooner than later?
From what I have...
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
February 26, 2020 at 10:54 pm
Thanks for the helpful replies
I had time to do some more research on this and found out about the need to have the same SID on each server, 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
February 26, 2020 at 10:29 pm
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
February 26, 2020 at 10:21 pm
There isn't any native way to mask data - you either have to build it yourself of purchase a product. You should take a look at: https://www.red-gate.com/products/dba/data-masker/
I would also recommend...
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
February 26, 2020 at 7:09 pm
Viewing 15 posts - 1,966 through 1,980 (of 6,676 total)