Forum Replies Created

Viewing 15 posts - 916 through 930 (of 1,539 total)

  • RE: create job help?

    Sarvesh, I did not run the script, if it's running fine, why not put it under scripts section. Will be useful for future use as well. 😉

  • RE: How to backup DB Online

    We were like studying backup/restoration and we forgot the main topic!!

    Did you automate log shipping? I'm sure you're not running enterprise edition.

  • RE: How to backup DB Online

    thang_ngo_2002 (6/23/2009)


    You're right. I've done

    How to get the last LSN of current DB, how to get current LSN of file created by Backup Log?

    restore headeronly from disk='your backup file name'

    This...

  • RE: How to backup DB Online

    1. drop all connections by running alter database mydb set single_user with rollback immediate

    2. select master database as active db and then run the query.

    EDIT:- corrected query.

  • RE: Can we take the backups to Multiple drives in SQL Server 2005?

    You can do stripped backup. Backup data will be written to two backup devices simulateneously.

    backup database test

    to disk='c:\test1.bak',

    disk='c:\test2.bak'

    2nd path can be your network path.

    During restoration too, you...

  • RE: Query-Urgent

    satishthota (6/22/2009)


    Hi,

    It should display 6 records only

    You have got 2 records with T1 in transID column in trans table and 2 records in payment table. so joining the table on...

  • RE: How to backup DB Online

    thang_ngo_2002 (6/22/2009)


    OK, you are right.

    Could you please show me the way to switch Standby DB from ReadOnly to main DB after apply LOG backup files

    I try to uncheck "Read Only"...

  • RE: PLEASE Help with correct syntax

    allenjasonbrown (6/22/2009)


    I am writing a query and it current looks like this:

    select

    cast(convert(decimal,a.totaltransactions) / convert(decimal,b.totaltransactions) as decimal (8,8))

    from table1

    I need to be able to add a 'NULLIF' because I currently get...

  • RE: Query-Urgent

    Dont you have a unique transaction ID on trans table? Joining these tables will produce double the number of records.

    --============

    create table trans

    (

    transid varchar(10),

    transdate datetime,

    status varchar(20),

    userID varchar(20)

    )

    create table Payment

    (

    TransID varchar(10),

    Payid int...

  • RE: How to configure replication if we have identity column in publisher

    rames.net (6/22/2009)


    Thanks for ur reply.

    could u pls explain me how to manage in P2P replication.

    thanks a lot.

    This article by Paul Ibison explains various methods to manage Identity Range in P2P...

  • RE: How to configure replication if we have identity column in publisher

    Pls go through attached Microsoft whitepaper on P2P replication.

  • RE: DB Mirroring and Failover

    Thanks for sharing the solution 🙂

  • RE: How to configure replication if we have identity column in publisher

    In transaction replication, identity column is automatically managed by the sql server. It allocates a range for publisher and different set of ranges for subsribers.

    For p2p replication, you need to...

  • RE: bulk insert

    select collist into NewTable from OldTable is the right syntax.

    Ref. http://msdn.microsoft.com/en-us/library/ms188029.aspx

  • RE: database backup

    Abhay, as rightly pointed by Homebrew01 in last post, you need to plan you restoration strategy carefully, based on which you should create your backup jobs.

    First question that's asked is...

Viewing 15 posts - 916 through 930 (of 1,539 total)