dbTalk Databases Forums  

[Info-Ingres] genxml and unicode types

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] genxml and unicode types in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin Bowes
 
Posts: n/a

Default [Info-Ingres] genxml and unicode types - 12-12-2008 , 08:05 AM






Hi All,



One of my programmers just showed me this. It appears genxml does not
recognise the unicode types and prepares them as 'UNKNOWN'.



Do as follows:



1. createdb -i bowtest



2. sql bowtest << SQL_END

create table fubar (foo nchar(20),garp nvarchar(50),parp long
nvarchar);\p\g

commit;\g

\q

SQL_END



3. genxml -metadata_only -xmlfile=fubar.xml bowtest fubar



4. egrep "column_name|column_type" fubar.xml

If the problem exists you'll see them described as type
UNKNOWN.



5. destroydb bowtest

rm -f fubar.xml



We've found that this is pretty wide spread.



Martin Bowes



PS. Mike Leo...if you have a bad back, have you been doing your
deadlifts?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.