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

推荐订阅源

博客园 - 聂微东
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
M
MIT News - Artificial intelligence
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
P
Proofpoint News Feed
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理

博客园 - 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发布很麻烦,现在没有偷懒的理由了。