In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to write to SqLite ?

Michael_S
5 - Atom

Hello everyone.
I'm posting this here because I found it somewhat hard to write to SqLite file databases.

Now I've figured out a way, it's working fine.

I'm not sure that it's the correct path, but I'm sharing my way  :

 

- drag an output data tool,
     - select options:
          File Format: "SQlite (*.sqlite)"
          Output Options: "Delete Data & Append"
          Pre Create SQL Statement: "CREATE TABLE IF NOT EXISTS Dim... "
     - name the file after the desired filename + PIPES + THE DESIRED TABLE NAME
          "OlympicMedals.sqlite|||DimAthlete"


- copy & paste the output tool, repeat the process for each table
     - adjust the pre create SQL code
     - change the table name after the pipes

 

Michael_S_0-1619789027616.png

 

 

thanks,

Michael.

1 REPLY 1
rkapoor
Alteryx
Alteryx

@Michael_S  this looks fine to me.

Labels
Top Solution Authors