Contents

cfinsert

Description

Inserts records in data sources.

Category

Other

Implemented

Usage Syntax

<cfinsert  
	dataSource="String"
	tableName="String"
	[tableOwner="String"]
	[tableQualifier="String"]
	[username="String"]
	[password="String"]
	[formFields="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
dataSource String Yes Name of the data source that contains your table.
tableName String Yes Name of the table you want the form fields inserted in.
tableOwner String No For data sources that support table ownership such as SQL Server, Oracle, and Sybase SQL Anywhere, use this field to specify the owner of the table.
tableQualifier String No For data sources that support table qualifiers, use this field to specify the qualifier for the table. The purpose of table qualifiers varies across drivers. For SQL Server and Oracle, the qualifier refers to the name of the database that contains the table. For the Intersolv dBase driver, the qualifier refers to the directory where the DBF files are located.
username String No If specified, username overrides the username value specified in the ODBC setup.
password String No If specified, password overrides the password value specified in the ODBC setup.
formFields String No A comma-separated list of form fields to insert. If this attribute is not specified, all fields in the form are included in the operation.

Example Usage