I've got this bit of SQl to create a Paradox table that goes:
, which does what I want except that the Game field gets created as a Date field, when in fact I want it to be a TimeStamp.
So, I want either a way to change my CREATE so that it creates the timestamp field that I want, or I want someone to tell me that as far as my app is concerned, it won't be able to tell the difference between the two field types, and I can mix legacy tables with TimeStamps and new tables with Date fields, and nothing will go horribly horribly wrong. -- Doug Burbidge mailto:dougburbidge@yahoo.com
Code:
DM.LeagueDatabase.Execute('CREATE TABLE ' + TableName + '(' +
'ID VARCHAR(8), ' +
'Game DATE, ' +
'(plus a bunch of other fields) ' +
'PRIMARY KEY (ID, Game) )', nil, False, nil);
So, I want either a way to change my CREATE so that it creates the timestamp field that I want, or I want someone to tell me that as far as my app is concerned, it won't be able to tell the difference between the two field types, and I can mix legacy tables with TimeStamps and new tables with Date fields, and nothing will go horribly horribly wrong. -- Doug Burbidge mailto:dougburbidge@yahoo.com