Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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