CDATACONNECT.QUERY
=CDATACONNECT.QUERY(query, connection, [defaultCatalog], [defaultSchema], [paramsRange] [options]) It contains the following parameters:
The following is an example of a complete CDATACONNECT.QUERY function:
CData Excel functions can be used with implicit cell references such as This SQL statement must be entered as follows in a CData Excel function:
E2, E$2, or Sheet1!E2. However, since CData functions include the actual SQL statement as an argument to the function, passed as a string using double quotes, the cell reference needs to be passed outside of the quotation marks. The best way to achieve this is to use the & operator. This operator concatenates expressions in an Excel function.The following example shows a SQL statement with a WHERE clause referencing a dynamic cell reference:CDATACONNECT.INSERT
=CDATACONNECT.INSERT(data, connection, [columnHeaders])
The following formula inserts rows into the sheet:
CDATACONNECT.UPDATE
=CDATACONNECT.UPDATE(data, connection, [columnHeaders])
The following formula updates the record in row 15 of the sheet:
CDATACONNECT.DELETE
=CDATACONNECT.DELETE(data, connection, [columnHeaders]) It contains the following parameters:
The following formula deletes the record in row 14 of the sheet: