I have .mdb Database, with sample data:
GameIndx|GameDate |PlayerID|Duration|Score|
--------|-------------------|--------|--------|-----|
1|2016-01-11 00:00:00|SM004 | 455| 2200|
2|2016-01-12 00:00:00|SM004 | 241| 1952|
3|2016-01-12 00:00:00|SV007 | 381| 1280|
4|2016-01-12 00:00:00|LK001 | 372| 5237|
To run a SELECT to match a certain GameDate:
SQL := 'SELECT GameIndx, GameDate from tblGames where GameDate=#2016/01/11#';
This statement works inside of Delphi, and returns the correct column. To my understanding this is not SQL syntax: Is there any documentation for Delphi regarding the accepted syntax for dates?
GameDate=#2016/01/11#