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

📄 st_1.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 3 页
字号:
ij> -- simple SYSCS procedures test - just test if we can call them-- other tests will check that they work, this is just a quick test-- that they can be called.  For the purpose of this test "works", -- means function called with no errors.  Other tests will check if-- function did the right thing.autocommit off;ij> maximumdisplaywidth 9000;ij> create table foo(a int);0 rows inserted/updated/deletedij> -- check if unqualified schema call works.set schema SYSCS_UTIL;0 rows inserted/updated/deletedij> call SYSCS_FREEZE_DATABASE();0 rows inserted/updated/deletedij> call SYSCS_UNFREEZE_DATABASE();0 rows inserted/updated/deletedij> call SYSCS_CHECKPOINT_DATABASE();0 rows inserted/updated/deletedij> call SYSCS_SET_DATABASE_PROPERTY('foo', 'bar');0 rows inserted/updated/deletedij> call SYSCS_BACKUP_DATABASE('extinout/mybackup');0 rows inserted/updated/deletedij> call SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE('extinout/mybackup2', 0);0 rows inserted/updated/deletedij> call SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE('extinout/mybackup2', 1);0 rows inserted/updated/deletedij> call SYSCS_DISABLE_LOG_ARCHIVE_MODE(0);0 rows inserted/updated/deletedij> call SYSCS_DISABLE_LOG_ARCHIVE_MODE(1);0 rows inserted/updated/deletedij> call SYSCS_COMPRESS_TABLE('APP', 'FOO', 0);0 rows inserted/updated/deletedij> call SYSCS_COMPRESS_TABLE('APP', 'FOO', 1);0 rows inserted/updated/deletedij> -- system funtionsset schema SYSCS_UTIL;0 rows inserted/updated/deletedij> values SYSCS_GET_DATABASE_PROPERTY('foo');1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------bar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ij> values SYSCS_CHECK_TABLE('APP', 'FOO');1          -----------1          ij> call SYSCS_SET_RUNTIMESTATISTICS(1);0 rows inserted/updated/deletedij> call SYSCS_SET_STATISTICS_TIMING(1);0 rows inserted/updated/deletedij> select * from APP.foo;A          -----------ij> -- TODO, figure out how to test with a master file, that timings are non-zero,-- without having them diff everytime.  Ran this once and hand checked that-- it was working.-- values SYSCS_GET_RUNTIMESTATISTICS();call SYSCS_SET_STATISTICS_TIMING(0);0 rows inserted/updated/deletedij> select * from APP.foo;A          -----------ij> values SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select * from APP.fooParse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Table Scan ResultSet for FOO at read committed isolation level using instantaneous share row locking chosen by the optimizerNumber of opens = 1Rows seen = 0Rows filtered = 0Fetch Size = 16	constructor time (milliseconds) = 0	open time (milliseconds) = 0

⌨️ 快捷键说明

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