Categories

Updated: 05/15/2008

Simple csv to MySQL tool

This code will take a csv file and create or, insert or update, the data into a MySQL database. It assumes the first line contains the field names and uses that to build the SQL query for the following data lines. There''s a download button for pulling in the csv file. A CREATE button will create a simple database using VARCHAR() with all the fields length set to the longest length of any field. The INSERT button will insert the data. The BUILD FIELD LIST button does just that so you can select the field if you''re doing an UPDATE operation. Index fields in the database are shown. There are few checks to ensure that an operation will succeed. INSERT into a table that doesn''t exist for example will error etc. The code is heavily commented and should be ewasy to follow/amend.
Similar Scripts for "Simple csv to MySQL tool"

AdventNet SwisSQL - SQLServer to Oracle Migration Tool

SwisSQL- SQL Server to Oracle Edition is an Automated Migration tool to convert Microsoft SQL Server Transact SQL stored procedures to Oracle PL/SQL equivalent code. It automates more than 90% of the code conversion with very minimal manual intervent...

SweetSuite.NET Exception Component (ssException)

Royalty-free implementation, unlimited projects. This component will help you track issues in your projects with the information you need to troubleshoot. It contains many details about the exception. Information such as when the exception occurred; ...

Simple SQL

DESCRIPTION: Simple SQL provides functions to retrieve single fields or rows of a table, insert rows given arrays of column names and values, update single fields of a given table row, delete given table rows and many other common needs. ADVAN...

Error Loging in ASP.NET

You may manage error handling configuring Web.Config file. In this code we will try to log this error page in to an SQL Server. This script will be helpful to webmaster to get a control over web pages.

GrabNews

GrabNews is ASP code for ''grabbing'' and displaying RDF/RSS/Atom feeds on a website, and, if there is a podcast associated with an item, it will display an icon. It utilises XSLT and a database to store and display all the information requ...
©2003-2008 jCay.com