Open DataSource : Excel

select mi.SKU, mi.CasesPerPallet, cp.CasesPerPallet as SandrasCasesPerPallet

from ii_masteritem mi

join OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0','Data Source=d:\data\cspallet.xls;Extended Properties=Excel 8.0')...Sheet1$ cp on cp.SKU = mi.SKU

where mi.CasePerPallet <> cp.CasesPerPallet

Comments

Popular posts from this blog

IBM FileNet: Bulk Processing using JavaScript

DB2 Date Time Functions

File Net Insert Document