Hi All,
I have to create the DTS package to
1) Read only the csv files (example of name Daily_11-01-06 ) from directory \\ABC\ABC_D\Reports
2) Parse and import (Room, ReadingType, Date, TimeInterval,Measurement) into SQL database on daily basis
Following is the sample of csv file. This file stores the temperature, humidity and RPM of each room after
every 15 minutes.
If you see, the format of this file is not uniform.
"CPPS.PRIMARY.P01.BAPI RM TEMP"
- 'P01' is the roomnumber
- TEMP is temperature (Readingtype)
"CPPS.PRIMARY.P01.LH.RMHUM"
- 'P01' is the roomnumber
- RMHUM id Humidity (Readingtype)
"CPPS.RPM.RM021P1"
- p1 is roomnumber
- RPM (Readingtype)
Can anyone suggest me on how to create the DTS which can capture the above things. I would really appreciate any ideas or help to start this project.
"Point System Name:","CPPS.PRIMARY.P01.BAPI RM TEMP"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","70.71"," -N- NONE"
"10/31/2006","00:15:00","70.71"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P01.LH.RMHUM"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","27.94"," -N- NONE"
"10/31/2006","00:15:01","27.80"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.RPM.RM021P1"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00"," -0.051"," -N- NONE"
"10/31/2006","00:15:00"," -0.052"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P02.BAPI RM TEMP"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","70.09"," -N- NONE"
"10/31/2006","00:15:00","70.09"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P02.RMHUMIDITY"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","26.41"," -N- NONE"
"10/31/2006","00:15:00","26.41"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.RPM.RM021P2"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00"," -0.040"," -N- NONE"
"10/31/2006","00:15:00"," -0.037"," -N- NONE"
""
" ********************************************************************************"
" ******************************** End of Report *********************************"
Thanks in advance
-techiPA
I have to create the DTS package to
1) Read only the csv files (example of name Daily_11-01-06 ) from directory \\ABC\ABC_D\Reports
2) Parse and import (Room, ReadingType, Date, TimeInterval,Measurement) into SQL database on daily basis
Following is the sample of csv file. This file stores the temperature, humidity and RPM of each room after
every 15 minutes.
If you see, the format of this file is not uniform.
"CPPS.PRIMARY.P01.BAPI RM TEMP"
- 'P01' is the roomnumber
- TEMP is temperature (Readingtype)
"CPPS.PRIMARY.P01.LH.RMHUM"
- 'P01' is the roomnumber
- RMHUM id Humidity (Readingtype)
"CPPS.RPM.RM021P1"
- p1 is roomnumber
- RPM (Readingtype)
Can anyone suggest me on how to create the DTS which can capture the above things. I would really appreciate any ideas or help to start this project.
"Point System Name:","CPPS.PRIMARY.P01.BAPI RM TEMP"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","70.71"," -N- NONE"
"10/31/2006","00:15:00","70.71"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P01.LH.RMHUM"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","27.94"," -N- NONE"
"10/31/2006","00:15:01","27.80"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.RPM.RM021P1"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00"," -0.051"," -N- NONE"
"10/31/2006","00:15:00"," -0.052"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P02.BAPI RM TEMP"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","70.09"," -N- NONE"
"10/31/2006","00:15:00","70.09"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.PRIMARY.P02.RMHUMIDITY"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00","26.41"," -N- NONE"
"10/31/2006","00:15:00","26.41"," -N- NONE"
""
" ********************************************************************************"
"Point System Name:","CPPS.RPM.RM021P2"
"Trend Every:","15 Min"
"Date Range:","10/31/2006 00:00:00 - 10/31/2006 23:59:59"
"Report Timings:","All Hours"
"10/31/2006","00:00:00"," -0.040"," -N- NONE"
"10/31/2006","00:15:00"," -0.037"," -N- NONE"
""
" ********************************************************************************"
" ******************************** End of Report *********************************"
Thanks in advance
-techiPA