Data insertion query

  • Hi ....

    i have ine question.i am learning ssis now.so i dont have more knowledge abt same.

    i have one table in database from that i have to take three columns.and inser data in anothere destination table but with condition that if col.name like 'ins%' then insert 'insurance' ,if col.name like 'pes%' then insert 'admin' likewise i have more than 40 conditions.

    can you guys help me in ths?

    thanks in advance!!!!!!

  • hi

    just go in for case statements to solve your problem for 40 conditions

  • Yes you can use case statement and generate dynamic SQL query.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply