Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

EntityDataSource date parameters with Teradata - topic by devylzangel

$
0
0
I am working on a web application in .NET Framework 4 (C#).  We are using the Entity Framework (v4) with a Teradata backend.  I am trying to set the where clause for an EntityDataSource so that a date column is equal to a specific value: .where = string.Format(@"it.Begin_Date = CAST('{0}' as date)", Convert.ToDateTime(txtSelectedBeginDate.Text).ToString()); This is throwing the following error: [Teradata Database] [5407] Invalid operation on an ANSI Datetime or Interval value.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>