Reply to Re: BCP error - missing data

Your name:

Reply:


Posted by Erland Sommarskog on 01/31/07 22:49

(danceli@gmail.com) writes:
> On table Eventlog, there are missing data.

But it was the EventLog table you had the trigger on? If data is
missing in EventLog what has the trigger or the BCP stuff to do with it?

> sorry, i didn't clearly explain it. i did set the UpdataPass:
>
> CREATE TABLE [EventLogUpdate] (
> [id] [int] NOT NULL ,
> [eventid] [int] NOT NULL ,
> [sequenceid] [int] NOT NULL ,
> [UpdatePass] [int] NULL
> ) ON [PRIMARY]
> GO
> create trigger trgEventUpdate on EventLog For Insert,Update as
> insert into EventLogUpdate (id,eventid,sequenceid) select ins.id,
> ins.eventid,ins.sequenceid from inserted ins
> GO

I still can't see any update of UpdatePass?

It's your call. If you don't want to explain what you are doing, that
is alright. But unfortunately it is difficult to answer your questions
in this case.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация