Bizzdesign logo
  • Contact us
    Alfabet Support Hopex Support Horizzon Support Unify Support
  • Bizzdesign Community
  • Bizzdesign University
  • Bizzdesign
 
  1. Alfabet help
  2. About query definition for Alfabet configurations
  3. Define conditions
  • Define queries to configure Alfabet
  • Define SQL queries
    • Refer to object classes and object class properties
    • Allowed query types
    • Define the SELECT clause
    • Define conditions
    • Display translated object data
  • Define Alfabet queries
    • Access Alfabet query editors
    • Structure of the Alfabet query
    • Define for which object class to find objects
      • Define the base class in the Alfabet Query Builder
      • Define the base class in a text editor
    • Define which data to show
      • Define Show properties in the Alfabet Query Builder
      • Define Show properties in a text editor
      • Calculate aggregated values
    • Join information about other object classes
      • Define JOINS in the Alfabet Query Builder
      • Define JOINS in a text editor
      • Types of Joins
      • Operators for Joins
      • Specify multiple conditions for a join
      • Join the same class multiple times
      • Use Distinct to avoid identical results
      • Complex join scenarios
    • Filter data with conditions
      • Define a WHERE clause in the Alfabet Query Builder
      • Define a WHERE clause in a text editor
      • Operators for WHERE clauses
      • Boolean in WHERE clauses
      • Specification of dates
      • Specification of wildcards
      • Handling of special characters
  • Use Alfabet parameters
    • Use of the Alfabet parameter CURRENT_MANDATE in native SQL
  • Format data representation with Alfabet instructions
    • Define column names and captions
      • Define column name and caption in Alfabet query language
      • Define column name and caption in native SQL
      • Instructions to alter column name and caption
      • Reference columns in instructions by index number
  • Define filters for configured reports and selectors
    • Defining a WHERE Clause for a filter field
  • Define queries in XML
  • Define an index to enhance performance
    • Create a class key
    • Create an audit key
  • Define database views
    • Create SQL based database views
    • Create AQL based database views
    • Use database views in queries
    • Change the execution order
    • Test the database view
    • Semantic analysis of the database view
      • Add an object class to the semantic analysis
      • Add an object class property to the semantic analysis
      • Remove manually added entries from the semantic analysis
    • Delete a database view

Define conditions

Please note the following about the definition of WHERE conditions in native SQL in the context of Alfabet configurations:

  • It is recommended to use the prefix N in WHERE conditions performing a string comparison. The N prefix ensures that the string is not converted into the character set as specified through the collation of the database. This is of special relevance for databases with a collation defining a character set not corresponding to Latin-1.

    For example

    • WHERE APPLICATION.STEREOTYPE=N'Technical Application'
  • When defining conditions for boolean properties, take into account that properties of the data type boolean can have three values:
    • 0 = the value is set to false
    • 1 = the value is set to true
    • Null = the value is not set

    For boolean properties that are not configured to be mandatory, WHERE conditions must be formulated to take all three settings into account.

  • Alfabet parameters can be used in WHERE conditions to base a comparison on a return value from a filter field or from the current environment, for example the object the user is currently working with. Documentation of parameters is provided in a separate section.

Alfabet Resources

  • Support
  • Learning Portal
  • Downloads
  • Announcements
  • Release Lifecycle
  • Cloud Availability

Support

  • Alfabet Help
  • Hopex Help
  • Horizzon Help
  • Unify Help
  • Knowledge Base

Resources

  • Bizzdesign Community
  • Courses and E-learning
  • Blog Articles
  • Events & Webinars
  • Resource Center

Company

  • Bizzdesign
  • Alfabet Support Policy
  • Hopex Support Policy
  • Privacy Policy
  • Code of Ethics
  • Legal Notices

Copyright © Bizzdesign