import

How to build a database from an XSD schema and import XML data

I have a complex XSD schema and hundreds of XML files conforming to the schema. How do I automate the creation of related SQL Server tables to store the XML data? I've considered creating C# classes from the XSD schema using the xsd.exe tool and letting something like Subsonic figure out how to make a shiny database out of it, but not ...

How to Import a CSV file containing multiple sections into R?

I want to import the contents of a csv file into R, the csv file contains multiple sections of data vertically, seperated by blank lines and asterisks. For example ******************************************************** * SAMPLE DATA ****************************************** ******************************************************** Na...

database importing problem with sql server

Hi, I have a database working in my local sql server 2005 express edition. I have to import my local database to a remote server database. For that i established connection to that remote server, and i can now see that database . but when i tried to restore database from my local machine i'm getting an error message when i tried to gi...

What's the purpose of "import package"?

As I just found out import package does not make the package's modules available through package.module. The same obviously holds true for from package import subpackage as well as from package import * What's the purpose of importing a package at all then if I can't access its submodules but only the objects defined in __init__.py? It...

Why "no projects found to import"?

I am trying to "import existing project into workspace". As the "root directory" I select the directory where all my .java (and .class) files are located. Eclipse writes me that "no projects are found to import". Why? ...

importing and appending results of queries from different db in one db

I have 1000+ access files. Each file has a query named "overview" that has the same fields in each of the 1000 files. I need to import the results of these 1000+ overview queries into one single access db and append them into one table. Is there an automated way to do this? Thanks very much. ...

import spreadsheet error: "Automation server can't create object"

Hi, When importing an excel spreadsheet in Sharepoint, the following error pops up in a web dialog with the following message-"Automation server can't create object". What is wrong? does office needs to be installed to import spreadsheets or will installing the primary interop assemblies for Office fix this issue. Thanks ...

imports and package structure in as3/flex

I've got a problem how to organise files and packages in AS3/Flex project. A short intro to the problem: The files structure in the project is (and should stay) like this: libs/Class1/src/<files> libs/Class2/src/<files> libs/Class3/src/<files> The amxmlc compiler source-path variable points to: libs/ I need it because I have to ...

How to import multiple vCard VCF contact files into Outlook 2007 using VBA

How to import multiple vCard VCF contact files into Outlook 2007 using VBA ...

How can I tell what directory an imported library comes from in python?

I'm trying to modify a python library that I downloaded and am using. But the changes I'm making aren't doing anything. So I suspect that python is importing a different copy of this library from somewhere else on the filesystem. So... When I run import foolib in python, how can I tell where on the filesystem it's getting that librar...

Python: Importing submodule given module object

I am given a module as an object, and I need to import a submodule from it. Like this: import logging x = logging Now I want to import logging.handlers using only x and not the name "logging". (This is because I am doing some dynamic imports and won't know the name of the module.) How do I do this? If I do import x.handlers it fails....

execute python file from another file

Hi I have a python file that has functions and classes. now I am writting another program (in another file). and I want to start the new file with running the old file (with the function and classes). I have tried using exec(path_2_oldFile.pyw) but it didn't work. thanks for any help Ariel ...

Using DevIL with Xcode

Hello everyone! I'm trying to use DevIL with Xcode but I can't get it to work. I tried using the "standard" method by doing "configure make make install" and using #import <IL/il> but it doesn't work. It identifies the library but I still get some compiling errors: Ld build/Release/cg.app/Contents/MacOS/cg normal i386 cd "/Users/s...

Why Can't I import a UITableViewCell subclass ? That's weird....

It's like this, I created a UITableViewCell subclass called NewsItemCell, then I wanna use it in my FirstViewController.m, then I tried to import it, but the compiler keeps telling me this Below is my code, it is driving me mad, thank you if you can help. #import "NewsItemCell.h" #import "FirstViewController.h" @implementation Firs...

Import SQL server database using batch

Hello, I need to import a database into a SQL Server instance using a batch script and the database is provided by an sql file. How can I do This? The SQL file was generated by the SQL Server management studio. ...

Problem importing Oracle .dmp file

So I have looked at all the suggested ways of importing .dmp files and non of them seem to answer this question: where does the data go once you import it? Context: I created a user like so: SQL> create user IMPORTER identified by "12345"; SQL> grant connect, unlimited tablespace, resource to IMPORTER; I then ran the 'imp' command as...

Python Wildcard Import Vs Named Import

Ok, I have some rather odd behavior in one of my Projects and I'm hoping someone can tell me why. My file structure looks like this: MainApp.py res/ __init__.py elements/ __init__.py MainFrame.py Inside of MainFrame.py I've defined a class named RPMWindow which extends wx.Frame. In MainApp.py this works: from res.elemen...

How to merge data from two separate access 2007 databases

Hi, I have two identical databases with same structure, database a in computer a and database b in computer b. The data of database a*(a.accdb)* and database b*(b.accdb)* are different. then in database a i have for example ID:1, 2, 3 and in database B i Have ID:4,5,6 Then i need merge these databases data in only one database(a or b, ...

Is it possible to import .gzip file into sqlite / Could I skip some column while importing ?

I tried to play around with .import but it seems to limited with csv and delimited file. Is it possible to import gzip file ? or at least, pipe from command line ? Also, could I skip some un-wanted column like mysql "LOAD DATA INFILE" ? ...

Enumerate Dictionary Within ASP.NET Web Page

I have a ASP.NET (C#) web page in which I want to enumerate a dictionary in a code render block: <% foreach (Dictionary<string, string> record in parsedData) { %> <div>...Some HTML Code...</div> <% } %> But I get an error like: Compiler Error Message: CS0246: The type or namespace name 'Dictionary' could not be found (are...