Genxml

From PTAGISWiki

Jump to: navigation, search

Extract XML from Ingres using the genxml command

From sockeye, it is possible to extract a table into an xml file using a command like this:

genxml ptagis3 rkm -upittag

where:

  • ptagis3 = database name ptagis3
  • rkm = table name rkm
  • -upittag = log into Ingres as user pittag

The output includes metadata about the field definitions and a series of rows. The row output looks like this:

23-jun-1998 00:00:00

Three Links Creek
                                                          
     
3LINKC
R
]^NULL^[
522.224.120.037.051    
954
17060302
PER EWB / ALAN
BYRNE
Personal tools