Viewing 15 posts - 16 through 30 (of 49 total)
I have a question on that: is it better to have a clustered index on a high selectivity value like a date field where you might have 1000+ rows...
July 15, 2009 at 7:06 am
Have you looked at the activity monitor? What kind of waits are you seeing? It could be something related to hardware or database configuration slowing you down (CXPACKET or PAGEIOLATCH...
July 15, 2009 at 6:02 am
Have you tried writing a procedure that creates the database, then the objects within it, and then call that procedure from your app?
July 15, 2009 at 5:59 am
Running profiler really hasn't shown me anything. It just shows that its the SQL Agent running it from the server itself.
July 15, 2009 at 5:57 am
Well, you could use:
kill spid with statusonly
spid = the spid you killed in the first place.
July 10, 2009 at 6:41 am
NOTE: This is bound to take several hours to rollback because of the operation you are doing and how much time you are into it already.
After looking at sp_who2 and...
July 10, 2009 at 6:34 am
Same problem here. SQLDMO_ running "dbcc checkcatalog WITH NO_INFOMSGS" on every single database and making backups to virtual devices that we don't use. Source is the database server itself.
July 10, 2009 at 6:16 am
What do the updates you're performing look like? How many records, usually?
June 19, 2009 at 8:29 am
Hi
I have a headcount report that look like so:
Permanent Temp Contractors Payroll - Vacancies Non-Payroll Vac Total
Marketing 10 4 3 17 10 44
Accounting 3 2 1 6 2 14
HR...
June 18, 2009 at 6:14 am
Yeah, thanks G2. Also, love the quote!
June 17, 2009 at 12:59 pm
You can run the following:
alter table test add constraint PK_test primary key (fld1, fld2)
The fields you use cannot be nullable, so you may have to use:
alter table test alter column...
June 17, 2009 at 12:48 pm
We were talking about CXPACKETS and MaxDop on this post , as well. Might want to check it out. I've wrestled my CXPACKETS down from being a major problem to...
June 17, 2009 at 12:04 pm
How about this:
update a
set speccode = ''
from #test a
where not exists
(select 1
from #test b
where a.speccode = b.speccode
group by speccode
having max(dateentered) = a.dateentered)
June 17, 2009 at 11:32 am
I have run into this problem before, too. What I found that was a record was deleted by someone on the subscriber side. Transactional replication goes from publisher to subscriber,...
June 17, 2009 at 10:45 am
IMHO The simplest would be the osql. It has parameters for an output file. If you have the output of your procedure to be what it is you want logged,...
June 17, 2009 at 10:00 am
Viewing 15 posts - 16 through 30 (of 49 total)