Provider fails with SQL error code -804 when using parameter before IN-statement --------------------------------------------------------------------------------
Key: DNET-262 URL: http://tracker.firebirdsql.org/browse/DNET-262 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.1.0 Reporter: Anders Jensen Assignee: Jiri Cincura Priority: Minor The following query fails: select u.* from users u where @num in (select r.group from rel_users_groups r where r.user=u.id) Where @num is integer added through FbCommand.Parameter.AddWithValue (Or just .Add) With: SQL error code = -804 Data type unknown -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider