Viewing 15 posts - 121 through 135 (of 230 total)
Try rebuilding this index with any of your newly added columns in it's include list.
[IDX_AccountID_Activated_eVs_IsDemo_Type_CreatedDate].
December 8, 2014 at 1:24 pm
Are there any nonclustered indices on the table?
December 8, 2014 at 1:18 pm
Maybe this is a dumb question, but was there a covering index on your query before you added the new columns? You saying that including any of the new columns...
December 8, 2014 at 11:44 am
Another twist (although does basically the same thing)
declare @t table (order_key int, comment char(1))
insert into @t (order_key, comment)
values (1,'a'),(1,'b'),(1,'c'),(2,'a'),(2,'b')
select
order_key,
stuff((select ','...
November 26, 2014 at 4:03 pm
Hi Query Sheperd,
Grant makes some good points. If his response answered your question then read no further.
For my two cents, I would find it helpful to know a bit...
November 26, 2014 at 2:38 pm
I use SSMS Tools Back by Mladen Prajdic
Way cheaper than redgate, and I get quite a bit out of it. I find the most useful feature is the snippet generator....
November 21, 2014 at 2:48 pm
As I'm thinking about this more (with the somewhat limited amount of information I have) two things come to mind.
The first is to build a calendar table; basically an enhanced...
November 21, 2014 at 2:42 pm
Hi sgmunson,
Thank you for all the code and data you provided, but there's a lot going on there, and as is, those functions can't be run (since they call other...
November 21, 2014 at 2:25 pm
Unless you need a more granular breakdown, you can just run sp_spaceused on the database itself. e.g.
use AdventureWorks2014
go
exec sp_spaceused
November 17, 2014 at 2:21 pm
First off, great series. My problem is this. I built the lookup operation verbatim, but it's giving me the following error:
"The component has detected a potential metadata corruption during validation....
November 16, 2014 at 8:37 pm
So what you're saying is if there are any duplicate records for name and address, those records should be excluded from your select statement.
What you want to do then is...
November 14, 2014 at 3:03 pm
http://msdn.microsoft.com/en-us/library/ms190798.aspx
I'd also familiarize yourself with xpath and xquery.
November 14, 2014 at 2:35 pm
Thank you both for the replies and examples. These have been quite helpful.
November 12, 2014 at 8:10 am
Also, as a side note, even though this is a 2008 specific forum, if you have 2012 +, if all you need is the number and you don't care about...
November 11, 2014 at 4:18 pm
Viewing 15 posts - 121 through 135 (of 230 total)