Viewing 15 posts - 1,801 through 1,815 (of 8,731 total)
Welsh Corgi (12/1/2016)
Luis Cazares (12/1/2016)
Welsh Corgi (12/1/2016)
The following article is great but it does it drops off on returning full record set.
https://www.simple-talk.com/sql/ssis/ssis-basics-using-the-execute-sql-task-to-generate-result-sets
I need to...
December 1, 2016 at 9:33 am
Welsh Corgi (12/1/2016)
The following article is great but it does it drops off on returning full record set.
https://www.simple-talk.com/sql/ssis/ssis-basics-using-the-execute-sql-task-to-generate-result-sets
I need to get the result set...
December 1, 2016 at 9:25 am
SteveD SQL (12/1/2016)
Thanks for responding but similar to John's solution, since this is using the RootRunLogID, it doesn't allow me to filter on other RunLogs 5 thru...
December 1, 2016 at 9:23 am
Is the Med_Rec_Nbr a varchar? If it's an integer or other numeric type, you won't be able to add leading zeros.
Here's an example:
SELECT Nbr,
RIGHT(REPLICATE('0',7)+Nbr,7)
FROM (VALUES('1'),
...
December 1, 2016 at 9:05 am
You mean like using a query/stored procedure as source in the Data Flow task?
That's part of SSIS 101.
December 1, 2016 at 8:41 am
WebTechie (12/1/2016)
However, as I mentioned, I am the new guy on the block. Senior guy, but still the new guy.
I don't...
December 1, 2016 at 8:33 am
Grumpy DBA (12/1/2016)
BWFC (12/1/2016)
RoverMars
Chocolate
December 1, 2016 at 7:25 am
I'd go with the SSIS option because I know how to do it and it's pretty simple. This article might help: http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/99287/
Another option, which might be preferred by others is...
December 1, 2016 at 7:20 am
You might want something like this?
WITH cte_RunLogandChildren AS
(
-- Anchor
SELECT rl.RunLogID AS RootRunLogID
,rl.RunLogID
...
December 1, 2016 at 6:47 am
abhisheka.dalal (11/30/2016)
November 30, 2016 at 10:12 am
TheSQLGuru (11/29/2016)
Numbers Table #FTW!!
For people that are not native English speakers, it would be easier to understand numbers table instead of tally table.
November 29, 2016 at 2:35 pm
You could use the lookup transformation. Set the larger table as source and then the filter table in the lookup transformation. Be aware that it will have to load the...
November 29, 2016 at 1:52 pm
TheSQLGuru (11/29/2016)
Anything that allows developers to slap together code more quickly is inversely proportional to the performance and scalability you will get from that code.
Loved this phrase.
November 29, 2016 at 1:21 pm
I hope that you're not using strings or integers to store dates.
To achieve this, I'd recommend an inline table-valued function based on a tally (or numbers) table[/url]. With that, the...
November 29, 2016 at 1:09 pm
Viewing 15 posts - 1,801 through 1,815 (of 8,731 total)