惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - Robert Lee

意寥寥 Visual Studio 2010 RC Uninstallation Instructions / Visual Studio 2010 RC 卸载说明 浅谈会议记录的书写 硬盘分区丢失事件带来的思考 Windows7问题集 向iGoogle中添加Google日历及其他小工具 Windows7下安装Visual Studio 2008中文版及SP1 SQL Server 2008 安装示例数据库小记 Silverlight Tools Beta2更新了中文语言支持 VS2005智能设备项目的Bug:"The OutputPath property is not set for this project..." Update or renew ComponentOne license Prism发布了第一个版本+Entlib3.1在VS2008下工作的解决方案 分享C# 3.0两本电子书 Visual.Studio.Team.System.2008.Team.Suite-ZWTiSO(Tested) 项目管理培训资料(第一讲+第二讲,持续更新中.....) RapidShare的下载方法 ipmsg 绑定tcp错误 - Robert Lee IIS无法启动——郁闷的KB939373补丁 Oracle中的Union、Union All、Intersect、Minus
PLSQL中的&字符处理
Robert Lee · 2007-09-22 · via 博客园 - Robert Lee

以前碰到过这个问题,后来忘了>_<

这次正好同事遇到这个问题,记录一篇日志备忘。

问题很容易描述,就是在SQL语句中的字符串中出现了&符号,当执行的时候会被认为是参数需要传递,如update product set brand = 'D&G';

解决办法是把语句改为:update product set brand = 'D' || '&' || 'G';

或者是:update product set brand = 'D' || chr(38) || 'G';

Live Writer真的很方便啊,以前想记录点什么东西总觉得通过web发布很麻烦,现在没有偷懒的理由了。