Viewing 15 posts - 1 through 15 (of 16 total)
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
...
April 10, 2002 at 9:04 am
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'.
April 10, 2002 at 8:48 am
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...
April 10, 2002 at 8:40 am
Does this work at all...
Select *
From Table
Where
(
Soundex('combuterrr') = Soundex(ColumnName) or
ColumName Like '%computer%'
)
April 10, 2002 at 8:35 am
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...
April 10, 2002 at 8:08 am
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 = '' ...
April 10, 2002 at 8:03 am
Check The Replinfo field in sysobjects for the object in question. It should be 0 if the object is not replicated
Good Luck
April 4, 2002 at 6:26 pm
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...
April 4, 2002 at 6:23 pm
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
April 3, 2002 at 4:02 am
Merge uses a rowguid whose property is specifically set as ROWGUIDCOL ( vs uniqueidentifier ). Other RowGUIDs in the tables should have no affect on it.
April 3, 2002 at 3:56 am
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...
April 3, 2002 at 3:51 am
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...
April 3, 2002 at 3:43 am
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...
April 3, 2002 at 3:40 am
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...
April 3, 2002 at 3:28 am
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...
April 3, 2002 at 2:58 am
Viewing 15 posts - 1 through 15 (of 16 total)