Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 insert trigger value when the table is updated

Author  Topic 

Resonance
Starting Member

1 Post

Posted - 2013-01-23 : 22:57:39
Hello. I need to create a trigger, I can not understand how to implement it, please help.
The problem: When updating the table if the record TestNews Image column is NULL, then inserts the value from the table column News PastImage.
It should be made to insert a default image instead of the red cross in IE in case the image is not in the database

bandi
Master Smack Fu Yak Hacker

2242 Posts

Posted - 2013-01-24 : 00:54:52
Once refer this link.....
http://www.codeproject.com/Tips/519688/How-to-set-Default-Value-or-Binding-for-BLOB-DataT

--
Chandu
Go to Top of Page
   

- Advertisement -