Forum Replies Created

Viewing 15 posts - 47,101 through 47,115 (of 49,571 total)

  • RE: HD 100% busy

    As a first suggestion, run profiler and capture the T-SQL Batchcompleted and StoredProc:RPC completed events. Run it for an hour or so during one of your busy periods. You can...

  • RE: Full recovery mode DB - Backup and Shrink Transaction log

    Faessler Gilles (3/27/2008)


    Hi,

    Currently on the server there is only a full backup of all dbs once a day. No log backups at all. IfI unterstand it right the logs continues...

  • RE: Deadlock Solution:SnapShot Isolation Level

    Snapshot isolation probably will fix the deadlocks, but you do need to check and make sure it will not break any code. You also have to take the impact on...

  • RE: Weird SQL Query

    IN doesn't parse apart a comma-delimited string. The form with a subquery is equivalent to an inner join

    Your query

    select * from employee where employee_typ in (select [value] from cfg_elements...

  • RE: Rewriting Stored Procedure

    Scott Duncan (3/26/2008)


    Fiddled about with adding ApplicationNumber to IX_Application2, but if you are only querying on one or the other of ApplicationNumber or DocumentNumber (from studying the usage patterns with...

  • RE: Shrink database

    Looks like you may have duplicate jobs. The code you posted that runs 1pm does all that the integrity check and optimisations do. You may be able to disable one...

  • RE: SQL Server Profiler

    Do you mean the profiler trace? Or something else?

    If you select save to file, you can have the profiler trace written anywhere. If you don't, I think it just goes...

  • RE: Full recovery mode DB - Backup and Shrink Transaction log

    I'll second Kyle's advice. The only time you should consider shrinking a transaction log is if it's grown excessivly large due to some long running transaction.

    In general, what you want...

  • RE: are there "arrays" in sql 2005 ?

    blahknow (3/26/2008)


    Hi Gail,

    You've got 3213 points, how did you get it, from another forum ?

    Points are given for writing posts (1 per post writen) and for answering the Question...

  • RE: Query rewrite

    Is the category group stored anywhere? If not, have you considered creating a table for the cateory group and adding a foreign key to the InventoryCategory table?

    It will make queries...

  • RE: Temp Table List

    Those are table variables. Unlike temp tables, the name that they are given in code has no relation to the name assigned in TempDB.

    It's also possible that temp tables created...

  • RE: Record Count for all the tables from a DB

    What's wrong with just this?

    select object_name(a.id),a.name,b.name,a.length

    from syscolumns a,systypes b

    where a.type = b.type

    and a.usertype = b.usertype

    order by object_name(a.id)

  • RE: How can we shrink ldf files

    kgunnarsson (3/26/2008)


    but if you do a full backup before the truncation

    I was under the asumption that this could be avoided by doing full backup and transaction log backup before...

  • RE: SELECT STATMAN in profiler ????

    What you're seeing is an automatic statistics update. Nothing to be concerned about.

  • RE: How can we shrink ldf files

    kgunnarsson (3/25/2008)


    backup log 'database' with truncate_only

    Just bear in mind that a log truncation breaks the log chain. You will not be able to restore the database to a time after...

Viewing 15 posts - 47,101 through 47,115 (of 49,571 total)