I am writing a script to access data from each day. I would like to select by attribute and send these features to a local file geodatabase. After reading some documenation, CURRENT_DATE is the function which reads data for today.
This is an example of my data '2015-02-02 00:00:00'. I don't have the time for any features, so in reality it is only YYYY-MM-DD. In a local file geodatabase, the query
PlannedDate = CURRENT_DATE works. However in my ArcSDE SQL Server connection it does not.
Best Answer
This function requires SQL Server Syntax for the mm/dd/yyyy format.