weidagang2046的專欄

          物格而后知致
          隨筆 - 8, 文章 - 409, 評論 - 101, 引用 - 0

          導航

          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          常用鏈接

          留言簿(12)

          隨筆檔案(8)

          文章分類(421)

          文章檔案(409)

          相冊

          Link

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          linux下postgresql數據庫中漢字的插入

          首先用postgresql的用戶登陸,(su - postgres) ,然后進入數據庫,假設數據庫名稱為“house”,命令為

          [postgres@ITC-S postgres]$ psql house
          Welcome to psql 8.0.1, the PostgreSQL interactive terminal.

          Type:? copyright for distribution terms
           ?????? h for help with SQL commands
           ?????? ? for help with psql commands
           ?????? g or terminate with semicolon to execute query
           ?????? q to quit
          house=#
          輸入encoding GBK
          house=#set encoding GBK
          然后就可以插入漢字了。

          from: http://publish.it168.com/2006/0219/20060219173801.shtml?positioncode=1547

          posted on 2006-12-03 19:55 weidagang2046 閱讀(682) 評論(0)  編輯  收藏 所屬分類: Database

          主站蜘蛛池模板: 从江县| 赣榆县| 张家口市| 富川| 内黄县| 新密市| 黄石市| 太谷县| 郯城县| 叶城县| 密山市| 瓮安县| 吴桥县| 宜兴市| 新巴尔虎右旗| 土默特右旗| 剑阁县| 洛隆县| 兴城市| 离岛区| 青神县| 竹溪县| 新干县| 塘沽区| 永德县| 思南县| 镇江市| 达日县| 新干县| 泊头市| 昭觉县| 前郭尔| 孝感市| 凤翔县| 缙云县| 清丰县| 东乌珠穆沁旗| 太仓市| 古田县| 天全县| 石屏县|