[fdo-trac] #499: ODBC: Support non-double SQL Server columns

FDO trac_fdo at osgeo.org
Mon Apr 6 19:27:08 EDT 2009


#499: ODBC: Support non-double SQL Server columns
-----------------------------+----------------------------------------------
   Reporter:  brentrobinson  |       Owner:  brentrobinson                          
       Type:  defect         |      Status:  new                                    
   Priority:  major          |   Milestone:  3.5.0                                  
  Component:  ODBC Provider  |     Version:  3.5.0                                  
   Severity:  2              |    Keywords:  ODBC SQL Server insert geometry decimal
External_id:                 |  
-----------------------------+----------------------------------------------
 Steps to reproduce:
 * In SQL Server, create a table with a primary key column
 * Add columns X and Y defined as decimal(16,6)
 * Connect to the database containing the table, via the ODBC Provider
 * Using the FdoIInsert command, create a new feature with X and Y
 oordinates with
   more than 6 digits precision, e.g. ( 10.12345678, 11.12345678 )
 When executing the insert command, an exception with the following message
 will be thrown:

 String data, right truncation

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/499>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list