Forum Replies Created

Viewing 15 posts - 46 through 60 (of 100 total)

  • RE: The agent is suspect

    You said in your first post that you "restart my agent every day in the morning in the office", but now you're talking about not being there. So, are...

  • RE: Merge Repl and Clarion 5.5

    Have you checked for Conflicts? Of course this would only be a possibility if the row already existed and was being updated by the subscriber. If these are...

  • RE: The agent is suspect

    I get this occassionally and believe it's due to communications failure. Most subscribers are using dialup access. All I do is start the merge agent again and it's...

  • RE: edit server network library configuration

    On my machine it is C:\Program Files\Microsoft SQL Server\80\Tools\Binn\svrnetcn.exe

    Jay Madren

  • RE: Forcing a null

    Ok, you must have a lot of actual records where RepWeeklyApp.RepID is indeed null. I assumed that it was a PK or FK that would never contain null.

    So try...

  • RE: Forcing a null

    You need the date comparison to limit the rows to those weekends you want. I suspect that you have a logic error in your where clause - probably parenthesis...

  • RE: Forcing a null

    You need to change the first part of your WHERE clause (before the AND) to this:

    (dbo.RepWeeklyApp.RepID = 'CB909B54-7C0F-4908-B059-52B4027326AC' OR dbo.RepWeeklyApp.RepID IS NULL)

    Jay Madren

  • RE: Generate SQL Script...

    At what level are you generating the scripts within EM? If you're doing it for each individual object, then yes that can take a while. But you can...

  • RE: using subscriber db as production db

    The identity values aren't incremented because of the NOT FOR REPLICATION option. The purpose of this option is to allow the replication agent to specify values for the identity...

  • RE: using subscriber db as production db

    It sounds like the current identity value needs correcting. Use dbcc checkident('<table>',NORESEED) to check if that is the problem. If it is, use dbcc checkident('<table>',RESEED) to reset it.

    Jay...

  • RE: Help with CASE statement

    Actually, you can simplify this further by using the "Simple" form of CASE. You're currently using the "Searched" form (see BOL). The Simple form of your CASE statement...

  • RE: Replication via TSQL

    You can generate scripts from your existing publications and subscriptions in EM ("Generate SQL Script..." on the right-click menu). This will give you all the steps to recreate them.

    Jay

    ...

  • RE: Sales Report

    I'm sure someone else has a slicker way, but here's mine:

    SELECT A.EMPLOYEEID, COUNT_BEFORE_97, COUNT_AFTER_97

    FROM (

    SELECT EMPLOYEEID, COUNT(ORDERID) AS COUNT_BEFORE_97

    FROM ORDERS

    WHERE ORDERDATE < '1/1/1997'

    GROUP BY EMPLOYEEID

    ) A FULL OUTER JOIN (

    SELECT...

  • RE: Arithmetic overflow converting to int

    Guys, you need to look beyond the problem to what he's trying to do. It's a conversion of # 8KB pages to MB. The final result will always...

  • RE: Here's a fun one! :)

    Bravo Andy!

    Jay

Viewing 15 posts - 46 through 60 (of 100 total)