Table of Contents

Search

  1. Preface
  2. Introduction
  3. Getting Started
  4. Data Director with Business Entities
  5. Data Director with Subject Areas
  6. Hierarchies and Relationships
  7. Workflows and Reviews

Date Syntax in Advanced Search Queries

Date Syntax in Advanced Search Queries

You must use the correct syntax to ensure a query returns the expected results when the query contains date system columns.
All date system columns, such as the CREATE_DATE column, have a granularity of milliseconds. If you use the '=' comparison operator in a query, you must specify the date to a granularity of milliseconds.
For example, the following query does not return results for records created on August 23, 2013 because it does not specify a date with a granularity of milliseconds:
Person.CREATE_DATE = '23/Aug/2013'
To run a query for a specific date without specifying a granularity of milliseconds, you can run a query on a range for that date.
For example, the following query returns records created on August 23, 2013:
Person.Create Date >= '23/Aug/2013' AND Person.Create Date < '24/Aug/2013'

0 COMMENTS

We’d like to hear from you!