Forum Replies Created

Viewing 15 posts - 1,441 through 1,455 (of 2,640 total)

  • RE: Linked servers problem...

    It can be tricky to get linked servers working this way, I usually don't bother and use a defined login, this way I can lock down the object permissions and...

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

  • RE: why not showing the nulls?

    i recommend a good T sql book or training course, or even a read through BOL on joins and nulls.

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

  • RE: Is hash tables is better than temporary user tables?

    In general terms a #table will outperform a permanent table defined for the sp. This is generally down to how sql server optimses #tables ( stats and such like )...

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

  • RE: Recovering SQL Server 2000 Database (no backup)

    A few years a ago I used an online recovery, based in the US, when someone deleted a set of sub cirectories on a server. It worked very well -...

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

  • RE: Storing Shape data in a database. (Plans and Maps)

    First thing I'd do, if you really want to do this in sql server, is upgrade to 2005 where you can define a user defined data type as an array...

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

  • RE: Is hash tables is better than temporary user tables?

    #tables will tend to force procedure recompiles whilst table variables don't tend to optimise well for anything other than small(ish) data sets, the exact size depends. A largish table variable may...

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

  • RE: WEIRD, WEIRD, WEIRD xp_sendmail error! HELP!

    I doubt it was memory. There can be problems using mapi mail if the exchange server restarts and you don't then stop and restart the sql server. It's not always...

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

  • RE: Setting database codepage

    you'd need unicode, check out BOL, and most importantly you ideally want to figure this one out before installing sql server

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

  • RE: When To Use Cursors

    here's mine

    EXEC master.dbo.xp_execresultset N'select  ''dbcc dbreindex (''+name+'')'' from dbo.sysobjects where xtype=''U''','bracknell'

    where bracknell is the name of the database to run the command in.

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

  • RE: Tunning Up a SQL Database

    • turn auto grow back on - why on earth would you think turning this off would help?
    • get a dba
    • go on a training course
    • buy sql 2000 performance tuning guide.
    • Rebuild indexes
    • update stats...

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

  • RE: index tuning wizard

    I'd suggest you don't - the sql2k wizard is essentially rubbish. If you really must use one of these tools run it aginst the sql 2005 tuning advisor.

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

  • RE: Error 21776: [SQL-DMO] The name ''''dbo'''' was not found in the Users collection

    that sounds like a crm app I sadly have encountered a couple of times that insists in having objects owned by non dbo.

    To be honest dbs owned by sa (...

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

  • RE: DBCC SHRINKDATABASE()

    you say you don't want to return space back to o/s - is this correct? So is what you're asking how you can shrink the physical data storage part of...

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

  • RE: Monitoring SQL server

    http://sqlblogcasts.com/blogs/grumpyolddba/archive/tags/Trending+and+Statistics/default.aspx

     

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

  • RE: Creating a clustered index on existing table

    The quickest way is to check the clustered box in EM , index properties and save.

    However, this isn't good in a controlled environment, it may also take a while.

    other than...

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

Viewing 15 posts - 1,441 through 1,455 (of 2,640 total)