How to read csv file in vertical format and put into table in horizontal format
Are you looking for a way to read csv file in vertical format and put into table in horizontal format ? then read this thread to know how to do it
Hey friends i am stuck while doing this . i want to import the following csv file and save in database table into horizontal format and in line8 there is "No of medicins" and it contains many values and i want to store all that values in No of medicins column . i think i have to remove "," while reading this line and "=" also remove while importing . but im go through all stuffs but not find working answer. please help me . thnks
here is the file>>>>>
ID=,10001,
Name=,Hemant Desai,
Age=,60,
Sex=,male,
Doctor=,Pathak,
Mobile=,9021412202,
Alignment=,brain toumer,
No of medicins=,3,
12:02,Stamlo-5,1mg,oral,after meal,*XE0280916*
12:01,Atorfit-CV-10,4mg,oral,after meal,*XE0283337*
12:01,Losar,3mg,oral,after meal,*XE0284350*
12:02,Appointment,X ray of right chest at 11.00 am on Wed 11th Dec
12:01,procedure,Sponge patient with warm water
Temperature =,222
Blood Pressure =, 555/555
Pulse Rate =, 555
Respiratory Rate =, 999