Viewing 15 posts - 2,926 through 2,940 (of 5,504 total)
No big deal. I just wanted to stop it before becoming a habit... 😉
Did you see my subject-related reply on one of your threads?
August 27, 2010 at 12:49 pm
Another option would be to normalize your data either by changing the design or using UNPIVOT. The required data could easily be selected from the resulting table (or cte or...
August 27, 2010 at 11:19 am
Hi, my name is Lutz and I'm from Germany.
Uupps, I'm sorry, wrong intro. :blush:
Hi, my name is Lutz and I'm not a DBA.
August 27, 2010 at 10:55 am
WayneS (8/27/2010)
... Now, if you want to send me via PayPal $250, I'll be happy to waste up to 3 hours helping you out.
😀 SOM 😀 Gorgeous!
In fact, considering the...
August 27, 2010 at 10:51 am
I'd do it this way:
1) Group the data by year into a staging table (key1, key2, yearlyAmount, year).
2) Add a column [RunningTotal]
3) Add a clustered index on key1, key2, year...
August 27, 2010 at 10:43 am
LutzM (8/27/2010)
Duplicate post.Discussion started here.
As a side note: I don't want to start a race between you reposting your question and me adding the above reply. So please stop opening...
August 27, 2010 at 10:27 am
KurtdTajsadz (8/27/2010)
hi, i am Ronald Powelthanks all my friends
Reported as spam.
August 27, 2010 at 10:20 am
Change the text data type to XML. This is not only to match data type and data content. You'll also get rid of a deprecated data type.
Once this is done...
August 27, 2010 at 10:14 am
Duplicate post.
Discussion started here.
August 27, 2010 at 10:07 am
sqlbi (8/27/2010)
...
August 27, 2010 at 10:02 am
WOW!!!!
It doesn't happen that often to have somebody posting a question as perfect as you did!!!
There's nothing more to say than GREAT JOB!!
And here's how I'd do it:
SELECT
city,
zip,
SUM(CASE...
August 26, 2010 at 4:19 pm
Step 1: remove those dozens (or even hudreds) of rather useless lines in your previous post.
Step 2: read the first article referenced in my signature
Step 3: provide ready to use...
August 26, 2010 at 4:06 pm
I would use a few CTE's (CommonTableExpressions) or maybe even separate queries to poulate temp tables for intermediate data to get the subresults (especially for the pivot/CrossTab part) and join...
August 26, 2010 at 3:57 pm
WayneS (8/26/2010)
1. I thought that you had to reference the nodes as a.c.value, etc. in the column list area...
August 26, 2010 at 3:06 pm
Maybe it would help if you'd post table def and sample data in a ready to use format as well as expected result. Would save those volunteers around a lot...
August 26, 2010 at 2:54 pm
Viewing 15 posts - 2,926 through 2,940 (of 5,504 total)