Hi,
Is there a way to load data from the large text file (2GB, data pivoted) into sql table without using staging table (we want to avoid unnecessary IOs related to writing to staging table and then reading from it, and we want to shift some processing from db to app server)), and to unpivot it at the same time (not just pivot but other calculations as well)?
Basically, is it possible to run T-sql (i.e. complex unpivot) against FlatFile source on the fly, and to write result to destination table of different format than the source file (i.e. columns)?
Thanks
Pedja