SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 insert trigger value when the table is updated
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Resonance
Starting Member

1 Posts

Posted - 01/23/2013 :  22:57:39  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
2170 Posts

Posted - 01/24/2013 :  00:54:52  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000