Skip to content

Instantly share code, notes, and snippets.

@simonqian
Last active November 1, 2016 01:27
Show Gist options
  • Save simonqian/4d04b2f1c5862d29814425fb66447d51 to your computer and use it in GitHub Desktop.
Save simonqian/4d04b2f1c5862d29814425fb66447d51 to your computer and use it in GitHub Desktop.
# 1. value-is-date
update ad_bids set bid_end_time = to_date('2016/10/31 16:00:00', 'yyyy/mm/dd hh24:mi:ss') where id = 10200;
# 2. string-include-&
# update url = http://a.10086.cn/pams2/linkUrl.jsp?j=d&p=72&c=9536&r=28785646&src=5210297653
update default_ad_cate set url='http://a.10086.cn/pams2/linkUrl.jsp?j=d&'||'p=72&'||'c=9536&'||'r=28785646&'||'src=5210297653' where ad_schedule_id=10482;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment