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

推荐订阅源

Y
Y Combinator Blog
IT之家
IT之家
博客园_首页
量子位
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 聂微东
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

博客园 - 番茄鸡蛋面

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了,能正常工作,可是客户那里不允许我这样做。
而且我也想知道原因。

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