Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: Christian Tabligan
  Where is Christian Tabligan?
 Bacolod City, Neg. Occ.
 Philippines
 Christian Tabligan
 Tags
Subject: RE: order by deleted()
Thread ID: 268652 Message ID: 268975 # Views: 25 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: VFP and .NET
Date: Thursday, July 15, 2010 6:50:28 PM         
   


> >
> > I'm not sure you understand me. I suggest using a datetime field called inactive. When the record is inactive, you know from this date field that it is inactive and when it became inactive.
>
> I am assuming that the database is MsSql. Is there a mark for deletion in MsSQL? :-)
>
> Best Regards,
>
> CriZ (,")
>
> "Happiness is real when shared."

No. There is no deletion mark in SQL. I used a datetime field for that too. I do not use a character status field "DELETED" and a datetime field to show when the status changed. 1 field does both jobs.

Mike Yearwood
Microsoft MVP Visual FoxPro 2008, 2009
We have enough youth. We need a fountain of smart!
There may be many ways to skin a cat, but there are very few right ways to do it.

ENTIRE THREAD

order by deleted() Posted by Adam Walan @ 7/13/2010 7:19:47 PM
RE: order by deleted() Posted by Yousfi Benameur @ 7/13/2010 7:40:57 PM
RE: order by deleted() Posted by Adam Walan @ 7/13/2010 7:55:29 PM
RE: order by deleted() Posted by Mike Yearwood @ 7/13/2010 10:21:48 PM
RE: order by deleted() Posted by Christian Tabligan @ 7/14/2010 7:12:26 AM
RE: order by deleted() Posted by Mike Yearwood @ 7/14/2010 7:40:53 PM
RE: order by deleted() Posted by Christian Tabligan @ 7/15/2010 2:01:50 AM
RE: order by deleted() Posted by Mike Yearwood @ 7/15/2010 7:05:59 AM
RE: order by deleted() Posted by Christian Tabligan @ 7/15/2010 7:48:55 AM
RE: order by deleted() Posted by Mike Yearwood @ 7/15/2010 6:50:28 PM