Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)

  • RE: Creating a View

    I don't know if your real query follows the same logic

    but the sample query should work as shown below.

    using the logic

    if

    A = 'F' and

    ...

  • RE: Group By Help

    Oh btw..

    If your only aggregate is the count

    and you use the subquery posted by Deuce,

    then you can get rid of your 'Group by'.

  • RE: Deleting duplicate Records??

    The reason you are having problems is because of the database structure. There should never be duplicate data. The best long term solution is to redesign the datbase structure to...

  • RE: How to use Soundex and Like in a single query ?

    Does this work at all...

    Select *

    From Table

    Where

    (

    Soundex('combuterrr') = Soundex(ColumnName) or

    ColumName Like '%computer%'

    )

  • RE: Dynamic Where Clause

    Oops.. a little error on the last script.

    The way the script was written forces @ID to be defined prior to execution. I think the following code is correct..

    Declare

    @CommandString...

  • RE: Dynamic Where Clause

    Just in case you need something more dynamic...

    Declare

    @CommandString Varchar(1000),

    @WhereClause Varchar(1000),

    @Surpress int

    Set @Surpress = 0

    if @Surpress = 1

    Set @WhereClause = '' ...

  • RE: Unable to modify tables after merge replication is

    Check The Replinfo field in sysobjects for the object in question. It should be 0 if the object is not replicated

    Good Luck

  • RE: Anyone have seen this error?

    That error usually means the bcp file can not be found.

    It appears your subscriber has succesfully connected to your ftp server but the file it's looking for is not...

  • RE: Can we auto run SnapShot and Distribution Agents?

    SQL Server 2000 allows changing articles without dropping replication..

    I don't know if that will apply in your situation but it's just a suggestion.

    Good Luck

  • RE: GUID as PK with Merge Replication (OK?)

    Merge uses a rowguid whose property is specifically set as ROWGUIDCOL ( vs uniqueidentifier ). Other RowGUIDs in the tables should have no affect on it.

  • RE: String or binary data would be truncated

    I have seen that exact problem with regional settings. Your computer is giving a datetime in a format the sql may not be able to interpret as a datetime.

    The floating...

  • RE: Automatic Replication Restart

    The replication agent should be ran by a job. That job has a schedule.

    Right click the Job in EM and choose properties. Click the schedule tab and set the job...

  • RE: Merge Repl failed with error 2812

    I just read the latter comments about the missing sysmergepubliccations.

    You might have to drop the subscription and re-create it. You will also have to re-sync the databases.

    Reinitializing the subscriptions will...

  • RE: Merge Repl failed with error 2812

    That sound like a problem caused by different service packs.

    Use Select @@Version on all of your servers and verify the service packs are the same on all servers.

    If they are...

  • RE: How does it work?

    You could use your home machine as the publisher. Your host maching would subscribe to the published tables. Any changes made to tables at either end would be synchronized.

    (merge replication)

    Next...

Viewing 15 posts - 1 through 15 (of 16 total)