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 > GRAPHIC data type support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-08, 06:24
sushma007 sushma007 is offline
Registered User
 
Join Date: Aug 2007
Posts: 64
Thumbs down GRAPHIC data type support

I am new to DB2 ,I am trying to create a Table with GRAPHIC data type , When i execute the query
Quote:
CREATE TABLE mytab(col1 GRAPHIC(3))
An error is thrown

sql1216N graphic data and graphic functions are not supported for this database

Please let me know how to over come it
Reply With Quote
  #2 (permalink)  
Old 03-26-08, 08:19
sansaniwal25 sansaniwal25 is offline
Registered User
 
Join Date: Mar 2008
Posts: 4
The code page of the database does not support graphic data. we have to recreate the database with correct code page.
Reply With Quote
  #3 (permalink)  
Old 03-26-08, 08:31
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
create the db with code page utf-8 and you can use graphic - vargraphic
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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