Importing Excel to SQLCE
        Posted  
        
            by ohadsc
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ohadsc
        
        
        
        Published on 2010-05-16T22:04:56Z
        Indexed on 
            2010/05/16
            22:10 UTC
        
        
        Read the original article
        Hit count: 906
        
I have a table in excel format (2007 but I can save as anything below that, naturally), and I have an SQL Compact Edition 3.5 SP1 Database table with corresponding columns. I simply want to populate the SQLCE table with the data from the excel file. The data consists of strings and integers only.
I tried this utility to no avail, I also tried this SQL script but it won't work since BULK INSERT is not supported in SQLCE. I also found this Microsoft tutorial but I am basically clueless when it comes to SQL, providers and the like...
Thanks !
© Stack Overflow or respective owner