Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

how to skip a row conditionally from an Excel spreadsheet to SQL 2008 R2 database table

$
0
0

I have an Excel Spreadsheet that has rows like this:

Col1          Col2          Col3         Col4

Empty        24              54            75

LogIn         64              75            55

LogOut      55              58             87

Empty        88              44             33

and so on.

If Col1 has "LogIn" then I need to move the value in Col3 to the database. If Col1 has "LogOut" I need to record Col4 to the database. If Col1 has "Empty" I need to ignore the whole row and move to the next one. and so on.

How can I do this in an SSIS package?

Thank you


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>