DSS has "SQL query" and "SQL script" recipes. For more information, please

SQL query

Recommended for most use cases
  • Can write output to any kind of dataset
  • Runs 100% in-database when output is in database
  • DSS handles table creation/drop
  • Automatic code validation
  • Supports most SQL constructs
  • Does not support CTE ("WITH") expressions

SQL script

 
  • Can only write to the database
  • Always runs 100% in-database
  • You have to handle table creation/drop
  • No code validation
  • Supports arbitrarily complex SQL scripts
  • Use for cases not covered by SQL query