Bodensee/Lake Constance in Winter |
[hloeser@magicmachine]$ db2sampl
Creating database "SAMPLE"...
Connecting to database "SAMPLE"...
Creating tables and data in schema "HLOESER"...
Creating tables with XML columns and XML data in schema "HLOESER"...
'db2sampl' processing complete.
[hloeser@magicmachine]$ db2 connect to sample
Database Connection Information
Database server = DB2/LINUXX8664 10.5.6
SQL authorization ID = HLOESER
Local database alias = SAMPLE
[hloeser@magicmachine]$ db2 "select substr(note_text,length(note_text)-36,18) from in_tray where source='CHAAS'"
1
------------------
Enjoy the holidays
1 record(s) selected.