I have 2 files I'm importing and have 2 different SQL tables from the same database. How could I create one connection to the
DB and load to 2 different SQL tables.
Thanks.
$f1=(import-csv 'c:\temp\dbsessinfo' -Delimiter '|' -header dbsession,client,qaduser,osuser,pts,qadpgm,qadmenu,pid,ostask,runtime)
$f2=(import-csv 'c:\temp\dbwaitdata' -Delimiter '|' -header dbanme,progtxn,osuser,locktype,locktbl,lockrcd,lockmeth)