File: dml047.out

package info (click to toggle)
derby 10.14.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 79,056 kB
  • sloc: java: 691,961; sql: 42,686; xml: 20,512; sh: 3,373; sed: 96; makefile: 60
file content (44 lines) | stat: -rw-r--r-- 1,762 bytes parent folder | download | duplicates (4)
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
ij> AUTOCOMMIT OFF;
ij> -- MODULE DML047

-- SQL Test Suite, V6.0, Interactive SQL, dml047.sql
-- 59-byte ID
-- TEd Version #

-- AUTHORIZATION HU
   set schema HU;
0 rows inserted/updated/deleted
ij> --O   SELECT USER FROM HU.ECCO;
  VALUES USER;
1                                                                                                                               
--------------------------------------------------------------------------------------------------------------------------------
HU                                                                                                                              
ij> -- RERUN if USER value does not match preceding AUTHORIZATION comment

-- date_time print

-- TEST:0222 FIPS sizing -- Length(240) of a character string!
-- FIPS sizing TEST
-- NOTE:0222 Literal length is only 78

-- setup
     INSERT INTO T240 VALUES(
'Now is the time for all good men and women to come to the aid of their country'
);
1 row inserted/updated/deleted
ij> -- PASS:0222 If 1 row is inserted?

     SELECT * 
          FROM T240;
STR240                                                                                                                          
--------------------------------------------------------------------------------------------------------------------------------
Now is the time for all good men and women to come to the aid of their country                                                 &
ij> -- PASS:0222 If STR240 starts with 'Now is the time for all good men'?
-- PASS:0222 and ends 'and women to come to the aid of their country'?

-- restore
     ROLLBACK WORK;
ij> -- END TEST >>> 0222 <<< END TEST
-- *************************************************////END-OF-MODULE
;
ij>