Viewing 15 posts - 3,676 through 3,690 (of 7,187 total)
You still haven't shown us what you've tried. But from your required results, it looks as if you need a PIVOT query. If you search for "pivots and...
January 17, 2014 at 5:47 am
Sounds like homework to me. What have you tried?
John
January 17, 2014 at 5:35 am
Tony
If it's a collation conflict you're suffering from, you can use the COLLATE clause in your query. If the problem is different data types, you can use CAST or...
January 14, 2014 at 9:12 am
Please will you post the actual code you're running? If that is it, I would recommend sorting out the typos, syntax errors and undeclared variables before you worry about...
January 14, 2014 at 6:51 am
Brandie
Could the second one be from Object Explorer or similar? I think you get the third for linked server queries.
John
January 10, 2014 at 5:49 am
Import the XML into a staging table, then the <XMLColumn>.value function to shred it into the individual columns.
John
January 10, 2014 at 5:44 am
Chandan
Yes, for simple queries such as the one you posted, that's a good summary. Of course, there are reasons why the query optimizer may not pick the best plan...
January 7, 2014 at 5:41 am
Thanks. But the index which is being used is having only 1 column and if the other column is being retrieved internally from clustered index, shouldn't the execution plan show...
January 7, 2014 at 4:46 am
A non clustered index consists of the index key column(s) plus the clustered index column(s). That's why your query was covered by the non clustered index.
John
January 7, 2014 at 4:34 am
Do what I'd do, and type "xp_cmdshell" into your favourite search engine. If you're not familiar with the command line syntax of whatever zip utility you're using, you'll need...
January 3, 2014 at 4:56 am
What do you mean by "allocated memory threshold"? Is it an alert that's generated when a particular process uses more memory than the threshold you set? If so,...
January 3, 2014 at 3:16 am
Like I said, I can't see your screen. What is wrong with the results your query produces, and what is wrong with those my query does? Maybe you...
January 3, 2014 at 2:46 am
I have cracked this query upto some extent but there is something missing in this.
What is missing? Don't forget I can't see your screen.
I think you've made it more...
January 3, 2014 at 2:31 am
Gautham
First you said that the _dup table has the same columns plus an ID column, then you said that some columns may be missing. Do I take it you...
January 3, 2014 at 2:14 am
Russell
All five instances will be fighting for that 36GB. I would advise you to set max server memory on each instance, to stop that from happening.
Edit - when you...
January 2, 2014 at 9:38 am
Viewing 15 posts - 3,676 through 3,690 (of 7,187 total)