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.

How to write an SQL to pull data for Day 1 of the current month

AB1130
5 - Atom

I'm trying to write a workflow that will pull data for the first day of whatever the current month is. Any ideas on how to write the SQL? 

2 REPLIES 2
cjaneczko
13 - Pulsar

 

This will give you the first of the current month. You can use this as a filter for whatever date field you are bringing into the WF. 

datetimetrim(DateTimeNow(),'firstofmonth')

 

AB1130
5 - Atom

The SQL editor isn't recognizing datetimetrim. I'm connected to the Oracle database. 

Labels
Top Solution Authors