467,887 Members | 1,513 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,887 developers. It's quick & easy.

insert data into graphic column

Hi,

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

Thanks,
Ganapath

Mar 27 '06 #1
  • viewed: 1947
Share:
1 Reply
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.

Similar topics

5 posts views Thread by me | last post: by
20 posts views Thread by akej via SQLMonster.com | last post: by
6 posts views Thread by pk | last post: by
16 posts views Thread by robert | last post: by
2 posts views Thread by Geoffrey KRETZ | last post: by
11 posts views Thread by Ted | last post: by
6 posts views Thread by rn5a | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.