I don't use JDB either, however I guess you cannot declare a maximum length for
the literal string in char column.  you might have to reshape rank-1 vector 
before
inserting. eg.

   ht=: Create__db 'tblChar2';'c1 char'
   Insert__db 'tblChar2';'a'
   Insert__db 'tblChar2';,'b'
   Insert__db 'tblChar2';,.'c'
   Insert__db 'tblChar2';,.'def'
   Insert__db 'tblChar2';,:'ghij'
   Insert__db 'tblChar2';3 4$'1234567'
   Insert__db 'tblChar2';3 5$'1234567'
   Reads__db 'from tblChar2'
+-----+
|c1   |
+-----+
|a    |
|b    |
|c    |
|d    |
|e    |
|f    |
|ghij |
|1234 |
|5671 |
|2345 |
|12345|
|67123|
|45671|
+-----+

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to