Viewing 15 posts - 1,966 through 1,980 (of 6,679 total)
your only solution is to create it as a table is you need to create an index to it.
March 1, 2020 at 5:44 pm
Both of those are not meant for SSIS - they are simple agent jobs that will do the work, no need for SSIS at all.
If you have to do this...
March 1, 2020 at 5:32 pm
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)
...
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)
...
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...
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
...
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...
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
...
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...
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...
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...
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...
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...
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...
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...
February 26, 2020 at 10:29 pm
Viewing 15 posts - 1,966 through 1,980 (of 6,679 total)