Forum Replies Created

Viewing 15 posts - 4,081 through 4,095 (of 6,395 total)

  • RE: Unexpected Database Growth ??

    Well something needed that space, if you dont know what then I would recommend tracing the server, but if it only happens once in a blue moon then unless you...

  • RE: sql 2005 and logshipping

    If you have such a big log after 30 minutes, then change it to 15 minutes.

    You can shrink the log in full recovery, but you will have to wait until...

  • RE: Unexpected Database Growth ??

    I would recommend reading this http://www.sqlservercentral.com/articles/Administration/64582/ before you do anything.

    If the log file jumped to that size, it was for a reason and would probably do it again.

    As detailed already,...

  • RE: Unexpected Database Growth ??

    Do you have any weekend processes like rebuild, reorganise indexes etc?

    What is the autogrowth setting of the DB in question?

    Do you keep a record of the space used on a...

  • RE: sql 2005 and logshipping

    Full backups do not do anything to the transaction log. Only a transaction log backup can mark the log as re-usable.

    How often is the log backup taking place?

  • RE: stored Procedures

    duplicate post, and from other posts comments seems like homework.

  • RE: MCSA & MCSE SQL Server 2012 !?

    Have you checked out the Microsoft Learning site?

  • RE: How to SEND a report via SPROC

    The only way I can think of off the top of my head if you dont want to use subscriptions, is to build your dynamic proc and format it in...

  • RE: Error with DBCC CHECKDB

    Drop and recreate the index, would be the quickest solution.

  • RE: sql 2005 and logshipping

    This is standard behavour, the log will become larger than what you are used to as it is not marking the log as re-usable until a log backup occurs.

    How often...

  • RE: Sending email from SQL

    Have you checked with your mail administrators that you can actually send to an outside domain?

  • RE: stored Procedures

    Hi

    Please can you post DDL, sample data and expected outcomes so that we can help you out further.

    The second link in my signature will help if you get stuck.

    Thanks

  • RE: How to retrive data in particular format?

    Something like this

    with cte

    as

    (

    select

    car.vinno,

    car.model_id,

    --sales_bill.billno,

    --record.recordno,

    max(areaofsales.zone_id) as Zone

    from

    car

    inner join

    sales_bill

    on

    car.model_id = sales_bill.model_id

    inner join

    record

    on

    sales_bill.billno = record.billno

    inner join

    areaofsales

    on

    record.recordno = areaofsales.recordno

    group by

    car.vinno,

    car.model_id

    ),

    cte2 as

    (

    SELECT

    ROW_NUMBER() OVER(PARTITION BY model_id ORDER BY Vinno) AS RowNum, Vinno, model_id, Zone

    FROM

    CTE

    )

    SELECT

    Vinno, model_id,...

  • RE: How to retrive data in particular format?

    Dont you just need to do an order by vinno asc or zone_id desc

    edit, didnt test with sample data, not just an order by needed

  • RE: SQL 2005 to 2008 slower

    Have all statistics been updated? DBCC UPDATEUSAGE run?

Viewing 15 posts - 4,081 through 4,095 (of 6,395 total)