Hi everyone. First I will try and tell everyone what I am trying to do. I am trying to send an 'isql' command to the command line using perl. Would I want to use the system function for this? Here is my current code:
system (isql -S uschi00tst88 -U sa -P -d CTCMaster -Q "DELETE FROM CTCMaster..rtd_Instruments BULK INSERT CTCMaster..rtd_instruments FROM \"\\\\uschi00dev037\\TestDB\\TextFiles\\RTD_Instruments.txt\" WITH (FIELDTERMINATOR = ',', ROWTERMINATOR = ';',KEEPIDENTITY, CHECK_CONSTRAINTS)");
Please, any help will be greatly appreciated. Thanks!
system (isql -S uschi00tst88 -U sa -P -d CTCMaster -Q "DELETE FROM CTCMaster..rtd_Instruments BULK INSERT CTCMaster..rtd_instruments FROM \"\\\\uschi00dev037\\TestDB\\TextFiles\\RTD_Instruments.txt\" WITH (FIELDTERMINATOR = ',', ROWTERMINATOR = ';',KEEPIDENTITY, CHECK_CONSTRAINTS)");
Please, any help will be greatly appreciated. Thanks!