Viewing 15 posts - 31 through 45 (of 53 total)
Hi
Unfortunately, I wasn’t able to open the document containing exec plan, but based on the code, it seems to me that there are quite a few problems with your procedure...
April 19, 2011 at 4:51 pm
I would probably try to use CTEs, something like:
;WITH cte_TestTable
AS
(
SELECT ROW_NUMBER() OVER (ORDER BY start) AS 'No',* FROM TestTable
)
SELECT a.id,a.Stop as StartTime ,b.StartTime as Stop FROM cte_TestTable a
INNER JOIN cte_TestTable...
April 17, 2011 at 11:21 pm
Really guessing, but if it happens only on Thursdays and only between 8:30am and 8:40am, could it be that some scheduled job that is running during that time or some...
April 15, 2011 at 12:50 am
+ the trigger
What is the trigger doing?
Is it also updating something?
(you mentioned that the table contains trigger.
Is it fired on/after update?)
April 15, 2011 at 12:30 am
It was not database that was suspended but a process was suspended.
(Database can be marked as ‘suspected’ not ‘suspended’).
If you carefully read the message that you got you will see...
April 14, 2011 at 10:47 pm
Hi,
It is impossible to help without more (much more) additional information.
I am assuming that your server is SQL dedicated and that there are no other applications running.
I would recommend basic...
April 13, 2011 at 1:01 am
SELECT
(select count (itemmaster.itemid)[Total Books] from itemmaster) as [Total Books],
(Select count (AccNo) [Total Issued Books]from isuueRecev where passint=1) as [Total Issued Books],
(Select count(Accno) [Over Due Books]from isuuerecev where RecevDate<'2011-06-10') as [Overdue...
April 12, 2011 at 11:09 pm
Hi
You didn't specify what kind of replication you have (or other details),
but from the error is it obvious that it's trying to create a fk constraint on the subscriber side...
April 11, 2011 at 6:39 pm
Hi,
I had almost exactly the same problem in the past, and the only way I found out to deal with it was to clear old records from subscriber directly.
Filter is...
April 10, 2011 at 11:40 pm
Hi,
I would guess that it is very likely, but it's difficult to say since you didn't specify how is space organized (which files are sitting where and how much space...
April 10, 2011 at 9:20 pm
Hi,
Based on the tables you already have, it seems to me that contacts should be two separate tables: one for customers and one for brokers.
Assuming that you out them...
April 10, 2011 at 5:50 pm
Hi,
Unfortunately, reading trace will not give information about size increase, but can give you information where the increase is coming from (ApplicationName, LoginName,StartTime)
It should look something like:
select * from fn_trace_getinfo(0)
select...
April 7, 2011 at 5:05 pm
Hi
Have you checked % of usage of your TempDB?
use TempDB
sp_spaceused
Is the database "re-growing" or it was one time growth?(Could be some ill query ran by someone...?)
In addition to running...
April 6, 2011 at 11:52 pm
Thank you, it was exactly what I needed 🙂
Have one more question (and will risk to sound stupid):
I heard/read a few times so far that some people are suggesting, in...
March 29, 2011 at 5:41 am
Viewing 15 posts - 31 through 45 (of 53 total)