日期:2014-05-17 浏览次数:21111 次
select * from v$version;
Oracle Database 10g Release 10.1.0.2.0 - Production
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
create table t1(id1 nvarchar(30));
提示缺失右括号
create table t(id nvarchar2(30));
insert into t values('00107189084509445793');
select id from t where id=00107189084509445793;
输出:
ID
00107189084509445793
------解决方案--------------------
使用varchar2(100)肯定正确
------解决方案--------------------
你如果是varchar字符类型,那你用
select sscc from table sscc='0010718908450944579'试试。