hi, since i have exactly the same problem as bellavec, i will post my last error report
i tried with a database of lot of hands and a database with very few, there's no difference
OS: Microsoft Windows NT 5.1.2600 Service Pack 3 .NET Runtime: 2.0.50727.1433 RAM: 2GB Processors: 2 CPU: x86 Family 15 Model 35 Stepping 2: 0/32/2, 2300 Software version: 0.60 (10) 18:38:41.09 -- Logfile cleared: C:\Documents and Settings\NexAlp\Local Settings\Application Data\PokerStrategy\Elephant\log.txt (10) 18:39:10.98 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.10 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.23 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.25 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.39 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.39 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.53 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.53 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.67 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.67 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.81 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.81 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:11.95 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:11.95 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.14 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.17 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.37 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.37 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.53 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.53 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.67 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.68 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.82 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.82 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:12.95 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:12.96 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.10 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.10 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.25 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.25 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.39 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.39 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.53 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.53 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.68 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.68 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.84 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.84 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:13.98 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:13.98 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:14.12 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:14.12 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:14.26 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:14.26 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:14.42 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:14.42 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:14.56 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:14.56 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:14.70 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly>='2008-10-01' AND g.dateonly<='2008-10-31' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-01 0.00.0' AND g.dateandtime<='2008-10-31 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:14.70 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-01 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:16.26 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly='2008-10-09' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-09 0.00.0' AND g.dateandtime<='2008-10-09 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:16.28 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-09 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery) (10) 18:39:40.14 -- SELECT COUNT(DISTINCT(g.game_ID)) AS total_hands, MAX(g.dateandtime) , '1', '1', SUM(gp.amount_won), SUM(CASE WHEN t.big_blind>0 THEN (gp.amount_won/t.big_blind) ELSE 0 END) AS bb_won FROM gametype t, game g, gameplayer gp, sorted_cards sc WHERE g.game_type_ID=t.game_type_ID AND g.game_ID=gp.game_ID AND gp.player_ID IN(3) AND NOT(t.currency='CHP') AND g.dateonly='2008-10-09' AND g.limit_type IN('NL','PL') AND g.tournament_ID='0' AND gp.combined=sc.combined AND sc.active='true' AND gp.position_short<>'Unknown' AND gp.num_actions>0 AND g.dateandtime>='2008-10-09 0.00.0' AND g.dateandtime<='2008-10-09 23.59.59' GROUP BY g.game_ID ORDER BY MAX(g.dateandtime) DESC (10) 18:39:40.14 -- , line 0: Npgsql.NpgsqlException: (10) invalid input syntax for type timestamp: "2008-10-09 0.00.0" (10) Severity: ERROR (10) Code: 22007 (10) at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() (10) at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() (10) at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() (10) at Npgsql.ForwardsOnlyDataReader.NextResult() (10) at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) (10) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) (10) at Npgsql.NpgsqlCommand.ExecuteReader() (10) at PBN.Database.PostgreSQL.ExecuteQuery(String in_sQuery)