Changes between Version 1 and Version 2 of PostGreSQL


Ignore:
Timestamp:
Feb 17, 2011, 4:32:19 PM (13 years ago)
Author:
fknauft
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PostGreSQL

    v1 v2  
    22
    33* Editing Values in a complete Column:
     4
    45  update mpdl.songy_tiang_zh_1637 set source_link = overlay(source_link placing 'http://echo.mpiwg-berlin.mpg.de/ECHOdocuView' from 1 for 48)
     6
     7* Adding new Views:
     8
     9CREATE OR REPLACE VIEW tiangong_kaiwu_chap12_oilfat AS
     10 SELECT *  FROM mpdl.songy_tiang_zh_1637
     11  WHERE CAST(mpdl.songy_tiang_zh_1637.page AS numeric) >= 297 AND CAST(mpdl.songy_tiang_zh_1637.page AS numeric) <= 310;
     12
     13ALTER TABLE  tiangong_kaiwu_chap12_oilfat OWNER TO postgres;
     14
     15Insert into gis_table_meta_rows values
     16(DEFAULT,'tiangong_kaiwu_chap12_oilfat','gis_id_point','gis_id'),
     17(DEFAULT,'tiangong_kaiwu_chap12_oilfat','latitude','coord_lat'),
     18(DEFAULT,'tiangong_kaiwu_chap12_oilfat','longitude','coord_lon');
     19
     20Insert into gis_table_meta values
     21(DEFAULT,'postgres','mpdl','Song Yingxing: Tiangong Kaiwu, Chapt. 12, Oils and Fats','tiangong_kaiwu_chap12_oilfat','2011-02-17','2011-02-17');