LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • First Edition Books
  • Airtable
    • Fetching Airtable Data
  • AWS S3
    • Listing Files
    • Retrieving Files
    • Uploading Files
    • Uploading CSV
    • Uploading Strings
    • Deleting Files
    • Deleting CSV
  • Azure Blob Storage
    • Uploading Files
    • Retrieving Files
  • Azure Service Bus
    • Sending Messages to Azure Service Bus Queue
    • Receiving Messages from Azure Service Bus Queue
  • Azure Translate
    • Translating A Document
  • Database
    • Retrieving Database Records
    • Updating Database Records
    • Creating Database Records
    • Deleting Database Records
  • Document Processing
    • Document Processing: Workflow Patterns and Best Practices
    • Document Processing with OCR
    • Extract Data from a Document
    • Extract Pages from a Document
    • Extract Tables from a Document
    • Extract a Subdocument
    • Extract Subdocuments
    • Getting Fields from a Document
    • Getting Tables from a Document
  • Google Cloud Storage
    • Dumping Files to Google Cloud Storage
    • Purging Files from Google Cloud Storage
    • Dumping CSVs to Google Cloud Storage
    • Purging CSVs from Google Cloud Storage
    • Enriching Questions
  • HTML
    • Extracting Tables from HTML
  • HTTP
    • GET Request
    • POST Request
    • DELETE Request
    • PATCH Request
    • PUT Request
    • HEAD Request
  • Hubspot
    • Fetching Data from Hubspot
  • Microsoft Excel
    • Opening Excel Files
    • Converting a File to Excel Format
    • Getting a Table from Excel
    • Converting Tables to Excel Workbooks
    • Renaming Excel Files
    • Creating a Merged Spreadsheet from Multiple Files
    • Getting an Excel Worksheet's Row
    • Getting an Excel Worksheet's Row's Cell
    • Getting an Excel Worksheet Cell's Column Label
    • Setting an Excel Worksheet Cell to a String
    • Getting an Excel Worksheet's Changelog
    • Apply Changelogs to an Excel Worksheet
    • Saving An Excel Worksheet
  • Microsoft Outlook
    • Email Operations
    • Getting Schedules
    • Moving Emails
  • Microsoft Power BI
    • Working with Power BI Objects
  • Microsoft SharePoint
    • Retrieving SharePoint Items
    • Uploading a File to SharePoint
    • Converting Data to SharePoint String
    • Moving a File to a Folder
    • Deleting a Folder
    • Getting a Folder
    • Uploading a String to a Folder
    • Creating and Retrieving a Folder
    • Deleting a File
  • Oracle Cloud Fusion
    • Fetching Data from Oracle Cloud Fusion
    • Adding New Records
    • Updating Records
    • Deleting Oracle Fusion Objects
    • Managing Attachments
    • Downloading Files from Oracle Fusion Objects
  • Paycom
    • Working with Employee Details
    • Managing Punch Entries
  • Salesforce
    • Working with Salesforce Objects
    • Submitting Sales Objects for Approval
    • Creating Salesforce Reports
    • File Management
  • Servicenow
    • Retrieving Data
    • Manipulating Data
  • Slack
    • Sending Slack Messages
    • Reading Slack Messages
  • Stripe Pay
    • Fetch Data from Stripe
    • Add New Records
    • Working with Invoices
    • Deleting Objects from Stripe
  • Zendesk
    • Creating a Ticket
    • Updating a Ticket
    • Assigning a Ticket
    • Deleting a Ticket
    • Getting a Ticket
Powered by GitBook
On this page
  • Updating a Singular Database Record
  • Example
  • Updating a Table in a Database
  • Prerequisite Data

Was this helpful?

Export as PDF
  1. Database

Updating Database Records

Automate database record updates with the Database Book.

Last updated 18 days ago

Was this helpful?

Updating a Singular Database Record

To update a singular database record, you need to first identify the record to be updated. To learn more about this, see and .

Example

get a database's person whose FirstName is "Jane"
use the above as the records
use the first record as the person
set the person's DOB to '1990-01-01'

In this example:

  • Line 1: Retrieves a database record.

  • Line 2: Stores the retrieved records as the records.

  • Line 3: Stores only the first record from the records as the person.

  • Line 4: Updates the DOB of the person.

Updating a Table in a Database

This procedure updates a table in the database with data from a table in Kognitos. The columns of the input table must match the columns of the database table.

Prerequisite Data

These required data elements must be present in the automation before using the procedure.

Data Name
Data Type

the table

Table

Syntax

In this syntax, replace name with the name of the database table to update.

update the table in database with
    the table name is "<name>"

Example

create a json
use the above as the first json
set the first json's name to "John"

create a json
use the above as the second json
set the second json's name to "Jane"

convert the jsons to a table
use the above as the table
update the table in database with
    the table name is "PEOPLE_TABLE"
Retrieving Database Records
Storing Retrieved Records