Forum Replies Created

Viewing 15 posts - 151 through 165 (of 203 total)

  • RE: Help with Export to Temp Table please

    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...

  • RE: DeadLock

    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

  • RE: DeadLock

    kill 376

    -- Amit

  • RE: Are partitioned views not that smart?

     

    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...

  • RE: what is PKM in SQl Server ?

    As per BOL,
    There is nothing called PKM 
    -- Amit
  • RE: QOD Suggestion

    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...

  • RE: entrypoint not found in SQLRESLD.dll

    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)...

  • RE: Some ideas for SQL "Cleaning" Product version 3.0

    * 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...

  • RE: Where is transaction log backup?

    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...

  • RE: Viewing the data at the PAGID

     

    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

  • RE: Initial connection very slow

    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...

  • RE: Req: Queries to return complete DB schema

    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

    #493580

  • RE: Req: Queries to return complete DB schema

    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...

  • RE: How does SQL Server store a Page ???

    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)...

  • RE: Question of the Day for 05 Feb 2004

    shouldn't it be

    Windows Application - "Application Log"

     

Viewing 15 posts - 151 through 165 (of 203 total)