Viewing 15 posts - 76 through 90 (of 100 total)
Check if you have the "NOT FOR REPLICATION" option set for the trigger. If this is set, then the trigger will not fire when the replication agent inserts/updates/deletes rows.
...
October 30, 2002 at 2:27 pm
You need to be connected to the server you wish to enable replication on, and have selected that server (or a sub-component of it) in the tree.
October 29, 2002 at 8:18 pm
All you need is Convert(varchar(10),PartsDueBy,101)
Jay
September 30, 2002 at 9:39 am
Use the virtual tables named "inserted" and "deleted" to examine the before and after values of columns within a trigger. See "inserted tables" or "deleted tables" in BOL for...
September 27, 2002 at 7:11 am
There's two reasons why line numbers won't do you any good. One is as Greg stated: if you have batches (GO) in your code, the line number given in...
August 22, 2002 at 3:22 pm
The "AFTER" and "INSTEAD OF" syntax is new in SQL2000, they won't work on SQL7.
Jay
August 21, 2002 at 1:20 pm
You can return any column value as a result from the case statement, just like you're doing constants now. For example,
Select col1, case when <some boolean condition>
then
...
July 29, 2002 at 5:48 am
You can nest case structures. Here's my previous example ammended to handle the 00 day:
create table test (
textdate char(6) NULL,
realdate smalldatetime NULL
)
insert test (textdate) values ('10898') -- Jan 8,...
July 26, 2002 at 3:27 pm
You don't need to use convert if you create a string correctly formatted to your default date format setting, and then assign it directly to the datetime column.
Here's an example,...
July 26, 2002 at 2:02 pm
I'll bet your table consists of more than 8 columns, doesn't it? I first reported this as a bug back with MSSQL7, but when MSSQL2000 came out, it turned...
July 24, 2002 at 6:59 am
Actually, IIf is an "Inline If", which is used within a Select statement, not a standalone "If". The T-SQL equivalent of IIf is the Case statement - the Searched...
June 28, 2002 at 9:54 pm
It means that a clustered index is not a good idea on columns that change value frequently. Other columns not in the clustered index can change values as often...
June 20, 2002 at 6:47 am
Sorry about the duplicate posts. My mouse finger got a little trigger happy. (-;
June 19, 2002 at 6:57 am
I have merge replication running on 25 MSDE systems (2.0 or 2000 version), synchronizing with one central publisher. It works great. Performance is fine, but these are all...
June 19, 2002 at 6:52 am
I'm doing what you're describing, but with merge replication. But I think it would work the same. I use sp_addpublication_snapshot to create the snapshot agent for my merge...
March 2, 2002 at 12:06 pm
Viewing 15 posts - 76 through 90 (of 100 total)