Answer the question
In order to leave comments, you need to log in
How to transfer the 1C database to MySQL, PostgreSQL or something like that?
The thing is, there is an xml file for 2 million. lines, in fact base 1C. You need to somehow transfer it to SQL or something like that. I'm thinking of registering cloud storage for 1C, deploying the whole thing there and somehow exporting it in the right format. While I'm trying, I hope that smart and kind people will advise some other way. Thank you in advance. :)
Answer the question
In order to leave comments, you need to log in
The question is very old, but it's still indexed and doesn't have an answer. Therefore, we turn on the "psychic" mode :)
there is an xml file for 2 million. strings, essentially base 1CNormally, 1C databases are not unloaded in XML. In XML, only the configuration or its elements can be unloaded. The database is regularly uploaded to the *.dt archive.
You need to somehow transfer it to SQL or something like that.The MsSQL product is probably mentioned, since SQL is a query language. Almost all modern DBMSs support importing data from XML files. Here is the MsSQL doc .
I'm thinking of registering cloud storage for 1C, deploying the whole thing there and somehow exporting it in the right format.If you have access to 1C, then it’s easier to immediately upload it in the right format. The second option is to load raw data into a new database from XML files, and then edit the table structure and clean up the "garbage" on the spot. Alternatively, you can use SELECTs to unload only the necessary information into files for subsequent loading in the final database.
Expand PostgreSQL, start a database in it and fill in your XML g.zeos.in/?q=%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%
in the standard 1c ways .
..
What is contained in these two million lines of xml file?
Does it contain metadata?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question