ODBC Driver for Workday

Build 25.0.9539

Modifying Data

The following code examples show how to use data modification statements.

Procedure for Updates

You can use sqlQuery method to execute data modification statements.

INSERT

To insert updates:

sqlQuery("INSERT INTO [CData].[Human_Resources].Workers (Legal_Name_Last_Name) VALUES ('John')")

UPDATE

To retrieve updates:

sqlQuery("UPDATE [CData].[Human_Resources].Workers SET Legal_Name_Last_Name = 'John' WHERE Legal_Name_Last_Name = 'Morgan'")

DELETE

To delete updates:

sqlQuery("DELETE FROM [CData].[Human_Resources].Workers WHERE Id = '0e44c92412d34b01ace61e80a47aaf6d'")

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539