<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>FDOPostGIS 3.4L AutoCAD Map 3d 2010 Data Connection to features with numberstring as a fieldname does not work</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Dear List,</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">BEGIN;</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">CREATE TABLE &quot;blocktest2&quot; (gid serial PRIMARY KEY,</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;blockname&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;layer&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;rotation&quot; numeric,</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;3&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;u&quot; varchar(255));</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">SELECT AddGeometryColumn('','blocktest2','the_geom','-1','POINT',2);</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">INSERT INTO &quot;blocktest2&quot; (&quot;blockname&quot;,&quot;layer&quot;,&quot;rotation&quot;,&quot;3&quot;,&quot;u&quot;,the_geom) VALUES ('GN1','GN','0.000000000000000','789',NULL,'0101000000FDA08A2C9FB3E3C0B9770762A8FA0E41');</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">INSERT INTO &quot;blocktest2&quot; (&quot;blockname&quot;,&quot;layer&quot;,&quot;rotation&quot;,&quot;3&quot;,&quot;u&quot;,the_geom) VALUES ('GN2','GN','0.000000000000000','2345','6','0101000000E54B15C275B3E3C053379F6D81F90E41');</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">END;</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">trying to add this postgis featureset to the map causes</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">the error messages below</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Storage of the objects in the Cache failed</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">The execution of the select command failed</FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">the fdo driver tries do select with following syntax</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">select &quot;public&quot;.&quot;blocktest2&quot;.3 from &quot;public&quot;.&quot;blocktest2&quot;;</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">the error message from postgres is</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">ERROR: syntax error at or near &quot;.3&quot;</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">SQL state: 42601</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Character: 29</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">select &quot;public&quot;.&quot;blocktest2&quot;.&quot;3&quot; from &quot;public&quot;.&quot;blocktest2&quot;;</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">would work in postgres</FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Karl</FONT></SPAN>
</P>
<BR>
<BR>

</BODY>
</HTML>