Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 4,745 total)

  • RE: mirror a table on another database

    look into transactional replication.

    the table will have to have a primary key.

    ---------------------------------------------------------------------

  • RE: Want to import all the jobs from one server to another

    as this is a one off task you can script out all the jobs using SSMS.

    select jobs in the left hand pane. select F7 and you will see the jobs...

    ---------------------------------------------------------------------

  • RE: Managing the Transaction Log size growth during an index rebuild

    dba.zahid (4/13/2012)


    i think instead of switching recovery mode, you could simply set up another job that will shrink you database once you take the transaction log backup after the index...

    ---------------------------------------------------------------------

  • RE: dtsmsg100.dll is missing on your computer

    If you are sure the file is there in the location you installed SQL to it might be worth checking permissions, the error could be misleading.

    You could run process monitor...

    ---------------------------------------------------------------------

  • RE: dtsmsg100.dll is missing on your computer

    is SSIS installed on this computer?

    ---------------------------------------------------------------------

  • RE: Database mirroring question

    I can confirm you need the log backup restored as well.

    ---------------------------------------------------------------------

  • RE: Moved SSRS database to new server instance (rsReportServerNotActivated)

    Full instructions are here, although MS instructions on this are confusing as hell. Just the encryption key restore should do you

    ---------------------------------------------------------------------

  • RE: Moved SSRS database to new server instance (rsReportServerNotActivated)

    you need to restore the encryption key from the SSRS instance you copied the RS database from

    ---------------------------------------------------------------------

  • RE: User/Login in Database Instance

    anonymous2009 (4/10/2012)


    Thanks!

    When I execute SELECT USER_NAME(), I get the result as guest.

    you are getting into database as guest user then, this is one of the users listed below. This shows...

    ---------------------------------------------------------------------

  • RE: User/Login in Database Instance

    you must be a member of a windows group that has SQL access.

    select * from sys.database_principals or exec sp_helpuser

    ---------------------------------------------------------------------

  • RE: Log Shipping - Retaining SQL Server-user permissions on secondary server

    thats what sp_help_revlogin does for sql authenticated ids, it scripts them out and maintains the sid and password

    ---------------------------------------------------------------------

  • RE: Migrate database server to new machine

    Perry Whittle (4/7/2012)


    george sibbald (4/4/2012)


    User databases either backup\restore or detach\attach. Backup\restore usually best because the files to copy are smaller and backout is easier if problems with the migration.

    The backups...

    ---------------------------------------------------------------------

  • RE: When we talk about fragmentation, is it "Index Fragmentation" always ?

    avg_fragmentation_in_percent = 0 means you have no fragmentation so that would not change after a rebuild.

    an avg_page_Space_Used_in_Percent = 0 says the pages are empty.

    I would suggest there is not enough...

    ---------------------------------------------------------------------

  • RE: Migrate database server to new machine

    BTW just check you don't have any user defined error messages. Check the sysmessages tables for error nos above 50000

    set quoted_identifier off

    select 'exec sp_addmessage ' +convert(varchar(10),error) +"," +convert(char(2),severity) +"," +"'"+description...

    ---------------------------------------------------------------------

  • RE: Migrate database server to new machine

    They won't be set.

    I don't have a script to reverse engineer them as I don't change that many of them (you should not need to), I use a script if...

    ---------------------------------------------------------------------

Viewing 15 posts - 1,066 through 1,080 (of 4,745 total)