Forum Replies Created

Viewing 15 posts - 151 through 165 (of 254 total)

  • RE: Count Distinct...

    something like this?

    DECLARE @t table (primarykey int, acctid int, statusid int)

    insert into @t values (1, 2, 1)

    insert into @t values (2, 2, 1)

    insert into @t values (3,2, 2)

    insert into @t...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Is this replication strategy any Good ? Read on

    BCP is faster than DTS.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: process is running and is waiting for a response from one of backend connections

    http://www.replicationanswers.com is a good wesbsite from Paul Ibison.

    There are a lot of commonly observed error messages and a possible fix.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Applying the Initial Snapshot

    Good. so you have your job now?

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Applying the Initial Snapshot

    you didnt answer my questions.

    you can generate those stored procs using sp_scriptpublicationcustomprocs @publicationname. This will generate the insert/update/delete stored procs for all articles in the publication. You could use only...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Applying the Initial Snapshot

    What is the structure of the table? And how many records do you have in the table? And is this the first time you set up replication or it was...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Set up Transactional Replication from a restored copy on Publisher

    Thanks John.

    I was finally able to get it set up and running. I am gonna make a document and put it on my blog somewhere one of these days. I...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: row length exceeds 8060 bytes.

    If your row size is big, perhaps you might want to use TEXT data type. But there are some pay offs for using TEXT data type. Check out docs and...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: what''''s wrong with this?

    There are a lot of things here.

    Whether the Groups table has data or not does not matter here since GroupId seems to be coming from the parameter list in your...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Strange Thing

    SELECT Users.userId, userName, userPassword, Users.branchId, UserGroups.groupId

    FROM Users JOIN UserGroups

    ON Users.branchId=UserGroups.branchId

    AND Users.UserId = UserGroups.UserID

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Subscription Expired... Can I un-expire it ?

    I think once the subscription expires you need to resetup replication from scratch.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Set up Transactional Replication from a restored copy on Publisher

    we are changing the datatypes of columns from int to bigint etc. so repladd/repldrop will not work.

    thanks

    Dinakar

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Transactional Replication

    AFAIK, you need to drop all foreign keys on subscriber.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: Cumulative totals

    You could do a count(*), min(date), val and group by val.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • RE: The subscription(s) have been marked inactive.....

    If you already have the error, the only solution I would think is to re-setup replication but make sure you check the "never expires" option as Borik mentioned. By default...

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

Viewing 15 posts - 151 through 165 (of 254 total)