• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
小折腾
博客园    首页    新随笔    联系   管理    订阅  订阅
2011年11月23日
insert only when not exists (USE TABLE DUAL)
摘要: insert into geo_city(ID, GEONAMES_ID, NAME, COUNTRY_CODE, MODIFICATION_DATE) select GEO_CITY_SEQUENCE.nextval,'TSITT104IT',' Santomato-Pistoia PT ','IT',to_date('2011-11-23','yyyy-mm-dd') FROM DUAL WHERE NOT EXISTS( SELECT * FROM geo_city WHERE GEONAMES_ID = & 阅读全文
posted @ 2011-11-23 18:49 小折腾 阅读(385) 评论(0) 推荐(0)
escape special characters in oracle
摘要: http://docs.oracle.com/cd/B10500_01/text.920/a96518/cqspcl.htmhttps://forums.oracle.com/forums/thread.jspa?threadID=466604SET ESCAPE ON;Escape CharactersTo query on words or symbols that have special meaning to query expressions such as and & or| accum, you must escape them. There are two ways t 阅读全文
posted @ 2011-11-23 18:31 小折腾 阅读(467) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3