aspose file tools*
The moose likes JDBC 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
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: 30780
    
157

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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: 61437
    
  67

Moving to the JDBC forum.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to automatically delete a member from database