Viewing 15 posts - 1 through 15 (of 16 total)
This might be helpful: https://www.sqlservercentral.com/articles/ssis-as-an-execution-engine-for-multiple-sql-scripts
July 11, 2019 at 6:41 pm
This is the output:
(No column name)SomeValue
13215 555 55 1 NULL
13215 555 55 2 NULL
11431 6 5 5555 hhh 1 NULL
11431 6 5 5555 hhh 2 NULL
114316 5 5555 hhh 3...
June 19, 2014 at 7:54 am
I am not sure the original request is still open, but assuming it is, I would definitely go with a CLR scalar function for such a request. Operations on...
June 18, 2014 at 3:20 pm
Yes, everything works as it should if I set the Lookup to ignore failures. All the data gets loaded and I get my 14 matches. I will need...
February 12, 2014 at 1:01 pm
Here is a quick update: I deleted everything in the package but the source and destination and then entire data set is transferred without a problem. Back in...
February 11, 2014 at 10:19 am
No errors occur on the data flow task. And the stored procedure from SMSS always returns 14000+ rows. And I have dumped the data into a table from...
January 30, 2014 at 2:04 pm
I have tried deleting row 715 and that gets me a little further along, but not a lot further. That again makes me think that something in the column...
January 30, 2014 at 7:09 am
For lengthy strings, using CLR functions are the way to go. Not only are they much, much faster, they are very versatile. Attached is C# code for counting...
January 24, 2014 at 8:09 am
Hi All,
I thought I would give this a try, as it is something that I did a while ago and then left in a somewhat unfinished state. I recently...
May 28, 2013 at 4:29 pm
I was asked to do the very same thing with XML a few weeks ago and this is a slightly simplified version of what I came up with:
declare @stringXML varchar(max),...
February 19, 2013 at 8:51 am
This is very nearly the same type of problem discussed in Phil Factor's SQL Speed Phreak challenge http://ask.sqlservercentral.com/questions/1227/the-subscription-list-sql-problem.html, which is also discussed nicely here http://www.simple-talk.com/sql/performance/writing-efficient-sql-set-based-speed-phreakery/. Besides being a good...
January 30, 2013 at 2:39 pm
If this is not exaclty what you need, there are lots of other examples of manipulating XML as well on this site.
January 23, 2013 at 2:32 pm
Try the Parsename function. Not what is was made for, but works quite well for what you need and is much faster that CharIndex and Len.
Duration for CHARINDEX =...
October 26, 2012 at 7:45 am
This might work, but the values need to be unique in each of the 3 columns. The SQL script creates and joins three tables in a CTE. Table one...
June 22, 2012 at 8:55 am
Try running the query as a UNION ALL instead and see if your query plan is any better. While it shouldn't make a difference when you upgrade to SQL...
April 6, 2012 at 9:52 am
Viewing 15 posts - 1 through 15 (of 16 total)