Viewing 15 posts - 16 through 30 (of 38 total)
Make sure that the logon account for the SQLServerAgent on the Publisher has access to the subscriber database.
Mark
February 16, 2006 at 3:05 pm
Try this:
Select sum(CS_SHPCHG) As FreightCost
From CS_Package p,
(
Select distinct B.PackingSlipID from CustInvoiceTrans A
Inner Join CustPackingSlipTrans B ON A.InventTransID=B.InventTransID
And A.ItemID=B.ItemID And A.SalesID=B.SalesID
Where A.InvoiceID like...
December 23, 2005 at 10:40 am
You will get that error if there is no '-' in TYPE. You can get around that by doing a check first.
SELECT
CASE CHARINDEX('-',type)
WHEN 0 THEN ''
...
December 21, 2005 at 3:32 pm
Try
SELECT RIGHT(Type,CHARINDEX('-',REVERSE(Type))-1)
Mark
December 21, 2005 at 9:40 am
From Frank Kalis' post on July 20:
"D and E are used in Fortran to represent FLOATs in scientific notation. SQL Server internally uses C routines for ISNUMERIC that follow these...
December 12, 2005 at 1:09 pm
In Enterprise Manager, Expand the replication folder and publications folder on the publisher. Right click on the publication and select properties. On the Subscription Options tab uncheck the "allow Anonymous Subscriptions"...
November 30, 2005 at 12:11 pm
How did you remove replication?
sp_removedbreplication <dbname> should remove all of the replication objects from the database.
Mark
November 23, 2005 at 3:33 pm
Sounds strange. Does that same column replicate from the publisher to the subscriber successfully?
I assume you have checked the column filters to make sure that column is not being filtered accidentally. ...
October 27, 2005 at 8:56 am
Check the Server setting properties on the publishing and subscribing servers and make sure the "Allow triggers to fired that fire other triggers (Nested triggers)" is enabled.
We had a case...
October 26, 2005 at 11:20 am
Farrel,
You have a typo in your example of my query. Try the query below. It will give the same results as the *= and your query.
SELECT t1.id1, t1.data1, t2.data2
FROM(...
October 26, 2005 at 11:10 am
Are there any triggers on that table other than the replication triggers?
Mark
October 25, 2005 at 5:35 pm
The reason it returned the results it did was because (again using your first example) the optimizer applied the "WHERE t2.data=2" and "WHERE t1.data=5" before doing the join. As in my previous message the syntax below...
October 25, 2005 at 5:02 pm
Using your first sample data:
SELECT t2.data,t2.id, t1.data
from (SELECT id, data FROM table2 WHERE data = 2) t2 left outer join
(SELECT id, data FROM table1 WHERE data = 5) t1...
October 25, 2005 at 4:08 pm
SELECT t2.data,t2.id,t1.data
from table2 t2 left outer join table1 t1
on t1.id=t2.id
where t2.data=2 and t1.data=5
October 25, 2005 at 3:12 pm
Viewing 15 posts - 16 through 30 (of 38 total)