Sunday 19-05-2013
About Us | Contact Us | FAQ | Support | Links
Coldfusion Custom Tags, CFXs, CFCs, Full Applications and more!
< Built by ColdFusion Developers, for ColdFusion Developers >
 
Home | Tag Categories | Latest Tags | Top Rated Tags | Top Selling Tags | My Account | Search | Sell Your Tags | Tags A-Z
CSV2Query(with complete source codes)

CSV2Query(with complete source codes) -
Developer Name: Rahul Baid
Company Name: SoniaInfotech
Email Developer Email Developer:
Latest Version: 1.0
Price: $89
License: One copy for multiple servers in multiple locations.
Encrypted: No
Average Rating: Not Rated
Times Rated: Not Rated
Rate This Tag:


Tag Comments

There are no comments for this tag yet!
 Related ColdFusion Applications
Developers who purchased CSV2Query(with complete source codes) also purchased:
  1. CF_CalendarControl
  2. CF_FlashUpload
  3. CF_Zip Code Radius
  4. CF_SendLinkToFriend (Unencrypted)
  5. cfx_WebThumb
  6. cf_ZipCodeRadius
  7. ZipDistance
  8. Simplewire SMS
  9. UDI - Universal Database Interface Version 3.9
  10. cf_query2xml


What Is CSV2Query(with complete source codes)?
It's very fast CF tag to convert data from CSV to query. It can even handle data with more then 20K recods, with unbelievable speed. For eg, CSV file with 20K recods, it takes 7 mins to convert.

This CF tag will read a csv file with over 20k records in it, then compare each record with a table in the database. The table is called ci_real. The table name may vary, for this there is a variable that can be easily changed. 
There will be an ID field in the csv file that never changes (employeeid). This script will ran
nightly so it is imperative that the file runs at optimum performance. The file starts by using a CF page so if the file is in .net or java, it will be called by CF page.
 
Tables Structure: 
 
CI_REAL
id - primary key, identity
company - varchar
employeeid - unique identifier for record - varchar
firstname - varchar
lastname - varchar
dob - varcahr
orglevel - varchar
internaljobcode - tinyint
jobtitle - varchar
currentstatus - char(1)
regaljobcode - varchar
cistatus - bit - default 1
certTrackCompletion - bit defaul 0
 
CI_RE_Updates
id - forieng key to ci_re.id
date_time - timestamp -
dbstatuscode - tinyint
 
LOGS_ScheduledTasks
id - primary key, identity
date_time - timestamp
scheduledTaskID - integer
status - tinyint
description - text
 
1. Search directory for csv files.
2. Read Each record in the CSV files found. File length (amount of records) will change each time.  File location
is passed in as a variable as file location will change daily.
2. Check each record:
 
     If a record exists in the file but not in the database, will insert it.
     If a record exists in the file and in the database and there has been a change in the records, will update it.
 Only changes if information varies.
     If a record exists in the database but not in the file, updates the cistatus field to 0 in the table.
 
     Each time a record is modified in the ci_re table, you will need to modify the ci_re_updates table.
When insert, dbstatuscode = 1, when update, dbstatuscode = 2, when record no longer in the file but in the database, dbstatuscode = 0.
3. When all records have been reviewed, copy the csv file to archived folder and insert into logs_scheduledtasks
(scheduledTaskId=1, status=1), if unsuccesfull, enters status =0 and description and notify administrator.
 

This tag is unbelievably fast. You will get entire codes.

 



 


< Business Strength Coldfusion Custom Tags >
Sitemap | Privacy | Branding | Web Services | Support | Contact Us