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

推荐订阅源

T
The Blog of Author Tim Ferriss
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
有赞技术团队
有赞技术团队
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
博客园_首页
Y
Y Combinator Blog
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
雷峰网
雷峰网
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Help Net Security
P
Proofpoint News Feed
B
Blog
云风的 BLOG
云风的 BLOG
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

博客园 - 番茄鸡蛋面

VS .NET add web reference Dynamic Link Library DLL COM Vs .NET (Qt ActiveQt) 复习进程和线程 process vs thread Window Firewall cause "MS SQL Server New SQL Server Registeration" and "New ODBC DSN " failure 牛人与非牛人的对话 - 番茄鸡蛋面 - 博客园 Web Accessibility toolbar -- a must-have toolbar for web developer 好好学习天天向上 Oracle - MSSQL Convert Tips (2) .NET 数据访问体系结构指南 NET Framework Data Providers Links or Postbacks ASP.NET features we use, ASP.NET experience I have Word Note 001 Skype 0.98.0.28 release! I can't agree more Skype Skype Skpe Getting Your Résumé Read 在行进中开火 Fire and Motion By Joel Spolsky
Oracle table problem
番茄鸡蛋面 · 2004-07-04 · via 博客园 - 番茄鸡蛋面

最近遇到一个奇怪的Oracle问题:
Oracle 数据库里面有一个表,在查询表的varchar2类型的column时总是查找不到正常的结果,查询其他类型的column可以返回正常结果。简化的例子如下
ID 列的类型为  number
NAME 列的类型为varchar2(10)
里面的数据如下:(1 ,'94'), (2,'94'), (3,'testname')

select * from TestTable where id=1  能返回正常结果
select * from TestTable where name='94' 返回 no rows select
select * from TestTable where name='testname' 能返回正常结果
奇怪的是select * from TestTable where name=94 能返回正常结果

而且和这个表varchar2列相关联的view也不能返回正常结果。
这个数据库的其他表查询正常。

实在无奈drop了这个table, 又重新create了,能正常工作,可是客户那里不允许我这样做。
而且我也想知道原因。

哪位朋友能给指点指点,谢谢!