- 论坛徽章:
- 0
|
回复 3# langren868
这个 你试试!
#!/usr/bin/perl -w
while(<DATA>){
if (m#-query \'select#i .. m#\[&\"tablename\"\]#i){
print;
}
}
__DATA__
hello the world
“-query 'SELECT
SerialCode, CfmDate, TransDate, TransTime, IndiInstFlag, TransAcntCode, CardNo, CaptAcntCode, FundAcntCode, BusinessCode, ReturnCode
, FundCode, AppVol, AppAmnt, CfmVol, CfmAmnt, DiscountRateOfCommission, Commission, AgencyFee, Duty, OtherFee1, NAV, TradingPrice, B
ookDate, ValidPeriod, BranchCode, PrintCount, SubbranchCode, TACode, BankRemitFlag, CurrencyType,
ManagerID,Rate,FeeAll,VolAmntFlag
FROM
[&"TableName"]”
hello the world
hello the world
hello the world
hello the world
hello the world |
|