Forum Replies Created

Viewing 15 posts - 121 through 135 (of 279 total)

  • RE: What Node am I on?

    Matt, I am not sure how you would state that the result depends on where it is being run from.

    As per BOL:

    ComputerNamePhysicalNetBIOS

    NetBIOS name of the local computer on...

  • RE: Will SQL-08 accepts extra processor ???

    SQL Server will "see" the new processor upon restart.

    You will though, have to make sure you are in compliance with the SQL Licensing in place. If it is...

  • RE: Unable to restore from backup

    Matt-1034261 (12/30/2009)


    GilaMonster (12/29/2009)


    Looks like you're trying to restore over the existing database. Don't. Drop the corrupt database and restore the new one from scratch.

    Post the restore command that you're using.

    Do...

  • RE: Cannot access local sql server 2008 instance via "localhost" ???

    That's indeed a solution, as you now have the alias pointing to the named instance, but originally, localhost would only work if you have a default instance and no named...

  • RE: Cannot access local sql server 2008 instance via "localhost" ???

    because you have a named instance.

    'localhost' by itself will connect you to the default instance, not a named instance.

  • RE: Not able to print the message in the T-sql code

    If the output of the PRINT is just a blank line, then one or more of the variables contains a NULL, as Mike stated above.

    You probably would have to use...

  • RE: Rebuilding indexes doesnt work

    The indexes have to be "big" enough to be actually rebuilt. I can't recall now what the threshold is, but I believe it was something about 8 pages or so...

  • RE: DDL log

    Piotr... I guess with TRUSTWORTHY ON it now works as expected between databases... 🙂

    Thanks...

    On to getting this work across servers.....

  • RE: DDL log

    Piotr.Rodak (11/9/2009)


    @piotr: yes, but with the EXECUTE as you enter the realm of the permissions and how they are chained. Imagine any user was able to use execute as a...

  • RE: DDL log

    Lowell,

    thank you for the example.

    i don't think we have tried with 'dbo' as the execute as user, but then again, in your example the table that...

  • RE: DDL log

    @ben: would you mind sharing the exact steps setting it up, users and access? As explained in my original post, that's what we did successfully on the test machine but...

  • RE: DDL log

    The DB trigger is actually using xml, the issue I have though is making this work for "any" user....

  • RE: How to rename sql server when old name is not known

    Ronnie, you are correct... forgot about @@servername....

  • RE: How to rename sql server when old name is not known

    For it to take effect, you have to set it with

    sp_addserver 'YourServername', 'LOCAL'

    and then restart the SQL Services

    (note: for some reason last time I had to do it, it only...

  • RE: how long will it take to restore a 500 gb native sql file

    It depends on your server specs as well. Disk, although a major factor, is not all.

    We have a 1TB DB that restores in about 2.5 hours and then another 10-20...

Viewing 15 posts - 121 through 135 (of 279 total)