Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Advanced functions allow you to filter results and/or get user input to add to your find.

...

Paste code macro
languagesql
SELECT dbo.localizedate(DateTime, 'ZipCode');

Change DateTime to the datetime needing to be localized, and ZipCode to the zip code to use to determine the timezone for localizing the datetime value. Using the statement above will result in a YY-MM-DD hh:mm:ss.s. For example, the date output would be 2020-09-04 17:17:20.887.

...

Example 2

Return the current X Dispatch Operations App user. 

Paste code macro
languagesql
DECLARE @User  VARCHAR(20)
SET @User = '{{UserID}}'
SELECT @User

...

Expand
titleFor developers and/or administrators use-only...

"ÆÆ" (ALT + 1 + 4 + 6)x2 - Placing this string in the front of a query will allow for Inserts into tables, dropping columns and tables, etc.

"ææ" (ALT + 1 + 4 + 5)x2 - This has the same functionality as "ÆÆ", but the string is removed from the query once the query is run.

Warning

The "ÆÆ" function is provided to assist X Dispatch Operations App Administrators with Advanced Find creation. The use of this function in X Dispatch the Operations App can lead to serious consequences including data corruption and loss of application usability.  It's strongly advised that you check with a manager at your company to make sure the use of this potentially destructive capability is fully understood and is subject to $225 per hour for repair assistance if repair is possible. 

...