Results 1 to 3 of 3
  1. #1
    venki4java is offline Member
    Join Date
    Apr 2008
    Posts
    1
    Rep Power
    0

    Arrow Loding file into database

    Hi fnds, am new to this forum i hangover with a problem ( loading a text file into a database). Plz help me by sending the algorithm or any procedure....

  2. #2
    javarishi is offline Member
    Join Date
    Apr 2008
    Posts
    91
    Rep Power
    0

    Default

    Hi Venki, I didnt try,

    try it out



    CREATE TABLE t1
    (
    file_name VARCHAR(200),
    file_data BLOB SUB_TYPE 0
    );

    The blobs are loaded via parametrized query:

    INSERT INTO t1 (file_name, file_data) VALUES (?, ?);

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. count character in text file as input file
    By aNNuur in forum New To Java
    Replies: 7
    Last Post: 03-25-2010, 04:01 PM
  2. Replies: 2
    Last Post: 04-07-2009, 06:25 AM
  3. passing image file to database
    By abhiN in forum Advanced Java
    Replies: 2
    Last Post: 01-21-2008, 06:30 AM
  4. Inserting file in to database
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-07-2008, 08:39 AM
  5. save file to database
    By katerinaaa in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 12:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •