Viewing 15 posts - 9,166 through 9,180 (of 15,381 total)
kk1173 (3/5/2013)
If you look at the query, there...
March 5, 2013 at 1:37 pm
meadow0 (3/5/2013)
The query itself works fine, I'm having an issue converting this into a temp table. I'm not even quite sure how temp tables work in theory, but I'm...
March 5, 2013 at 1:29 pm
I assume these queries must be being generated "on the fly".
In addition the scalar function you have year(adm_dt) which is also going to render that nonSARGable.
It is impossible to offer...
March 5, 2013 at 1:25 pm
What is the issue you are having? The query you posted looks like it should work fine, assuming the base table exists.
March 5, 2013 at 1:20 pm
Hi and welcome to the forums. The best chance you have of people helping is if you first post ddl and sample data in a consumable format. Most people won't...
March 5, 2013 at 1:18 pm
This is commonly referred to as "Gaps and Islands". Do a site search on SSC and you will find lots of information about how to go about this type of...
March 5, 2013 at 1:02 pm
call.copse (2/28/2013)
American beer is not all bad these days so I hear, I enjoy a Brooklyn occasionally.
That's funny. I am on the West side of the pond and I avoid...
March 5, 2013 at 12:58 pm
kk1173 (3/5/2013)
I have the following questions1. What does SARGable mean?
SARGable means Search Argument-able. http://en.wikipedia.org/wiki/Sargable
2. Wouldn't normalization decrease performance, since it would involve joining of multiple tables?
That is why he said...
March 5, 2013 at 12:42 pm
gary.p.heath (3/5/2013)
It currently displays a Form...
March 5, 2013 at 12:36 pm
From what you are describing the best approach would be to get rid of the cursor entirely. There are nowhere near enough details in your post to offer much detailed...
March 5, 2013 at 12:32 pm
ajnubee (3/5/2013)
March 5, 2013 at 12:28 pm
iglinka (3/5/2013)
Those are two completely different things. Making users to a find/replace post-paste is ridiculous. ...
March 5, 2013 at 11:03 am
Looks like Chris beat me this time. 😀
It was hard to see that the tables were different because the formatting was non-existent and the tables all have crazy long names...
March 5, 2013 at 8:59 am
You could do this in a single update statement instead of 3.
UPDATE dbo.DatasiteConfigBMPANConfiguration
SET EnergisationStatus = case when c.DataSiteConfigATableName = 'DataSiteConfigAEnergisationStatus' then b.EnergisationStatus else DatasiteConfigBMPANConfiguration.EnergisationStatus end
, MeasurementClassRef = case when c.DataSiteConfigATableName...
March 5, 2013 at 8:17 am
You might want to take a look at this series of articles about SSIS.
March 5, 2013 at 7:30 am
Viewing 15 posts - 9,166 through 9,180 (of 15,381 total)