Viewing 15 posts - 3,676 through 3,690 (of 7,191 total)
Jeff
If the file is being used by another instance, that instance is going to be on the same computer. Are you able to see whether any other instances are...
January 17, 2014 at 9:49 am
Agreed, yes, and much has been written about the importance of doing test restores. I still verify my backups as well - after all, there's no point in going...
January 17, 2014 at 9:08 am
You can query the code of stored procedures in table [syscomments].
Best to use sys.sql_modules, since syscomments starts a new row after every 4000 characters (I think) of the definition. ...
January 17, 2014 at 8:57 am
Where you have a duplicate, how do you decide which one to throw away? And why do you want to use MERGE? MERGE is used for updating, inserting...
January 17, 2014 at 6:44 am
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
Viewing 15 posts - 3,676 through 3,690 (of 7,191 total)