Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Just "Select" without "From" in Input Data.

CaptainJaneway
7 - Meteor

Hello Alteryx-Community,

my issue sounds quite simple, but is a challange for me.  How do I get the version of a mysql- and mssql-connection? I presume a query without a "From"-Clause in a Input Data-Tool is not allowed. Thus I get an error message for a sql-statement, which works in the Mysql Workbench. Do you have a solution for me? I need the version-number for a data-output, so a pre- or post-sql-statement might be not the right solution. 

 

 justselectwithoutfromstatement.jpg

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

Select @@version From TABLENAME

 

seems to work. Set the recordlimit to 1 otherwise you will get the version for every line in that table.

 

Ben

CaptainJaneway
7 - Meteor

Thank you. This is it. 

Labels