import

Optimize MySQL table to tables import

Hello, I have written an importer which copies data from a flat table into several other tables, mapping them by a given XML. This is for a shop database, where each products can have several properties and each property can have several different languages, meaning it pretty fast sums up to a whole lot of data. There are over 50,000 r...

Any reason to clean up unused imports in Java, other than reducing clutter?

Is there any good reason to avoid unused import statements in Java? As I understand it, they are there for the compiler, so lots of unused imports won't have any impacts on the compiled code. Is it just to reduce clutter and to avoid naming conflicts down the line? (I ask because Eclipse gives a warning about unused imports, which is ...

How to import contact details from MSN, yahooo, gmail, aol in asp.net?

I am having difficult time in importing contact details from MSN/YAHOO/AOL/GMAIL etc. Can someone tell me how to get the contacts from these networks? ...

How to migrate sharepoint 2 survey to sharepoint 3.0

I am trying to migrate surveys from an older sharepoint site to a new 3.0 version of it. I exported the old sharepoint surveys as spreadsheets and I know how to import the surveys as regular lists. But how do I import the spreadsheet data as an actual survey rather than a regular list? ...

Importing XML Crashes Excel

I have had this recurring problem with all of my spreadsheets for months. The spreadsheet will be working fine and importing the xml files fetched from our website, then all of a sudden it will start crashing everytime on import. The only thing that fixes it is to take all of the contents (sheets, code, references) and drop them into a...

How to import a module from a directory on level above the current script

For my Python application, I have the following directories structure: \myapp \myapp\utils\ \myapp\utils\GChartWrapper\ \myapp\model\ \myapp\view\ \myapp\controller\ One of my class in \myapp\view\ must import a class called GChartWrapper. However, I am getting an import error... myview.py from myapp.utils.GChartWrapper import * He...

Generating C# helper classes with XSD.exe: Failed handling imported schemas

I would like to produce C# helper files from the KML2.2 xml schema using the XSD.exe tool (from VS2008 SDK). With KML2.1, the tool worked just fine. However, the KML2.2 schema contains import tags pointing to other schemas causing XSD.exe to freak out. This is the error message I get: C:\Program Files\Microsoft Visual Studio 2008 SDK...

in-place import in other version control systems? dvcs?

I use subversion's in-place import (read for details) for configuration file version control in /etc and my home directory. It works well for me, but I've been seeing alot better/faster version control systems cropping up and want to convert. I tried mercurial, and it doesn't really support this feature of checking out a working copy o...

Is there any free tool to convert a file with more than 65000 registers from DBF format to CSV?

Dear all, I need to convert a very large file from DBF format to CSV format. I have tried Microsoft Excel to do the job, but the problem is that I cannot see more than 65500 registers when I open and export the file. Microsoft Access couldn't open the file, too. I have found on google some shareware tools, searching for "DBF to CSV". ...

where t get the org.apache.* type of libraries and to configure them?

My java code uses log4j eg. it tries to import org.apache.log4j.logger , import org.apache.commons.lang.StringUtils, import org.testng.Assert and many more Is there any common place where i can get them? And also how to configure them too. I downloaded the log4j from apache site but could not configure it properly. Any help will be appr...

Difference between @import and link in CSS

I'm learning some CSS to tweak my project template. I come to this problem and didn't find a clear answer on the web. Is there a difference between using @import or link in CSS? Use of @import <style type=”text/css”>@import url(Path To stylesheet.css)</style> Use of Link <link rel=”stylesheet” type=”text/css” href=“Path To styleshee...

Python - when is 'import' required?

mod1.py import mod2 class Universe: def __init__(self): pass def answer(self): return 42 u = Universe() mod2.show_answer(u) mod2.py #import mod1 -- not necessary def show_answer(thing): print thing.answer() Coming from a C++ background I had the feeling it was necessary to import the module containing ...

What is a good automated data import method for SQL Server?

I'm in the process of porting some SQL Server 2005 databases to SQL Server 2008. One of these databases has an associated import application (Windows task) which uses SSIS with a DTS package to import a large dataset from an MS Access database nightly. In upgrading to SQL Server 2008, I discovered that I can't run the same console appl...

Import Error on Dates (Import from oracle 10g to sql server 2005)

Hi all, I've been trying to import a table from oracle 10g into SQL Server 2005 using the task import wizard and i keep getting this error: - Copying to [PersonDB].[PEOPLE] (Error) Messages Error 0xc0202009: Data Flow Task: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is avai...

How do I create a text file so when it is opened in Excel, rows are grouped together?

I'm collecting some data via a Perl script. The data needs to be reviewed and processed by others using Excel. Currently, I'm writing the data out as a tab-delimited text file, and Excel can open this just fine. There's a hierarchy to the data, however, and it would be easier for the reviewers to see a tree rather than a flat list. ...

Truncation errors importing to SQL Server 2005 from Excel

Long story short, I'm taking a bunch of excel documents one by one, and importing them using the Import/Export wizard into a database in SQL Server 2005. Here's one report (all processes not shown are a "Success"). Is there any way for me to ignore truncation errors? I've googled around to no avail, or at least not in my version. - E...

Obj C - #import < > and " "

I'm wondering what decides whether you're allowed to use < > or " " when you're importing files in objective c. So far my observation has been that you use " " for the files in your project that you've got the implementation source to, and < > when you're referencing a library or framework. But how exactly does that work? What would I ha...

Error trying to use import.jxl... statements.

Hey, I am working on a program using eclipse galileo and jdk 6. The problem is that when I use any import.jxl... statement I get an error in eclipse and it won't compile. So statements like "import jxl.write.Label;" give me an error. I don't understand why that is. It says it doesn't like the jxl statements. If I use any import.java......

How can I import load a .sql or .csv file into sqlite?

I need to dump a .sql or .csv file into sqlite (I'm using sqlite3 API). I've only found documentation for importing/loading tables, not entire databases. Right now, when I type sqlite3prompt> .import FILENAME TABLE I get a syntax error, since it's expecting a table and not an entire DB. ...

In java how do you refer to a class that is in the default package of a third party library?

I have downloaded a third party library and they have classes I need to refer to in the default package? How do I import these classes? ...