|
Posted by bsandell on 01/11/06 00:11
Hi Hugo,
Thanks, I am using the -h "FIRE TRIGGERS". The trigger is definitely
being executed. I have added the following line to my trigger code -
SELECT inserted.* into pubs..dummy from inserted
My input file looks like this -
aaa,aaa,aaa
bbb,bbb,bbb
ccc,ccc,ccc
but when the code above runs in my trigger, the output is -
NULL,aaa,aaa
NULL,bbb,bbb
NULL,ccc,ccc
so it looks like bcp has somehow determined that the first column in my
view does not have a 1-to-1 mapping with a column on the database
(because it's based on a udf) and set it to null? I'd like to find a
way to work around this if possible, without changing the view
definition or the underlying table.
Any ideas?
Thanks,
Bruce
Navigation:
[Reply to this message]
|