Viewing 15 posts - 3,496 through 3,510 (of 15,381 total)
Grant Fritchey (12/9/2014)
Sean Lange (12/9/2014)
December 9, 2014 at 7:41 am
Before you use the sp_foreach proc you should take a look at this article. http://sqlblog.com/blogs/aaron_bertrand/archive/2010/12/29/a-more-reliable-and-more-flexible-sp-msforeachdb.aspx
December 9, 2014 at 7:18 am
Here is where I am going to disagree with Gail and Grant. I have worked on a system that had many procs nested like this and it was a serious...
December 9, 2014 at 7:15 am
Don. (12/9/2014)
djj (12/9/2014)
ntext, text, and image data types will be removed in a future version...
December 9, 2014 at 7:05 am
Wow Luis. I knew a cross tab was the answer but I couldn't begin to put together some code from the original post. Well done sir!!!
December 2, 2014 at 12:29 pm
Here is an article that talks about the issues with MERGE and lists the connect items associated with it.
http://www.mssqltips.com/sqlservertip/3074/use-caution-with-sql-servers-merge-statement/%5B/url%5D
December 2, 2014 at 12:27 pm
Jack Corbett (12/2/2014)
Ed Wagner (12/2/2014)
GilaMonster (12/2/2014)
Sean Lange (12/2/2014)
December 2, 2014 at 12:25 pm
vecerda (12/2/2014)
What I need is a listing of store openings by period.
I basically need a horizontal table (in SSRS at the end) that will list 12 periods...
December 2, 2014 at 9:57 am
Let's start with some formatting so we can read that query...
SELECT TOP (1000) d.Project_Name
,d.STATUS
,d.Country
,d.Region
,p.Period
,p.Quarter
,p.Year
,d.Brand
,d.Store_Opens_Actual
,d.DA
,d.DPN
,d.StoreNumber
,CONVERT(VARCHAR(10), CASE
WHEN ISDATE(d.Store_Opens_Actual) = 1
THEN d.Store_Opens_Actual
WHEN ISDATE(d.Store_Opens_Forecast) = 1
AND ISDATE(d.Store_Opens_Actual) = 0
THEN d.Store_Opens_Forecast
WHEN ISDATE(d.Store_Opens_Baseline) = 1
AND...
December 2, 2014 at 9:45 am
David Burrows (12/2/2014)
Luis Cazares (12/2/2014)
...it can be easier to start from scratch if we can understand the problem, than fix a complete piece of s...
I have this problem every time...
December 2, 2014 at 9:40 am
Ed Wagner (12/2/2014)
SQLRNNR (12/2/2014)
<sarcasm>EFW is the bomb and must be worshiped because it saves certain dev types a ton of time to develop. </sarcasm>
And reading that makes me want...
December 2, 2014 at 8:53 am
Matt Miller (#4) (12/1/2014)
Ed Wagner (11/25/2014)
Eirikur Eiriksson (11/25/2014)
Ed Wagner (11/25/2014)
Eirikur Eiriksson (11/24/2014)
Jeff Moden (11/24/2014)
Evil Kraig F (11/24/2014)
Jeff Moden (11/24/2014)
Eirikur Eiriksson (11/24/2014)
December 1, 2014 at 2:40 pm
Steve Jones - SSC Editor (12/1/2014)
Work
Avoidance
December 1, 2014 at 1:40 pm
Is it just me or is LinkedIn quickly becoming the most useless website in existence? It seems that all that is there is recruiters always trying to get me to...
December 1, 2014 at 1:39 pm
Deries (12/1/2014)
Thank you very much for the your response.
The above table structure is where we store the hourly data for all the units. We dont have any other table...
December 1, 2014 at 1:35 pm
Viewing 15 posts - 3,496 through 3,510 (of 15,381 total)