ExecuteScalar returns TimeSpan for Interval
Posted: Thu 30 Jun 2005 13:13
I ran this:
Cmd.CommandText="select cast('1 year' as interval)";
object o=Cmd.ExecuteScalar();
The debugger shows that o contains a TimeSpan, so the year component goes away. This should return PgSqlInterval, shouldn't it?
Cmd.CommandText="select cast('1 year' as interval)";
object o=Cmd.ExecuteScalar();
The debugger shows that o contains a TimeSpan, so the year component goes away. This should return PgSqlInterval, shouldn't it?