Viewing 15 posts - 1,186 through 1,200 (of 2,458 total)
if I move the Left outer join though out the join sequence I get different execution plans and execution times.
Depending on your table structure, moving the LEFT JOIN may change...
-- Itzik Ben-Gan 2001
October 28, 2015 at 8:28 am
TEJABI (10/26/2015)
set @str = '$I10~TESTING1$XYZ$I10~TESTING2$ABZ$I10~TESTING4'
select @str1 = SUBSTRING(@str,CHARINDEX('$I10~',@str) +5,7)
select @j-2 = ( LEN(@str)
...
-- Itzik Ben-Gan 2001
October 27, 2015 at 8:44 am
fliu2265 (10/26/2015)
How to write a SQL query in SSRS expression?Something like = Select * from ...
thanks
You create a dataset, do your query there, then reference the value of the dataset...
-- Itzik Ben-Gan 2001
October 26, 2015 at 4:44 pm
FYI Steve: this is a better link to the article:
http://www.informationweek.com/it-life/15-hottest-it-jobs-for-2016/d/d-id/1322321
What you posted is that link with "?image_number=1" at the end. That's the "first page of the list" and there is...
-- Itzik Ben-Gan 2001
October 26, 2015 at 3:32 pm
One way to get around this is to calculate the median before it get's to SSRS. For example, say you are getting your data from a SQL Server Stored Procedure...
-- Itzik Ben-Gan 2001
October 26, 2015 at 3:04 pm
First, I'm guessing that running the query with collate Latin1_General_CS_AS will be about three times faster than ignoring case sensitivity because you are returning more records. It's also worth noting...
-- Itzik Ben-Gan 2001
October 26, 2015 at 11:39 am
Just to be clear: if @StartDate is November 28th, 2015 - you still want 11/6/2014? I think that's the case, just double-checking...
This is a little cleaner:
DECLARE @StartDate DATE =...
-- Itzik Ben-Gan 2001
October 26, 2015 at 10:00 am
Jeff Moden (10/25/2015)
Alan.B (10/21/2015)
My Hacked version of Jeff's splitter splits a string based on a delimiter that is longer than 1. I
Just a suggestion and looking at the data, I...
-- Itzik Ben-Gan 2001
October 25, 2015 at 11:59 am
I've been there. I was a DBA for about 5 years and worked in very different environments. It takes a tremendous amount of effort to be a good DBA; it...
-- Itzik Ben-Gan 2001
October 23, 2015 at 1:16 pm
The Quirky Update method (that Luis and Drew poster links for) is a good way to go.
It's also worth looking at Hidden RBAR: Triangular Joins[/url]. This article explains why...
-- Itzik Ben-Gan 2001
October 23, 2015 at 12:22 pm
You have not explained the criteria (e.g. "I need the the number between the third and fourth underscore")...
That said, the splitter referenced in my signature will do the trick....
-- Itzik Ben-Gan 2001
October 23, 2015 at 10:21 am
This seems pretty simple but it would be helpful if you could include some sample data and the expected results. If you do that I'm confident that you'll get a...
-- Itzik Ben-Gan 2001
October 23, 2015 at 10:04 am
anthony.green (10/19/2015)
Jeff Moden (10/18/2015)
Any "hybrid" DBAs that...
-- Itzik Ben-Gan 2001
October 22, 2015 at 4:32 pm
Andrew P (10/22/2015)
Luis Cazares (10/22/2015)
Andrew P (10/22/2015)
RE: the answers in this threadYou guys are joking, right? right guys? :blink:
Now I'm not sure if I read the question correctly 😀
Ahhh, I...
-- Itzik Ben-Gan 2001
October 22, 2015 at 4:23 pm
I don't know how much that's happening Steve. I just read the article that you linked to and the update reads,
"the Silver detention may be linked to an ongoing...
-- Itzik Ben-Gan 2001
October 22, 2015 at 4:08 pm
Viewing 15 posts - 1,186 through 1,200 (of 2,458 total)