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
 General SQL Server Forums
 New to SQL Server Programming
 check if table's data into db are changed

Author  Topic 

gbattine
Starting Member

1 Post

Posted - 2009-10-28 : 11:16:36
Dear All,
I'm newbie of sql server programming.
I need to perform such activity.
I've a crm (sugarcrm) and an erp on same server. Both runs under sql server. I need to schedule one operation that:
-during night or at a specific time checks if on a table of erp (sql server db) something is changed after a specific time.
-if something changed align (that is insert same data) into crm table (sql server db).

My question is about point 1..how is possible to interrogate a table and know if something is happened/changed on it after a specific time (for example, after 14.00). And in that case..how retrieve new entered data?
I hope my problem is clear..if you have any doubt please ask me..

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-10-28 : 11:42:15
Read about triggers in BOL.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -