I got data file with .LOD extension from which I have to import data in the PostgreSQL database. I never worked with .LOD files. Can someone please help me with commands or steps that I need to follow to import data in my database?
If your text data are well formatted try using the COPY function http://www.postgresql.org/docs/9.4/static/sql-copy.html or you can try http://pgloader.io/ too. If the datas are not well formatted you'll have to write a script to do the load.
Related
I have a problem where I'm importing a CSV file using the SQL import wizard but the values being imported get changed after this process completes which I'm not sure why this is happening. I have selected the code page as UTF-8 and I can see that the values are being displayed correct here as this is a column which includes Spanish translation:
Once the process completes I can see that SQL is showing these completely wrong as you can see below:
How can I get it imported to keep the original Spanish translation?
My database collation is SQL_Latin1_General_CP1_CI_AS and this can't be changed.
Any help would be appreciated!
Seems that this might be related to CSV file export as I had just changed to rather export to Txt file and this imported correct and all is as per the info passed so not really sure but it's all good now. Thanks anyways!
I'm in the process of consolidating our old stuff into TFS. One of the old things is a bug report repository. I believe it's using c-tree to store data, because it has .idx and .dat files. Id like to try to export all of this data into a txt/csv so someone else can sort through what is still relevant, and the import the good stuff into TFS.
The problem is I'm not sure how to go about exporting the data from the c-tree files. Any ideas?
Thanks,
Makolyte
If you have access to any Faircom tools or APIs, http://www.faircom.com/ace/support_doc_t.php would be a good place to start.
Otherwise, you can get an express edition of C-treeACE here: http://www.faircom.com/ace/download_t.php
I'm new to core data. How do I go about importing a fileName.csv into an Xcode core data project. What type of app should I start with. The data does not need to change. I should be able to search for a particular object and find it. Please help. Thanks
Firstly store csv file data to NSArray refer convert-csv-format-into-nsarray link.
Now to save a NSArray/NSMutableArray in Core Data refer NSArray/NSMutableArray in Core Data link.
If the data does not change then I would suggest not using Core Data. You could import the csv data (search around on google, there are several csv parsers for Objective-C) and store that information in an NSDictionary.
Background:
I've written a backup tool for the Mercurial/Git hoster Bitbucket, which asks for a username, gets a list of the user's repositories via the Bitbucket API, and clones each of them to the local machine.
Each Bitbucket repository has an issue tracker, and now I've got a new feature request: backup the issues as well.
I can actually get the issues in JSON format from the Bitbucket API.
Here is an example: https://api.bitbucket.org/1.0/repositories/christianspecht/bitbucket-backup/issues/
But how to backup this to the local machine?
I could just save the JSON in a text file, but I don't think you can do anything useful with a list of issues in JSON format.
Is there such a thing like a standard file format for bugs/issues?
In a perfect world, maybe anything that the most widespread issue tracking systems are able to import?
I suspect the answer is No, there's no standard. Here are some options:
Bugzilla:
Bugzilla can import/export both CSV and XML:
Here's this search: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=css3+text exported to CSV and XML and here's this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=156881 exported to XML.
JIRA:
JIRA can import from Pivotal Tracker, Bugzilla, FogBugz, Mantis, Trac and more, apparently, and can export as XML and CSV.
Here's this bug: https://jira.atlassian.com/browse/WBS-49 exported as XML and this search: https://jira.atlassian.com/browse/GHS-5597?jql=text~%22greenhopper%20api%20plugin%22 exported as XML - you can also export these as .xls files.
Roundup
The roundup-admin CLI has a sub command export which can be used to create a bunch of .csv files together with sub directories containing the messages and file attachments. See http://roundup.sourceforge.net/docs/admin_guide.html#migrating-backends for how this can be used to migrate the issue data to another database.
TRAC
Trac can export to CSV & TSV. Here's this search: http://trac.edgewall.org/report/2 exported to CSV and this bug: http://trac.edgewall.org/ticket/886 exported to CSV and TSV.
I have a problem with an old database from a dos applocation. There are many files with extensions like .DAN and .IX . I need to import it into my MySQL database. Does anyone have an idea how to do it?