This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes how to automatically delete a member from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "how to automatically delete a member from database " Watch "how to automatically delete a member from database " New topic
Author

how to automatically delete a member from database

Murasoli Maran
Ranch Hand

Joined: Jun 08, 2003
Posts: 193
Hi all,
i have to delete members who join the website NOT making a purchase within 4 days.how can achieve the task?
may i use JSP for it or database trigger?.anybody having any pattern?.
anybody experienced plz suggest
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Murasoli,
A database trigger is well suited for this task. You could have it run regularly (for example, every night) and delete the members you specified.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Murasoli Maran
Ranch Hand

Joined: Jun 08, 2003
Posts: 193
thank u Jeanne.good advice from u.i decided to use trigger.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63202
    
  69

Moving to the JDBC forum.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: how to automatically delete a member from database
 
jQuery in Action, 3rd edition