Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add Date/Time stamp to tables in dbc.
Message
 
To
09/03/1999 20:49:37
Susan Giddings
Aar Engine Component Services
Windsor, Connecticut, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00195409
Message ID:
00406038
Views:
25
One thing that I'm doing on a current project (where the data store is Oracle and MSSQL7) is adding these columns to every table -

creation_dt datetime
last_update_dt datetime
deletion_dt datetime
logically_deleted_yn c(1) (index on this column)
created_by_user_id n(16)
last_updated_by_user_id n(16) (index on this column)
deleted_by_user_id n(16)


Using a column for deleted records instead of the VFP engine's deleted() flag should let you use Erik's timestamp idea/code in a record-validation rule since as far as VFP is concerned, the record isn't truly "deleted" so the rule should always fire. I have also been told by more than a few DBAs that having the above columns is "the standard", so it should make cross VFP-RDBMS projects smoother for you in the future.
Previous
Reply
Map
View

Click here to load this message in the networking platform