Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006

    Unanswered: read sql from text file

    I have written a sql query in a text file name query.txt. Query is select author,title from compinfo where price >=100;. The database is stored in mysql and i have connected to mysql using jdbc. Could neone provide a code in java that would read the file and extract table name, attribute etc from the text file. Please help immediately since it is a project...

  2. #2
    Join Date
    Jan 2005

    IO classes

    You need to use input/ouput classes.
    A tutorial

Posting Permissions

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