General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2005
>>>Do you want to have a trigger firing when a new column is added?
>>Yes
>> In SQL Server 2005 you need to look at DDL triggers.
>>Why?
>>
>>Viv
>>
>>
>Why not? DDL triggers are supposed to fire when the structure changes - looks like your case.
No - structure doesn't change. It's just an INSERT into the ProductFileColumns table.
When that happens I need to add a record in ProductFileData for each existing row using the Id of the newly inserted column.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only