Forum Replies Created

Viewing 15 posts - 421 through 435 (of 582 total)

  • RE: need script to check permission on objects

    check sys.database_permissions.

    A good trick if you know how to do something with SSMS is to run a profiler trace of your own SSMS spid and you will capture the...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    There would not be many situations where you would need to rebuild master; not having backup would be one.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    When we bring the virtual machine up since it has an updated copy of master and the same drive letters/pathing it should see the mdf/ldf files and reattach itself essentially

    This...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    I am a bit confused now. Your first step says:

    1. Scheduled P2V (Weekly)

    I took that as you would be doing a physical to virtual every week. will you also be...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    P2V should work fine, I have done it once with a database server a couple years ago and if I remember correctly, did not have to restore any databases. we...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    I am pretty sure that once you do physical to virtual you will not have to restore the databases but you would need to change name and IP of virtual...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Backup SQL Machine, Need to move Master?

    I have a question; when doing a physical to virtual conversion don't all the drives and what they contain get converted to virtual disks thus negating the need to restore...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Group by, having count

    you could also use a subquery http://msdn.microsoft.com/en-us/library/aa213252%28SQL.80%29.aspx

    select company_name,s_post_code

    from address

    where s_post_code in

    (select s_post_code

    from address

    group by s_post_code having count(s_post_code)>1)

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Script to list all logins and permissions

    I stated in my original post that the servers table has to be populated manually with the server/linkedservername. All other columns in server table are handled by the script.

    ie.

    insert into...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Script to list all logins and permissions

    the table population is in the script. What part are you having trouble with?

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Database connection trigger

    Thanks Jack, that is what I figured would be needed just wanted second opinion.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Conditional Group by?

    Thank for the replies.

    Supriya, I was able to use your example to get the results I needed.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: migrating db from sql200 to sql2005

    here is a proc that can assist in moving logins between servers

    http://support.microsoft.com/kb/246133

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Copying an SP in code

    try sp_helptext.

    exec sp_helptext 'sp_who'

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to loop through tables with dynamic names?

    Did you read the link in my signature? If not, please do so then post example tables and data and I may be able to help you further.

    in any case...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 421 through 435 (of 582 total)