Viewing 15 posts - 2,926 through 2,940 (of 5,502 total)
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
Steve Jones - Editor (8/26/2010)
And for those of you looking for a humorous diversion: http://bit.ly/bSaC3q
Ummm, Jeff... gotta ask a rather stupid question:
Does "One Orange Chip" relates to Roulette or is...
August 26, 2010 at 2:52 pm
Why do you have to use VB? Pass the path of your xml file to a stored procedure and let SQL Server do the mapping.
But if you really want to...
August 26, 2010 at 2:40 pm
Viewing 15 posts - 2,926 through 2,940 (of 5,502 total)