Forum Replies Created

Viewing 15 posts - 35,836 through 35,850 (of 49,558 total)

  • RE: Trunc log on chkpt

    newbie2sql (11/15/2009)


    Hi,

    One of our databases log file growing very huge. One of our team members recommended the following instead of dbcc shrinkdatabase (of course i would recommend...

  • RE: directory lookup for the file failed with the operating system error 2

    Not according to the error message you aren't.

    Directory lookup for the file "e:\as.mdf\as.mdf" failed

    Check what you've got set for the directory and what you have for the filename....

  • RE: delete records in sql without entry in transaction log

    obtllc (11/15/2009)


    backup log database_name with truncate_only

    Suggesting that with not mention of what it does, what the effects are and what you need to do afterwards? Bad advice.

  • RE: Sql server

    This looks like spam. An near exact copy-paste of part of the previous post, with advertising junk at the bottom.

    In case it's not. Get your windows admins to look into...

  • RE: Count(*)

    I can't remember the details, but I think it's a case where it's supposed to be accurate, but not 100% certain to be if there are ongoing changes and open...

  • RE: How to get the query which need to be compiled

    Also check out the Plan cache miss and plan cache insert events (also in profiler)

    I don't recall if the SP:Recompile and TSQL:StmtRecompile show compiles or just recompiles. Test them out.

  • RE: Count(*)

    Jeff Moden (11/14/2009)


    Don't use that method (sysindexes) even in SQL Server 2000 because there is no guarantee that the value you get back is accurate unless you also run DBCC...

  • RE: role permission of tempdb due to server restart

    chirag.vyas (11/13/2009)


    in our application that need to create some tables in tempdb.

    Why? That's generally a very bad idea

    1. Is there any setting to ensure that the the db_owner role...

  • RE: Deadlock Information in Profiler (ObjectID2 way too large)

    It's not an objectid, it's a partitionid. Query sys.partitions to get the objectid and indexid

  • RE: SQL Tuning where no PK exists

    SQLNewbster (11/13/2009)


    Umm, sorry. I didn't realize this was the SQL 2k forum. I just joined when I posted this. Many apologies for that.

    No worries. We just use...

  • RE: reorganise/rebuilt index online script needed...........

    CirquedeSQLeil (11/13/2009)


    Keep in mind that an online Rebuild is available in SQL2K5 Enterprise.

    Plus indexes with LOB columns can't be rebuilt online.

  • RE: Count(*)

    Francis Yee-483501 (11/13/2009)


    Is there any other cases that if I use MAX(rows) for the same tablename I would not get the rowcount ?

    Yes. Any partitioned table.

    Consider a table with 2...

  • RE: Restoring file groups problem... LOG backup lost...

    ryan.mcatee (11/13/2009)


    Surely it must be possible. In a real-world scenario (which thankfully this is only some concept testing), backing up the tail of the t-log may not always be...

  • RE: Restoring file groups problem... LOG backup lost...

    You need to now go and restore all your log backups, starting with the one after the earliest of the filegroup backups and ending with the one you took right...

  • RE: reorganise/rebuilt index online script needed...........

    espanolanthony (11/13/2009)


    i nhave a script here that was given by a friend but still when run is it creates locks. he told me that this script will rebuild/reorganise indexes online....

Viewing 15 posts - 35,836 through 35,850 (of 49,558 total)