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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 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
2241 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  
 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.16 seconds. Powered By: Snitz Forums 2000