Quantcast
Channel: Answers for "how to update column name by using row value of another table row is updated"
Browsing index pages (4 articles)
↧

Answer by john123

ALTER TRIGGER [dbo].[UpdateRow] ON [dbo].[MainTable] FOR UPDATE AS DECLARE @OldName NVARCHAR(20) DECLARE @NewName NVARCHAR(20) DECLARE @String NVARCHAR(100) DECLARE @Combine NVARCHAR(100) SET...

View Article


Answer by ThomasRushton

Dude, what? You want an INSERT statement to fire a trigger to create a new column on a different table? And to force that to be of type MONEY? And only on a single table / single columname? This reeks...

View Article


Answer by john123

ALTER TRIGGER [dbo].[UpdateRow] ON [dbo].[MainTable] FOR UPDATE AS DECLARE @OldName NVARCHAR(20) DECLARE @NewName NVARCHAR(20) DECLARE @String NVARCHAR(100) DECLARE @Combine NVARCHAR(100) SET...

View Article

Answer by ThomasRushton

Dude, what? You want an INSERT statement to fire a trigger to create a new column on a different table? And to force that to be of type MONEY? And only on a single table / single columname? This reeks...

View Article
Browsing index pages (4 articles)


Latest Images