Forum Replies Created

Viewing 15 posts - 1,561 through 1,575 (of 2,640 total)

  • RE: Database stuck in ''''in recovery'''' mode

    well you should be able to drop the database - however I'd have been through the logs first before rebooting, unless the database isn't important.  Stop the server and delete...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Table Defaults

    Sorry Andy - liked the article.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Table Defaults

    I generally dislike nullable columns, lots of nulls usually mean a poor design, however, sometimes you don't always have all the data - and lets not forget about apps that...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server 2000 - Memory Management - Fixed / Dynamic ?

    in real terms adding awe memory only increases the data cache which normally benefits reads the most, I'm not totally convinced it would help you adding an extra 512 mb...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Quickest way to clear all tables

    when it gets that complex it might be easier to drop the database .. however you can usually place the truncate / drop code in a loop which doesn't exit...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: list User Stored Procedures that reference a specified table

    It's a simple script, never had any problems, but that's probably down to documentation and I usually try to avoid large procs as they rarely optimise correctly in cache. If I...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: list User Stored Procedures that reference a specified table

    not difficult - I usually drop this proc into master - can use it in from any database, will search for one or two strings

    Create procedure dbo.sp_FindText

    @wot varchar(250)=' ',

    @wot2 varchar(250)='...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Shrikfile question

    TYMA .. I'd normally assume that a production database is set to full recovery with regular transaction log backups .. if you switch the database to simple recovery you break...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: whether 2 "select" statements can cause Deadlock?

    selects don't work that way in a transaction and an updatelock isn't a select , selects can't give this behaviour.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Xeon vrs Core 2 Duo

    You might have done better getting a dual core 64bit amd and moving up to 64bit. Workstation and server o/s have obvious differences but as a sole user it probably...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Add index to existing table

    If you add a clustered index it will require a data sort, a secondary index will not impact the base table.  If you take the create another table approach make...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: whether 2 "select" statements can cause Deadlock?

    essentially no, a deadlock has to involve a data change. 

    selects issue shared locks.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Automate Update/Create statistics or not?

    You can profile or check the procedure cache to see if auto update stats are running when you don't want them running. The reality is that the auto-update stats does...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server 2000 - Memory Management - Fixed / Dynamic ?

    I wouldn't advise doing anything with memory unless you add more physical memory to the box, any changes would most likely not have a noticible effect and as Steve says...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Log File is full

    sounds to me that you need a DBA !  If you don't need to keep transaction log backups then put the database into simple recovery. You were close with your...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

Viewing 15 posts - 1,561 through 1,575 (of 2,640 total)