Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair




Info

This function is one of Plugins Operation.You can find the movie in ARGOS RPA+ video tutorial.

Image Removed

Image Added

SQLite



Author: Kyobong An


Primary Features

The SQLite plugin has features to operate SQLite RDBMS. You can learn more about SQLite at https://www.sqlite.org/src/doc/trunk/README.md. The plugin can take SQL statement(s) either directly or via file.


Special Notes

When inputting a series of SQL statements from a file, it is recommended to separate ‘one way’ statements such as INSERT INTO from ‘two-way’ statements such as SELECT.

 

How to install SQLite

See below for 'step by step' instruction



Need help?

Technical contact to tech@argos-labs.com


May you search all operations,





Input (Requirements)

  • DB file (file path) --- file extension is .db
  • SQL statement(s)
    • Single statement
    • Statement(s) in file --- file extension is .sql

 

Input (Optional)

  • CSV file (file path) for bulk input
  • Number of lines (rows) to be excluded as they contain header(s)
  • Encoding format of the CSV file

 

Output – Return Value


This plugin returns value depending on the SQL statement.

Statements such as INSERT INTO and DELETE will return 2 lines like below. (it takes a format of one-column CSV file)

affected_row_count

3


SELECT statement will return regular CSV file depending on the SQL statement’s parameters

The Return Value can be stored in

String

CSV (Internal memory to PAM)

File (either .txt or .csv)



Parameter Setting Examples


  • Using string for SQL and returning csv with SELECT statement


Image RemovedImage Added



  • Using file for SQL and csv for input


Image RemovedImage Added



  • SQL file Examples


Image RemovedImage Added






Anchor
Step by Step
Step by Step

How to install SQLite


Step 1


Image Removed

Image Removed


Image Added


Image Added



Step 2


  • Execute DB and Create a New Database
    * Check Desktop if DB cannot be found in Program Menu

Image RemovedImage Added

Image RemovedImage Added



Step 3


  • Create a Table
    * Set a table name, field names and types


Image RemovedImage Added



Step 4


  • Input Data and Save
    * Click Browse Data and Input Data


Image RemovedImage Added


  • Save File
Image Removed

Image Added

Return Code

Code
Meaning
0Execution successful
9Execution failed