# Display the spatial data held in an Oracle database
# in a PostScript file.
newpage "eps", "tutorialdatasets7.eps", 85, 85
worlds 0, 0, 20, 20

let sql = "select C.Shape.Get_WKB() AS WKB \
  from COLA_MARKETS C where C.Name<>'cola_d'"

dataset "jdbc", sql, "driver=oracle.jdbc.OracleDriver \
  url=jdbc:oracle:oci:@DEMO user=system password=manager"

while Mapyrus.fetch.more
do
  fetch
  clearpath
  addpath WKB
  stroke
done
