By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,514 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,514 IT Pros & Developers. It's quick & easy.

insert data into graphic column

P: n/a
Hi,

How can i insert random data into a db2 table for a graphic data type
column

Thanks,
Ganapath

Mar 27 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ganapath,

I was able to insert random values with following statement:

insert into test_table values ( left(char(rand()),1) )

My graphic column's size is 1. Therefore It is inserting only one
char.

Regards

Mehmet

Mar 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.