Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convertion of xml file to sql file.

 
gowtham thurangi
Greenhorn
Posts: 13
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a xml file with data. I want to convert it into sql file using java. so that i can use that sql file for further cases.Please Reply...

Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ServingXML toolkit has utilities like that.


"Please Reply" Why did you think that necessary?

Bill
 
gowtham thurangi
Greenhorn
Posts: 13
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Actually in my project, we convert the data from text files to xml file and after that we are inserting into database. But in between i need to get the sql file so that it can be useful like backups.
In sql file we need to maintain data and sql query. of that particular table. I have sql server database, Iam getting sql file from database backup. But i need while inserting into database.

Please Help me.

ThankYou.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that didn't sound anything like your original post. Actually I didn't understand it at all. But I think that's because I don't understand what you mean when you say "the sql file". What exactly is an "SQL file" anyway?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic