notify when update / insert


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: notify when update / insert

  1. #1
    Join Date
    Mar 2008
    Posts
    164

    notify when update / insert

    hi,
    there is any way to a bd notify the user by creat a file or send a e-mail or even connect to a ip and send a message when any record is changed ( update/insert/delete)
    i have seen a event called triger but i donīt know if is that what i want and i think this event canīt do what i need.
    any one can help me?
    thanks a lot

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    How is the UPDATE being done?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Feb 2004
    Location
    Longueuil, Québec
    Posts
    577
    It depends on the database you are using. SQL Server has provisions for such things, while Access does not.

    If you are using SQL Server, a trigger could probably be used, but it might be hard to code, since triggers are typically SQL commands that you want to execute after an operation.

    I know that you can set a way to send a message from operations on an SQL Server database (at least in the 2005 version), because it was part of the design of a database I worked on recently. But that type of operation was handled by the DBA, not by the programmer (me).

    If you are the DBA, look up Books Online for "notification". Otherwise, ask your DBA.
    Jacques Bourgeois
    JBFI
    http://www3.sympatico.ca/jbfi/homeus.htm

Similar Threads

  1. SQL Help
    By carbon_13 in forum Database
    Replies: 14
    Last Post: 03-14-2008, 05:03 PM
  2. DetailsView (Insert, Update & Delete)
    By azeem in forum ASP.NET
    Replies: 0
    Last Post: 10-25-2006, 10:59 AM
  3. how to clone database using mysql
    By zarien in forum Database
    Replies: 1
    Last Post: 05-17-2006, 04:27 AM
  4. Replies: 1
    Last Post: 07-17-2003, 12:36 PM
  5. SQL Tutorial (Answer Q's & post your reply)
    By bigbastard4 in forum Database
    Replies: 2
    Last Post: 05-16-2001, 07:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center