TableName (Datatype String): Name of the table PKColumns (Datatype Range):
Address of the cells that contain the column names PKValues (Datatype Range):
Address of the cells that contain the data DatabaseType (Datatype String):
Optional ; Database type so the SQL insert statement can use specific database
syntax. Possible values: Oracle, SQL Server, MySQL, ODBC, Access
Description:
The SQLCreateDeleteStatement function creates a SQL delete statement based on the
supplied parameters. The syntax for an insert statement is: delete from
TableName where pk1=value1 and
pk2=value2.
Example:
delete from emp where empno =
123;
SQL*XL can take your database type into account. E.g.
for
a MySQL database a date literal will be typed
as e.g. '2006-01-23 11:23:01' whereas an Oracle date will be typed
as: to_date('23-01-2006 11:23:01','dd-mm-yyyy hh24:nn:ss')
Please ensure that the values in the Excel cell are properly formatted. A
number formatted in Excel as a Text will be taken as a string value. E.g. the
number 1 formatted as text will be created in the statement as '1'.
Copyright (C) 1995-2007 Linker IT
Software BV. All Rights Reserved. Oracle is a registered trademark of
Oracle corporation. Excel and Office are registered trademarks of
Microsoft corporation. Other names appearing on the site may be trademarks
of their respective owners. Software,
files, documents, articles and other material are provided
"as is" and without warranties as to performance or mechantability or
any other warranties whether expressed or implied. No
warranty of fitness for a particular purpose is offered.
sitemap