Viewing 15 posts - 1,051 through 1,065 (of 9,641 total)
You can use:
=IIF(IsNothing((First(Fields!SystemID.Value, "DataSet_M"))), "No Data Found", Nothing)
I'm not positive i have all the parenthesis right, but IsNothing is the function you are looking for.
May 2, 2014 at 10:50 am
a4apple (5/2/2014)
Are you using this query inside a stored procedure? If so there might be an issue of Parameter Sniffing.. Check in relation with that..
Parameter sniffing won't cause the results...
May 2, 2014 at 10:38 am
Jonathan Kehayias has a query in this blog post[/url] that finds parallel plans in the cache so you could compare your results to his.
Oh, also, it could be that you...
May 2, 2014 at 10:28 am
It's really hard to tell what could be the problem with all the data type manipulation being done in the query.
My first thought is that it doesn't have anything to...
May 2, 2014 at 10:24 am
The biggest issue I've seen with using views is that sometimes a view may be accessing tables not needed for the results for that specific query or doing other operations...
May 2, 2014 at 10:16 am
waxb18 (5/2/2014)
Thanks for the suggestion and the advice.
I have taken a look at the splitter and it works very well.
However the purpose of this exercise is for my...
May 2, 2014 at 6:24 am
I believe the pattern I have proposed will outperform the pattern you have proposed. My proposal only makes one pass at the data while yours makes multiple passes and...
May 1, 2014 at 11:59 am
One thing you could do is just use a SELECT DISTINCT when transferring the data, but if you want to remove duplicates I'd suggest this:
WITH deDupe
...
May 1, 2014 at 11:39 am
You can do this to get the plan:
SELECT
DEQP.query_plan
FROM
sys.dm_exec_query_stats AS DEQS
CROSS APPLY sys.dm_exec_query_plan(DEQS.plan_handle) AS DEQP
WHERE
[some...
May 1, 2014 at 11:33 am
You can use external assemblies in SSIS Script Tasks and Components but they have to be strong-named and in the GAC. Here are a couple of older blog posts...
May 1, 2014 at 11:22 am
gbritton1 (5/1/2014)
If the numeric portion is variable length, add a call to InStr:
=Left("1234-abc",InStr("1234-abc","-")-1)
That's your answer, just replace the hard-coded text with your Field name.
May 1, 2014 at 11:14 am
Is this a one time process or something that will reoccur? If it is a one time process the business will probably be better off entering the data by...
May 1, 2014 at 11:12 am
I'm pretty sure you could use Jeff Moden's DelimitedSplit8K[/url] function using CROSS APPLY. Something like this:
SELECT
P.project AS jobnumber,
S.item AS customer
FROM
...
May 1, 2014 at 11:06 am
I'm pretty sure the pattern I provided in my first answer will do what you need. Just replace the made up object names with the names of your tables...
April 30, 2014 at 1:46 pm
If you could set up some test data like I did and provide the expected results form the test data someone may come up with an answer. Right now...
April 30, 2014 at 1:44 pm
Viewing 15 posts - 1,051 through 1,065 (of 9,641 total)