Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DB2 and dates
Message
 
To
05/03/1999 08:53:11
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00194256
Message ID:
00194536
Views:
24
I'm using DB2 universal db for NT to test but the live system will be in a RISC box.
If I understand you correctly, I should define the date fields in db2 as text. Does that mean I have to define them that way in vfp?
Just some background:
I am receiving EDI transactions inbound through vfp system and loading into vfp databases for processing. At the end of the process I want to take all newly received records and bulk add them to the db2 tables. I would love to use append or if needed, a line by line Insert Sql command. I would hate to have to hardcode date to string conversions for specific fields if possible to avoid changing the code if a data field is added.
Also defining date fields on the either side as text would have a negative effect on my processing. After the records are in db2 I have some vfp reporting functions accessing the records by date range.

I appreciate any input you can give on this.
-----------------------------------------------------------
Greg Wasserman
EDI Options, Inc.
55 Herricks Road
Garden City Park, NY 11040
---------------------------
v: (516) 741-2032
f: (516) 294-3367
greg@edioptions.com
www.edioptions.com
-----------------------------------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform