Viewing 15 posts - 31 through 45 (of 104 total)
GilaMonster (7/7/2010)
If you wish to track this...
July 7, 2010 at 6:31 am
Thank you.
But it contains only 15mins of information...
that too all the information are related to index like
IX_indexName:
DDL Operation: ALTER
Time:
Login Name:
User Name:
Is there any way to find atleast 2days old...
July 7, 2010 at 6:21 am
WayneS (6/30/2010)
July 1, 2010 at 10:11 am
Jeff Moden (7/1/2010)
GilaMonster (6/30/2010)
Jeff Moden (6/30/2010)
... but don't mind giving a little advice on what to change. 😉The entire thing? 😉
Heh... z'actly. 😛
Hi All,
thanks for your valuable suggestions.
i know cursors...
July 1, 2010 at 6:52 am
WayneS (6/30/2010)
KBSK (6/29/2010)
Hi,please help me in analyzing this deadlock...
what is causing the deadlock(i mean which query/insert statement is causing the deadlock)
Is this the information that you're looking for?
process 1:
INPUT BUFFER:...
June 30, 2010 at 2:50 pm
Hi,
any updates please.
i know here cursors have been used extensively but need to know where i should modify.
the deadlock happened when two INSERTs occured on a table.
Thanks,
KB
June 30, 2010 at 8:41 am
GilaMonster (6/29/2010)
Can you post the schema of the table, all indexes and the trigger definitions?
Schema of table and indexes & triggers are attached.
June 29, 2010 at 6:01 am
Dave Ballantyne (2/1/2010)
This ...
insert myTable(Activity_Codes)
select 'GL'+ Right('000' + convert(varchar(3), number),3) from master..spt_values where type =...
February 1, 2010 at 7:04 am
vstitte (2/1/2010)
Try this
declare @id int
set @id = 001
While @id <=100
begin
insert myTable(Activity_Codes)
select 'GL'+ Right('000' + convert(varchar, @id),3)
set @id=@id+1
end
Yes, got it...
Thanks,
KB
February 1, 2010 at 5:10 am
Scott Coleman (7/27/2009)
-- Use multiple assignment to save the new value in a variable
DECLARE @ID INT
UPDATE dbo.TestTable SET @ID = ID = ID + 1
PRINT @ID
How does the code work?
SET...
February 1, 2010 at 2:27 am
thanks, I Got it... and i got how the nested transactions work..
thank you,
KB
January 29, 2010 at 5:35 am
Select name from myTable
except
select productName from myAnotherTable
where productCode = 'SomeProduct'
Gianluca Sartori (9/11/2009)
Select distinct name
from myTable
where NOT EXISTS (
select 1
...
September 11, 2009 at 7:02 am
Awesome. Sorry about the interruptions - but Ian and I are having a fascinating discussion, hope you didn't mind too much :blush:
Thats ok...
I am also learning from your discussions...
September 9, 2009 at 8:58 am
alter table dbo.myTable alter column Quota int not null
But this only works after you have removed existing null values
Thanks,
it worked.
-
KB
September 9, 2009 at 8:33 am
KB (9/9/2009)
ALTER TABLE dbo.myTable ADD CONSTRAINT DF_myTable_Q DEFAULT(0) FOR Quota
currently the Quota column is "int NULL"
how to change it to "int NOT NULL" ?
-
KB
September 9, 2009 at 8:16 am
Viewing 15 posts - 31 through 45 (of 104 total)