Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2006

Tip: Looking for answers? Try searching our database.

insert data into graphic column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ganapath - 27 Mar 2006 16:51 GMT
Hi,

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

Thanks,
Ganapath
tuarek - 29 Mar 2006 19:51 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.