⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 supersimple.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 2 页
字号:
ij> -- by default, holdability of ResultSet objects created using this Connection object is true. Following will set it to false for this connection.NoHoldForConnection;ij> create table a (a int);0 rows inserted/updated/deletedij> insert into a values (1);1 row inserted/updated/deletedij> select * from a;A          -----------1          ij> drop table a;0 rows inserted/updated/deletedij> create table b (si smallint,i int, bi bigint, r real, f float, d double precision, n5_2 numeric(5,2), dec10_3 decimal(10,3), ch20 char(20),vc varchar(20), lvc long varchar, blobCol blob(1000),  clobCol clob(1000));0 rows inserted/updated/deletedij> insert into b values(2,3,4,5.3,5.3,5.3,31.13,123456.123, 'one','one','one',cast(X'01ABCD' as blob(1000)),'one');1 row inserted/updated/deletedij> insert into b values(-32768,-2147483648, -9223372036854775808 ,1.2E-37, 2.225E-307, +2.225E-307,-56.12, -123456.123,'one','one','one', cast(X'01ABCD' as blob(1000)),'one');1 row inserted/updated/deletedij> insert into b values(null,null,null,null,null,null,null,null,null,null,null,null,null);1 row inserted/updated/deletedij> insert into b values(32767,2147483647, 9223372036854775807 ,1.4 , 3.4028235E38 ,3.4028235E38  ,999.99, 9999999.999,'one','one','one',cast(X'01ABCD' as blob(1000)), 'one');1 row inserted/updated/deletedij> select * from b;SI    |I          |BI                  |R            |F                     |D                     |N5_2    |DEC10_3      |CH20                |VC                  |LVC                                                                                                                             |BLOBCOL                                                                                                                         |CLOBCOL                                                                                                                         -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------2     |3          |4                   |5.3          |5.3                   |5.3                   |31.13   |123456.123   |one                 |one                 |one                                                                                                                             |01abcd                                                                                                                          |one                                                                                                                             -32768|-2147483648|-9223372036854775808|1.2E-37      |2.225E-307            |2.225E-307            |-56.12  |-123456.123  |one                 |one                 |one                                                                                                                             |01abcd                                                                                                                          |one                                                                                                                             NULL  |NULL       |NULL                |NULL         |NULL                  |NULL                  |NULL    |NULL         |NULL                |NULL                |NULL                                                                                                                            |NULL                                                                                                                            |NULL                                                                                                                            32767 |2147483647 |9223372036854775807 |1.4          |3.4028235E38          |3.4028235E38          |999.99  |9999999.999  |one                 |one                 |one                                                                                                                             |01abcd                                                                                                                          |one                                                                                                                             ij> drop table b;0 rows inserted/updated/deletedij> create table c (si smallint not null,i int not null , bi bigint not null, r real not null, f float not null, d double precision not null, n5_2 numeric(5,2) not null , dec10_3 decimal(10,3) not null, ch20 char(20) not null ,vc varchar(20) not null, lvc long varchar not null,  blobCol blob(1000) not null,  clobCol clob(1000) not null);0 rows inserted/updated/deletedij> insert into c values(2,3,4,5.3,5.3,5.3,31.13,123456.123, 'one','one','one', cast(X'01ABCD' as blob(1000)), 'one');1 row inserted/updated/deletedij> insert into c values(-32768,-2147483648, -9223372036854775808 ,1.2E-37, 2.225E-307, +2.225E-307,-56.12, -123456.123,'one','one','one', cast(X'01ABCD' as blob(1000)),'one');1 row inserted/updated/deletedij> select * from c;SI    |I          |BI                  |R            |F                     |D                     |N5_2    |DEC10_3      |CH20                |VC                  |LVC                                                                                                                             |BLOBCOL                                                                                                                         |CLOBCOL                                                                                                                         -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------2     |3          |4                   |5.3          |5.3                   |5.3                   |31.13   |123456.123   |one                 |one                 |one                                                                                                                             |01abcd                                                                                                                          |one                                                                                                                             -32768|-2147483648|-9223372036854775808|1.2E-37      |2.225E-307            |2.225E-307            |-56.12  |-123456.123  |one                 |one                 |one                                                                                                                             |01abcd                                                                                                                          |one                                                                                                                             ij> values(10);1          -----------10         ij> values('hello');1    -----helloij> values(1.2);1    -----1.2  ij> drop table c;0 rows inserted/updated/deletedij> -- bug 4430 aliasinfo nullability problemselect aliasinfo from sys.sysaliases where aliasinfo is null;ALIASINFO      ---------------ij> -- test commit and rollbackautocommit off;ij> create table a(a int);0 rows inserted/updated/deletedij> insert into a values (1);1 row inserted/updated/deletedij> select * from a;A          -----------1          ij> commit;ij> drop table a;0 rows inserted/updated/deletedij> rollback;ij> select * from a;A          -----------1          ij> drop table a;0 rows inserted/updated/deletedij> commit;ij> autocommit on;ij> maximumdisplaywidth 5000;ij> --test 84 columns values(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,21, 22, 23, 24, 25, 26, 27, 28, 29, 30,31, 32, 33, 34, 35, 36, 37, 38, 39, 40,41, 42, 43, 44, 45, 46, 47, 48, 49, 50,51, 52, 53, 54, 55, 56, 57, 58, 59, 60,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -