- 论坛徽章:
- 0
|
我的测试记录
Script command is started on Wed Nov 21 13:53:56 BEIST 2007.
/tmp>cat | dbaccess xdbtest
Database selected.
select * from xyz;
x
aa
bb
xyz
x
y
4 row(s) retrieved.
select * from xyz where x matches '*
*';
282: Found a quote for which there is no matching quote.
Error in line 1
Near character position 35
------ pay attention to this setting !!!!
execute procedure ifx_allow_newline('t');
Routine executed.
select * from xyz where x matches '*
*';
x
aa
bb
x
y
3 row(s) retrieved.
select * from xyz where x not matches '*
*';
x
xyz
1 row(s) retrieved.
select * from xyz where x like '%
%';
x
aa
bb
x
y
3 row(s) retrieved.
select * from xyz where x not like '%
%';
x
xyz
1 row(s) retrieved.
select count(*) from xyz where x matches '*
*';
(count(*))
3
1 row(s) retrieved.
select count(*) from xyz where x not like '%
%';
(count(*))
1
1 row(s) retrieved.
select count(*) from xyz;
(count(*))
4
1 row(s) retrieved.
select first 1 dbinfo ('version', 'full') from systables;
(constant)
Informix Dynamic Server Version 9.30.F
1 row(s) retrieved.
!uname -a
AIX p6701l1 2 5 0032EC4C4C00
!onstat -
Informix Dynamic Server Version 9.30.FC3 -- On-Line -- Up 17 days 09:38:33 -- 246544 Kbytes
^D
Database closed.
/tmp>
Script command is complete on Wed Nov 21 14:03:57 BEIST 2007.
[ 本帖最后由 ivhb 于 2007-11-21 14:20 编辑 ] |
|