i have multiple .csv files in a unix directory. every file is having variable names as header.even for empty file also. suppose take 3 files a.csv b.csv c.csv a.csv contains data as name;age,salary; raja;34;4000; ravi;33;5000; kumar;25;3000; b.csv contains data as name;age,salary; ajay;40;4500; and c.csv contains name;age,salary; (only headers) Now i want to import and append all these files in to a single dataset. i tried infile statement with *.csv to import all at a time. but i m not getting correct data. please help me . its urgent. thank you in advance
2 3509i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
1405What is the more accurate formula to convert wet concrete to dry aggregate instead of the 54% method?
1517Post New Tech Mahindra Interview Questions
Explain the internal working of a hash map?
formula for calculation of switchgears(i.e. contactor, fuse, cb, relay etc.), if load current is given?
Explain bulbs ?
Explain the difference between overloading and overriding?
What is javac in java?
Why print_r is used in php?
Define Phase
About Testing
If you wish to encrypt the username and password using php, how will you do that?
Explain the difference between mysql and mysql interfaces in php?
What are the basic windows commands?
Where do you define dispatcherservlet?
What is a feature file?
What is the syntax for encrypting a column in SQL Server?
how to Create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details. The data will be extracted from VBAP, VBPA, VBAK, VBUP, VBFA, KNA1, LIPS, VBRP, MARA, VBEP and KONV tables. plz mention the detail coding Tahnks, Rahul