Viewing 15 posts - 5,146 through 5,160 (of 5,504 total)
Jeff Moden (7/5/2009)
Very cool, Wayne... Guess I'll transfer all of my test results and explanations to that.
I just did. Definitely not all of them but most of what I could...
July 5, 2009 at 5:17 pm
Hi digs,
what's missing in your post is something like
CREATE TABLE #a(some cols)
INSERT INTO #a(selective cols)
SELECT [sample data] UNION ALL
SELECT [more sample data] UNION ALL
SELECT [even more sample data]
--target structure
CREATE TABLE...
July 5, 2009 at 5:04 pm
Here's some "evidence of confusion" to support the need for fixing the issue (based on IE 6.0.2900.5512):
http://www.sqlservercentral.com/Forums/FindPost742192.aspx -> confusion caused
http://www.sqlservercentral.com/Forums/FindPost742141.aspx -> wrong color coding due to /* using XQuery
http://www.sqlservercentral.com/Forums/FindPost733805.aspx ->...
July 5, 2009 at 4:15 pm
Well, that's something I "like" to see:
An OP who just throws in a request and stays focused on it. "Nice" one.
What I really like is the Freudian slip...
July 5, 2009 at 1:18 pm
paulneyman (7/5/2009)
I see your point, but the code I wrote is not a real DB structure.You solution does not suit.
Please correct me if the following assumption is wrong:
It looks like...
July 5, 2009 at 11:29 am
Hi Steve,
to verify the QFX structure you could set up an XSD file containing the expected structure.
When you try to assign the QFX file to an XML variable bound to...
July 5, 2009 at 11:19 am
Hi,
another way to fix this problem would be to normalize your table structure.
Otherwise you could run into duplicates:
If someone would add two identical products in two different categories, how would...
July 5, 2009 at 10:05 am
Peso (7/5/2009)
This results in an empty result. And...
July 5, 2009 at 3:50 am
What would be your expected result?
It looks like it would be required to fill more than just one table...
Edit: you might want to look up "XQuery" in BOL as well...
July 3, 2009 at 4:43 pm
Hi,
you might want to look into the series of articles by Jacob Sebastian, for example this one[/url].
If you're interested in the rest of the articles please search for "XML...
July 3, 2009 at 4:33 pm
I'm sorry for not asking all questions I have at once... :blush:
Your example has two rows with 12 rsp 15 seconds.
How would you handle those?
a) add it up in...
July 3, 2009 at 4:16 pm
jymoorthy (7/3/2009)
Thank you Lutz and Wayne. Yes I am looking for the difference in seconds in TranIn and TranOut columns
What rule for rounding values would you use?
The example you provided...
July 3, 2009 at 3:53 pm
Hi,
your data seems not to lead to the expected result:
SELECT
DATEDIFF(ss,TranIn,TranOut) AS SECONDS,
COUNT(*) AS CNT
FROM #tmp
GROUP BY DATEDIFF(ss,TranIn,Tranout)
/* result
SECONDSCNT
01
11
41
51
91
121
151
*/
Reason for that is the first row just has a little...
July 3, 2009 at 3:13 pm
If my math is correct you can (in theory) split a list of consecutive values from 1 to over 125.000.000 (assuming plain numbers e.g. 125000000 instead of 125.000.000, separated by...
July 1, 2009 at 5:03 pm
First thought: Glad you found a solution.
But when I took a look at the link you posted a WHILE loop stared at me... :crying:
This is usually not considered to be...
July 1, 2009 at 3:12 pm
Viewing 15 posts - 5,146 through 5,160 (of 5,504 total)