Viewing 15 posts - 151 through 165 (of 203 total)
This is what i would use in such a case.
select col1,col2 into #abc from tbl
group by col1, col2
having count(*) > 1
delete tbl
from #abc
where tbl.col1...
February 16, 2004 at 3:21 am
if you can not set deadlock priority it in the SQL Code fired by that session. then simply kill the other process causing deadlock ....
kill 376
-- Amit
February 16, 2004 at 3:18 am
I made the following tables and view which are as per requirements of Partitioned View. Strangely the queries that reffer to partitioned columns using operators such as = & in gives proper...
February 16, 2004 at 2:27 am
As per BOL,
There is nothing called PKM
-- Amit
February 16, 2004 at 1:55 am
Don't remove option to answer old questions. this would be very much the case when someone comes back after few days (rom a vacation, leave etc.)
I suggest you remove...
February 16, 2004 at 1:44 am
I did came across simmilar situation. Just check the enviornment settings "path " (goto command prompt. and type PATH)
also test by giving command dtsrun from command prompt (from c:\ only)...
February 13, 2004 at 4:07 am
* shrink db / log files for simple recover mode database
* frequently recompiling procs
* fragmented indexes that needs
* identity gaps fix
* remove duplicate records from a table...
February 12, 2004 at 11:01 pm
you need atleast one full backup that was taken before your deleted happened. and subsequent transaction log backup(s) taken after your delete has happened. (assuming no one truncated tran log...
February 12, 2004 at 10:34 pm
use following to view contents of page 15 :1 : 40595 ( db id : file id : page number)
dbcc traceon (3604)
dbcc page (15 ,1, 40595)
-- Amit
February 12, 2004 at 10:29 pm
If your webserver and database were on same machine initially, they would have used named pipes for communications, which is a bit faster them TCPIP. try switching to named pipes...
February 12, 2004 at 10:24 pm
As per your requirements, Tables requires ID, Name, CreationDate, Owner, FullTextCatalogName, FullTextIndex, FileGroup, ClusteredIndex, PrimaryKey, IsAnsiNullsOn, IsQuotedIdentOn
Just to check, You are thnking of a queries such as
February 11, 2004 at 2:56 am
Can you publish the exact contents of this queries / views that you are aiming to have in this forum?
This would help, if anyone has got a query written...
February 11, 2004 at 12:37 am
I did a bit of testing like this. Got some results which i could not understand.
-- create a smallest table possible in SQL
create table test1 ( col1 char(1) not null)...
February 4, 2004 at 9:51 pm
shouldn't it be
Windows Application - "Application Log"
February 4, 2004 at 9:39 pm
Viewing 15 posts - 151 through 165 (of 203 total)