If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > CLOB Equivalent in DB2 9.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-09, 10:43
RASE RASE is offline
Registered User
 
Join Date: Jan 2009
Posts: 5
CLOB Equivalent in DB2 9.1

Hello,

I was using the following command to show an encrypted value on a particular column on the DB2 7.1

select CLOB(column name) from SCHEMA.TABLE_NAME where COL_NAME='value'


Apparently the same CLOB is not working in DB2 9.1. Without the CLOB i can see only the encrypted value. Can anyone help me what is the equivalent of te CLOB to use in DB2 9.1 to get the value decrypted

Thanks and Regards,
RASE.
Reply With Quote
  #2 (permalink)  
Old 03-05-09, 12:19
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I'm not sure I understand how you use CLOB() for decryption of anything. What is the data type of the column in question, and how was it encrypted in the first place?
Reply With Quote
  #3 (permalink)  
Old 03-06-09, 05:10
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
CLOB has been working like this for years now (since DB2 V5 or even before). So you will have to be a bit more specific on what exactly you do, the schema you use, and the error you get.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On