Symbols Used In InterSystems SQL

Skip to main content Open navigation menu InterSystems IRIS Data Platform 2025.3Toggle Down
  • 2025.3
  • 2025.2
  • 2025.1
  • 2024.1
  • 2023.1
  • 2022.1
  • 2021.1
  • 2020.1
  • 2019.1
Close navigation menu
  • Release Information
    • About...
    • Release Notes
      • New in 2025.3
      • New in 2025.2
      • New in 2025.1
      • New in 2024.3
      • New in 2024.2
      • New in 2024.1
      • New in 2023.1
      • New in 2022.1
      • New in 2021.1
      • New in 2020.1
      • New in 2019.1
      • Known Issues and Notes
      • Deprecated & Discontinued
    • Supported Platforms
      • Supported Technologies
      • Supported Languages
      • Deprecated & Discontinued
      • Version Compatibility
      • Cross-Product Support
    • Releases and Prerelease Software
    • Licensing
    • Downloading Samples
  • Deployment
    • About...
    • Containers
      • About...
      • Container How-to
      • Deploy Right Now
      • Running in Containers
      • Deploying with Kubernetes
    • Installation Kit
      • About...
      • Install on Windows
        • Overview
        • Pre-Install
        • Attended Install
        • Development
        • Server
        • Client
        • Web Server
        • Custom
        • Unattended Install
        • Post-Install
      • Install on UNIX, Linux, and macOS
        • Overview
        • Pre-Install
        • Attended Install
        • Development
        • Server
        • Custom
        • Client-only
        • Unattended Install
        • Post-Install
      • Installation Details
        • All Platforms
          • Installation Directory
          • Setup Types
          • Character Width Setting
          • Port Numbers
          • Installer Manifests
          • Configure Multiple Instances
          • Change Your Language
          • Web Server Troubleshooting
        • Windows
          • User Accounts
          • Web Server
          • Command Line Reference
          • Auto-start
          • The Write-cache Buffer
        • UNIX®, Linux, and macOS
          • AIX®
          • Red Hat Linux
          • SUSE
          • Ubuntu
          • Web Server
          • Owners & Groups
          • Nonroot User Install
          • Install Parameters
          • Install Packages
          • Starting InterSystems IRIS
          • macOS Concurrent Processes
          • Development Evironments
          • UNIX® Install Packages
      • Upgrade Procedure
        • Pre-Upgrade
        • Windows Upgrade
        • UNIX Upgrade
        • Uninstall or Reinstall
        • Upgrade Mirrors
        • Upgrade ECP Configurations
        • Post-Upgrade Tasks
      • Upgrade Reference
        • Upgrade Considerations
        • Compile Namespaces
    • Configuration
      • About...
      • Resource Planning
      • Automating Configuration
        • Merge Introduction
        • Deploy with Merge
        • Reconfigure with Merge
        • Updates in Deployment
        • Actions in Deployment
        • Best Practices
      • Configuration Parameters (CPF)
        • CPF File Introduction
        • [Actions]
        • [Archives]
        • [ComPorts]
        • [config]
        • [ConfigFile]
        • [Databases]
        • [Debug]
        • [Devices]
        • [DeviceSubTypes]
        • [ECP]
        • [ECPServers]
        • [Gateways]
        • [IO]
        • [Journal]
        • [LicenseServers]
        • [Logging]
        • [Map]
        • [MapMirrors]
        • [MirrorMember]
        • [Mirrors]
        • [Miscellaneous]
        • [Monitor]
        • [Namespaces]
        • [SQL]
        • [SqlSysDatatypes]
        • [SqlUserDatatypes]
        • [Startup]
        • [Telnet]
        • [WorkQueues]
    • Data Migration
      • About...
      • Server Migration
      • ISQL Migration
        • Using ISQL
      • TSQL Migration
        • Planning a Migration
        • Language Constructs
        • Language Elements
        • Commands
        • Settings
        • Functions
        • Variables
        • Stored Procedures
      • DataMove
    • Adding Compiled Code
  • Administration
    • About...
    • System Administration
      • Management Portal Introduction
      • System-Wide Settings
      • Configuring Namespaces
      • Namespace Mappings
      • Configuring Local Databases
      • Configuring Remote Databases
      • Using Resources
      • Privileges and Permissions
      • Roles
      • User Accounts
      • Applications
      • Configuring TLS
      • Managing Superservers
      • Support for OAuth 2.0 & OpenID Connect
      • Task Manager Email
      • National Language Support
      • Work Queue Manager
      • Local Databases
      • Managing Processes
      • Managing Services
      • Scheduling Tasks
      • Background Tasks
      • Licensing
      • Managing on Windows
      • Managing on UNIX®, Linux & macOS
      • Connecting to Remote Servers
      • The iris Command
      • Third Party Software
      • Feature Tracker
    • Monitoring
      • About...
      • Monitoring Guide
        • Management Portal
        • Diagnostic Report
        • Log Monitor
        • Introduction to System Monitor Tools
        • System Monitor
        • Health Monitor
        • Application Monitor
        • ^GLOSTAT
        • ^PERFMON
        • ^PROFILE
        • ^%SYS.MONLBL
        • ^TRACE
        • ^SystemPerformance
        • ^mgstat
        • History Monitor
        • ^BLKCOL
        • ^PERFSAMPLE
        • Structured Logging
        • SNMP
        • WS-Management
        • REST API for Metrics
        • irisstat Diagnostics
      • Emit OpenTelemetry Signals
      • Error Reference
        • General Error Messages
        • SQL Error Messages
        • TSQL Error Messages
        • System Error Messages
        • Messages Related to Productions
    • Operations
      • Create a Monitoring Plan
      • Tasks by Category
      • Tasks by Frequency
      • Tasks by Role
      • How to Troubleshoot
      • Task Reference
    • Install Code from WRC
    • Special Tools & Utilities
      • Localization
      • Startup & Shutdown
      • Extending Languages
      • Windows Client Control
      • Fast Global Copy
      • Using Switches
      • Managing via Routines
      • Command-Line Security Management Utilities
      • Process Management
      • Byte Order Conversion
      • Convert FileMan to Class
  • Architecture
    • About...
    • Mirroring and High Availability
      • About...
      • High Availability Solutions
      • High Availability Guide
        • Failover Strategies
        • Mirroring Overview
        • Architecture & Planning
        • Configuring Mirroring
        • Managing Mirroring
        • Mirror Outage Procedures
    • Scalability
      • About...
      • Basics: Distributed Caching
      • Demo: Sharding
      • Scalability Guide
        • Overview
        • Distributed Caching
        • Deploy Cache Cluster
        • Cache Cluster Security
        • Monitor Cache Cluster
        • Develop Distributed App
        • ECP Recovery
        • Scale for Data Volume
        • Sharding Reference
    • Resiliency & Data Integrity
      • About...
      • Data Integrity Overview
      • Write Image Journaling
      • Backup and Restore
      • Journaling Overview
      • Configure Journaling
      • Basic Journaling Operations
      • Journaling Utilities
      • Journal I/O Errors
      • Special Considerations
      • Data Consistency Across Systems
  • Security
    • About...
    • Security Strategy
    • IRISSECURITY
    • Using Security APIs
    • Auditing
    • Authentication
    • Authorization
    • Encryption
    • TLS
    • Security Reference
      • Securing Your Instance
      • Secrets Management
      • Identity and Access Management
      • Encryption
      • TLS
  • Developer Tools
    • ObjectScript Shell
      • Introduction
      • Available Shells
      • Command History & Aliases
      • Customization
    • Windows Terminal
      • Basics
      • Connecting to Remote Hosts
      • Terminal Scripts
      • Script Command Reference
      • Customization
      • Running the Terminal Application from the Command Line
      • Advanced Topics
    • Connecting an IDE
    • Source Control Integration
    • Package Manager
    • Classes Page
    • Routines Page
    • Class Reference
    • Unit Testing with %UnitTest
      • About %UnitTest
      • Creating Unit Tests
      • Execute Unit Tests
      • Viewing %UnitTest Results
    • Scanning for Deprecated Code
  • Embedded Language Development
    • About...
    • Multiple Data Models
    • Orientation for Programmers
      • Introduction
      • Classes
      • Objects
      • Persistent Objects and InterSystems SQL
      • Namespaces and Databases
      • Security
      • Applications
      • Localization
      • Server Configuration Options
      • Useful Skills to Learn
      • Unicode Support
      • What’s That?
    • Developing Applications
      • Transaction Processing
      • Locking and Concurrency Control
      • Locking Examples
    • ObjectScript
      • About...
      • Using ObjectScript
        • Introduction
        • Syntax Basics
        • Procedure Syntax
        • Commands
        • Operators
        • Invoking Code & Passing Arguments
        • Variables
        • Process-Private Globals
        • Extended References
        • Multidimensional Arrays
        • Data Types
        • Numeric Values
        • Strings
        • Boolean Values
        • Lists
        • Bit Strings
        • Date & Time Values
        • Macros & Include Files
        • Embedded SQL
        • Details of Lock Requests and Deadlocks
        • Managing the Lock Table
        • %Status Values
        • Using TRY-CATCH
        • Error Logging
        • Command-Line Routine Debugging
        • (Legacy) Using ^%ETN for Error Logging
        • (Legacy) Traditional Error Processing
        • Legacy Forms of Subroutines
      • ObjectScript Reference
        • Symbols & Abbreviations
        • Operators
        • Commands
        • Routine & Debugging Commands
        • Functions
        • Special Variables
        • Structured System Variables
        • Macro Preprocessor Directives
        • Identifiers
        • General System Limits
        • System Macros
        • Flags & Qualifiers
        • Regular Expressions
        • Translation Tables
        • Numeric Computing
      • ObjectScript Tutorial
        • The Basics
          • Overview of the ObjectScript Tutorial
          • Class Methods
          • Terminal
          • VS Code - ObjectScript
          • Do Command
          • Class Methods and Routines
          • Method Details
          • Passing Arguments by Reference
          • Return and Quit Commands
          • Write Command
          • Read Command
          • Set Command
          • Operator Precedence
          • Syntax
          • Common Errors
          • Write (again) and Kill Commands
          • If Construct
          • Simple Conditions
          • Complex Conditions
          • Hands-On Exercise 1
          • Class Compilation
          • Controlling Execution Flow
          • $Case Function
          • For Construct
          • While and Do/While Constructs
          • Try/Catch Construct, and Throw Command
          • Multiple Purpose Characters
          • Hands-On Exercise 2
          • Recap of Part 1
        • The Good Stuff
          • Strings
          • Storing a String
          • Concatenation Operator
          • Pattern Matching and Regular Expressions
          • Pattern Matching Examples
          • String Functions
          • String Functions, continued
          • Lists
          • Compare Pieces and Lists
          • Setting Substrings, Pieces, and List Items
          • More List Functions
          • Bitstrings
          • Dates
          • Hands-On Exercise 3
          • JavaScript Object Notation (JSON)
          • Arrays
          • Ordered Trees
          • Ordered Trees, continued
          • Value and Existence, and the $Data Function
          • Viewing and Killing Arrays
          • Globals
          • $Increment and $Sequence Functions
          • Storage Method
          • Storage Method, continued
          • Example of Globals
          • Hands-On Exercise 4
          • Recap of Part 2
        • Using Globals
          • $Order Function
          • $Order Function, continued
          • Working With Indexes
          • $Order Loop
          • Nested $Order Loops
          • Starting Focused $Order Loops
          • Ending Focused $Order Loops
          • Hands-On Exercise 5
          • Conversion Functions
          • $Get Function
          • Hands-On Exercise 6
          • Database Integrity
          • Lock Command
          • Lock Command, continued
          • Lock Command and $Test
          • Transaction Processing
          • Hands-On Exercise 7
          • InterSystems IRIS Objects and SQL
          • Object Methods
          • Object Storage
          • SQL Queries
          • Recap Of Part 3
        • RightTriangle Example Class and Exercise Solutions
          • Right Triangle Example Class
          • Exercise 1: First Data Entry Class
          • Exercise 2: Second Data Entry Class
          • Exercise 3: Third Data Entry Class
          • Exercise 4: Storage Method
          • Exercise 5: First Lookup Class
          • Exercise 6: Second Lookup Class
          • Exercise 7: Third Lookup Class
    • Embedded Python
      • Intro to Embedded Python
      • Using Embedded Python
        • Introduction and Prerequisites
        • Install and Import Python Packages
        • Run Embedded Python
        • Call Embedded Python Code from ObjectScript
        • Call InterSystems IRIS from Embedded Python
        • Bridge the Gap Between ObjectScript and Embedded Python
        • Use Embedded Python in Interoperability Productions
        • Use the Flexible Python Runtime Feature
        • Debug from Embedded Python
        • InterSystems IRIS Python Module Reference
    • Multidimensional Storage
      • Introduction
      • Formal Rules
      • Extended References
      • Mapping
      • Working with Globals
      • SQL & Objects
      • Temporary Globals
      • Management Portal Options
      • Global Sizes
      • Import/Export
    • Class Programming
      • Defining & Using Classes
        • Class Programming
        • Defining Classes
        • Compiling Classes
        • Class Documentation
        • Package Options
        • Class Parameters
        • Methods
        • Registered Objects
        • Properties
        • Property Methods
        • Persistent Objects
        • Storage Definitions
        • Storage Globals
        • Persistent Objects and Extents
        • Working with Persistent Objects
        • Object Concurrency Options
        • Defining Persistent Classes
        • Literal Properties
        • Common Data Type Classes
        • Common Property Parameters
        • Collections
        • Storage and SQL Projection of Collection Properties
        • Streams
        • Object-Valued Properties
        • Relationships
        • Other Options for Persistent Classes
        • Method & Trigger Generators
        • Class Queries
        • Custom Class Queries
        • XData Blocks
        • Class Projections
        • Callback Methods
        • Overriding Property Methods
        • Defining Data Type Classes
        • Dynamic Dispatch
        • ObjectScript Features
        • Populate Utility
        • %Dictionary Classes
        • Object Synchronization
      • Class Definition Reference
        • Introduction
        • Top Level Class Syntax and Keywords
        • Foreign Keys
        • Indices
        • Methods
        • Parameters
        • Projections
        • Properties
        • Queries
        • Triggers
        • XData
        • Storage
    • API Manager
    • InterSystems SQL
      • About...
      • Using SQL
        • Using InterSystems SQL
        • InterSystems SQL Features
        • InterSystems SQL Basics
        • Language Elements
        • Implicit Joins (Arrow Syntax)
        • Identifiers
        • Using Embedded SQL
        • Using Dynamic SQL
        • Using the SQL Shell Interface
        • Using the Management Portal SQL Interface
        • Defining Tables
        • Defining and Using Views
        • Relationships Between Tables
        • Using Triggers
        • Collation
        • Federated Tables
        • Foreign Tables
        • Modifying the Database
        • Querying the Database
        • Defining and Using Stored Procedures
        • Storing and Using Stream Data (BLOBs and CLOBs)
        • SQL Users, Roles, and Privileges
        • Row-Level Security
        • Using Vector Search
        • SQL Settings Reference
        • Importing SQL Code
        • Importing and Exporting SQL Data
      • SQL Text Search
        • About SQL Search
        • Basics: SQL Search
        • Using SQL Search
        • SQL Search REST Interface
      • SQL Security
      • Optimizing SQL
        • SQL Performance Overview
        • How InterSystems IRIS Processes SQL Statements
        • Best Practices for Improving SQL Performance
        • Examine Query Performance
          • Analyze SQL Statements and Statistics
          • Interpreting an SQL Query Plan
          • SQL Performance Analysis Toolkit
          • Get SQL Performance Help
        • Defining a High-Performance Schema
          • Table Statistics for Query Optimizer
          • Define and Build Indexes
          • Choose an SQL Table Storage Layout
          • Define SQL Optimized Tables Through Persistent Classes
        • Configure SQL Performance Options
          • Configure Parallel Query Processing
          • Using Runtime Plan Choice
          • Configure Frozen Plans
          • Using Adaptive Mode to Improve Performance
          • Working with Cached Queries
          • Specify Optimization Hints in Queries
      • InterSystems SQL Reference
        • Current Page: Symbols and Syntax Conventions
        • SQL Commands
        • SQL Clauses
        • SQL Predicate Conditions
        • SQL Aggregate Functions
        • SQL Window Functions
        • SQL Functions
        • SQL Unary Operators
        • SQL Reference Material
      • Using the InterSystems SQL Gateway
        • SQL Gateway Overview
        • Accessing a Database with the SQL Gateway
        • Connecting the SQL Gateway via JDBC
        • Connecting the SQL Gateway via ODBC
        • Using the SQL Gateway Programmatically
      • XDBC Gateway
        • XDBC Gateway Overview
        • Connecting with the XDBC Gateway
        • Using the XDBC Gateway
    • Document Database
      • Introducing InterSystems IRIS Document Database (DocDB)
      • Managing Documents
      • REST Client Methods
    • Web Applications & APIs
      • About...
      • Web Gateway
        • Introduction
        • Access Built-in Web Apps with Your Web Server
        • Setup Overview
        • Install a Standalone Web Gateway
        • Extend Your Web Server Configuration
        • Choose URL Paths to Route
        • Overview of the Web Gateway Management Pages
        • Define Server Access Profiles
        • Define Application Access Profiles
        • Configure System-Wide Parameters
        • Protecting Web Gateway Connections to InterSystems IRIS
        • Managing and Monitoring the Web Gateway
        • CGI Environment Variables Passed by the Web Gateway
        • HTTP Response Headers Returned by the Web Gateway
        • Compressing the Response to Requests for CSP Forms (GZIP/ZLIB)
        • Implementing HTTP Authentication for Web Applications
        • Load Balancing, Failover, and Mirrored Configurations
        • Process Affinity and State-Aware Mode (Preserve Mode 1)
        • Web Gateway Registry in InterSystems IRIS
        • CSP.ini Parameter Reference
        • Using the NSD (Windows)
        • Using the NSD (UNIX®/Linux/macOS)
        • Alternative Options for Apache (UNIX®/Linux/macOS)
        • Locked-Down Apache
        • Alternative Options for IIS 7 or Later (Windows)
      • Web Server Considerations
        • Apache Considerations (UNIX®/Linux/macOS)
        • IIS Considerations (Windows)
      • REST and JSON
        • About...
        • REST Services
          • Introduction to Creating REST Services
          • Creating and Editing REST Services
          • Modifying the Implementation Class
          • Modifying the Specification Class
          • Securing REST Services
          • Listing and Documenting REST APIs
          • /api/mgmnt/ API Endpoints
          • OpenAPI Properties in Use
          • Creating a REST Service Manually
        • Using JSON
          • Using JSON in ObjectScript
          • Creating and Modifying Dynamic Entities
          • Iteration and Sparse Arrays
          • Working with Datatypes
          • Converting Dynamic Entities to and from JSON
          • Using the JSON Adaptor
          • Quick Reference for Dynamic Entity Methods
      • WSGI
      • SOAP
        • About...
        • Web Services & Clients
          • Introduction
          • Creating Web Services
          • Message Variations
          • Creating Web Clients
          • Fault Handling
          • MTOM
          • SOAP with Attachments
          • Custom Headers
          • WS-Addressing
          • Sessions
          • Binary Format
          • Datasets
          • Troubleshooting
          • Summary of URLs
          • WSDL Details
          • Generated Classes
        • Web Service Options
          • Disabling Access to WSDL
          • Requiring a Username and Password
          • Controlling the XML Types
          • Controlling the Namespaces of the Schema and Types
          • Including Documentation for the Types
          • Adding Namespace Declarations to the SOAP Envelope
          • Checking for Required Elements and Attributes
          • Controlling the Form of Null String Arguments
          • Controlling the Message Name of the SOAP Response
          • Overriding the HTTP SOAP Action and Request Message Name
          • Specifying Whether Elements Are Qualified
          • Controlling Whether Message Parts Use Elements or Types
          • Controlling Use of the xsi:type Attribute
          • Controlling Use of Inline References in Encoded Format
          • Specifying the SOAP Envelope Prefix
          • Restricting the SOAP Versions Handled by a Web Service
          • Sending Responses Compressed by gzip
          • Defining a One-Way Web Method
          • Adding Line Breaks to Binary Data
          • Adding a Byte-Order Mark
          • Customizing the Timeout Period
          • Using Process-Private Globals to Support Very Large Messages
          • Customizing Callbacks of a Web Service
          • Specifying Custom Transport for a Web Service
          • Defining Custom Processing in a Web Service
        • Web Client Options
          • Modifying a Web Client
          • Disabling Keep-Alive for a Web Client
          • Controlling the Form of Null String Arguments
          • Controlling the Client Timeout
          • Using a Proxy Server
          • Setting HTTP Headers
          • Specifying the HTTP Version to Use
          • Disabling SSL Server Name Checking
          • Controlling Use of the xsi:type Attribute
          • Controlling Use of Inline References for Encoded Format
          • Specifying the Envelope Prefix
          • Adding Namespace Declarations to the SOAP Envelope
          • Sending Responses Compressed by gzip
          • Quoting the SOAP Action (SOAP 1.1 Only)
          • Treating HTTP Status 202 Like Status 200
          • Defining a One-Way Web Method
          • Adding Line Breaks to Binary Data
          • Adding a Byte-Order Mark
          • Using Process-Private Globals When Parsing
          • Creating Custom SOAP Messages
          • Specifying Custom HTTP Requests
          • Customizing Callbacks of a Web Client
          • Specifying Custom Transport from a Web Client
          • Specifying Flags for the SAX Parser
          • Using the WS-Security Login Feature
          • Using HTTP Authentication
        • SOAP Security
          • Securing Web Services with SOAP
          • Setup and Other Common Activities
          • Creating and Using Policies
          • WS-Policy Configuration Class Details
          • Adding Security Elements Manually
          • Adding Timestamps and Username Tokens
          • Encrypting the SOAP Body
          • Encrypting Security Header Elements
          • Adding Digital Signatures
          • Using Derived Key Tokens for Encryption and Signing
          • Combining Encryption and Signing
          • Validating and Decrypting Inbound Messages
          • Creating Secure Conversations
          • Using WS-ReliableMessaging
          • Creating and Adding SAML Tokens
          • Troubleshooting Security Problems
          • Details of the Security Elements
      • CSP
        • Introduction
        • Application Configuration
        • Creating a Page
        • Examining the Request
        • Managing Sessions
        • Ending Sessions
        • Cookies
        • Updating a Page without Reloading
        • Handling Errors
        • Controlling Access
        • Encryption
        • Localization
        • Authentication Sharing
        • Logging
        • Reserved URL Parameters
        • Special HTML Directives
        • CSP Error Codes
      • WebSockets
    • Other Available APIs
      • File & Directory API
        • What Is %Library.File?
        • Query Directories and Drives
        • File and Directory Properties and Attributes
        • File and Directory Names
        • Work with Directories
        • Work with Files
        • Work with the %File Object
        • %File Example
      • XML Tools
        • Introduction
        • Considerations When Using the XML Tools
        • Reading & Validating
        • Using %XML.TextReader
        • Importing into Objects
        • Representing as DOM
        • Writing XML from Objects (Basics)
        • Writing XML (Details)
        • Encryption
        • Signing
        • XPath Expressions
        • XSLT Transformations
        • Customizing Parser
        • Classes from Schemas
        • Schemas from Classes
        • Examining Namespaces and Classes
        • XML Standards
        • XML Background
      • XML Projections
        • Introduction to Object-XML Projections
        • Projecting Objects to XML
        • Controlling Transformations of Values
        • Handling Empty Strings and Null Values
        • Controlling the XML Element and Attribute Names
        • Specifying Namespaces for Elements and Attributes
        • Controlling the Projection to XML Schemas
        • Advanced Options for XML Schemas
        • Special Topics
        • Summary of XML Projection Parameters
      • Internet Utilities
        • HTTP Request
        • HTTP Response
        • Email Support
        • Creating Email Messages
        • Sending via SMTP
        • Retrieving via POP3
        • Working with Received Email
        • MIME
        • FTP
        • SSH
        • IBM WebSphere MQ
      • External Messaging Platforms
        • Using the Messaging APIs
        • JMS
        • Kafka
        • RabbitMQ
        • Amazon SNS
        • Amazon SQS
      • REST API for Source Code
        • Introduction
        • Tutorial
        • Reference
      • API Index
        • Tools Index
    • Other Topics
      • I/O Device Guide
        • Introduction to I/O
        • Principal Device, Current Device, and Null Device
        • Specifying Devices
        • Pipes
        • Communication Between InterSystems IRIS Processes
        • TCP
        • TCP Advanced Topics
        • UDP
        • Terminal I/O
        • Files
        • Spool Device
        • Printers
        • Controlling Devices with Mnemonic Spaces
        • Managing Devices and Mnemonic Spaces
        • Using ^%IS
        • Device Special Variables
      • Bits & Bitstrings
      • Semaphores
      • String Localization
        • Introduction
        • Message Dictionaries
        • Message Files
        • Managing Dictionaries
      • Process Memory
      • Work Queue Manager
        • Introduction
        • Categories
        • Callbacks
        • Controlling Output
        • Pausing & Resuming
        • Detaching & Attaching
        • Stopping a Work Queue
        • Setup & Teardown
        • About Worker Jobs
      • Secure Logins
    • Glossary
      • Complete Glossary of Terms
  • External Language Development
    • About...
    • Native SDKs
    • Using InterSystems External Servers
      • Introduction to InterSystems External Servers
      • Working with External Languages
      • Managing External Server Connections
      • Customizing External Server Definitions
      • InterSystems External Server Requirements
      • Quick Reference for the ObjectScript $system.external Interface
    • Java
      • About...
      • JDBC for Relational Access
      • Demo: Connect with JDBC
      • Demo: Java and XEP
      • Using Java
        • Java with InterSystems Overview
        • InterSystems Java Connectivity Options
        • Using the JDBC Driver
        • Configuration and Requirements
        • JDBC Fundamentals
        • JDBC Quick Reference
      • Native SDK for Java
        • Introduction to the Java Native SDK
        • Calling ObjectScript Methods from Java
        • Using Java Inverse Proxy Objects
        • Working with Global Arrays
        • Transactions and Locking
        • Java Native SDK Quick Reference
      • Persisting Java Objects with Java Persister
        • The InterSystems Persister for Java
        • Overview of the Java Persister
        • Serializing Data with Persister
        • Implementing Schemas with SchemaManager
        • Designing Schemas with SchemaBuilder
        • Java Persister Examples
        • Quick Reference for Java Persister Classes
      • Persisting Java Objects with XEP
        • Using XEP with Java Overview
        • Introduction to XEP
        • Using XEP Event Persistence
        • XEP Quick Reference
      • InterSystems Implementation Reference for Third-party Software
        • Overview of Java Third-party Software
        • JDBC Driver Support
        • Hibernate Support
        • R Gateway Support
      • R Gateway Support
    • .NET
      • About...
      • Demo: .NET and XEP
      • Using .NET
        • Introduction to Using .NET with InterSystems Software
        • Connecting to the Database with .NET
        • .NET Requirements and Configuration
        • Using the ADO.NET Managed Provider
        • Quick Reference for the .NET Managed Provider
      • Native SDK for .NET
        • Native SDK for .NET Overview
        • Introduction to the .NET Native SDK
        • Calling ObjectScript Methods from .NET
        • Using .NET Inverse Proxy Objects
        • Working with Global Arrays in .NET
        • Transactions and Locking
        • Native SDK for .NET Quick Reference
      • Persisting .NET Objects with XEP
        • Introduction to XEP for .NET
        • Using XEP Event Persistence with .NET
        • Quick Reference for XEP .NET Classes
      • ODBC
        • About...
        • Using the InterSystems ODBC Driver
          • Document Overview
          • Getting Started
          • Defining an ODBC Data Source on Windows
          • Defining an ODBC Data Source on UNIX®
          • ODBC Installation and Validation on UNIX® Systems
          • ODBC Support for Python and Node.js
          • Logging and Environment Variables
    • Native SDK for Python
      • About...
      • Orientation for Python Developers
        • Orientation for Python Developers
        • Introduction to Python InterSystems IRIS Development
        • Basic SQL via Python: Using InterSystems IRIS as a Relational Database
        • Building InterSystems IRIS Applications with Familiar Python Tools
        • Deciding How to Use InterSystems IRIS with Python
        • Becoming an InterSystems IRIS Power User
      • Using the Native SDK for Python
        • Introduction to the Native SDK for Python
        • Native Python SDK Installation and Setup
        • Calling Database Methods from Python
        • Controlling Database Objects from Python
        • Accessing Global Arrays with Python
        • Managing Transactions and Locking with Python
        • Using the Python DB-API
        • Native SDK for Python Quick Reference
    • Native SDK for Node.js
      • About...
      • Using the Native SDK for Node.js
        • Introduction to the Native SDK for Node.js
        • Calling Class Methods from Node.js
        • Controlling Database Objects from Node.js
        • Accessing Global Arrays with Node.js
        • Managing Transactions and Locking with Node.js
        • Native SDK for Node.js Quick Reference
    • Callin
      • The Callin Interface
      • Using the Callin Functions
      • Callin Function Reference
    • Callout
      • The InterSystems $ZF Callout Interface
      • Overview of the $ZF Callout Functions
      • Running Programs or System Commands with $ZF(-100)
      • Creating an InterSystems Callout Library
      • Invoking Callout Library Functions
      • InterSystems $ZF Callout Quick Reference
  • Interoperability
    • About...
    • Introducing Interoperability Productions
      • InterSystems IRIS Basics: Connecting Systems Using Interoperability Productions
      • Introduction to Interoperability Productions
      • Connectivity Options for Productions
      • Business Processes and Business Logic
      • Other Production Options
    • Preparing to Create Productions
      • Production Roadmap
      • Planning a Deployment
    • Production Best Practices
      • Best Practices for Production Development
      • Design Model for a Routing Production
      • Converting Interfaces to Production Elements
      • Managing Databases for Productions
    • Developing Productions
      • About...
      • ObjectScript Productions
        • Introduction
        • Coding Business Hosts
        • Defining Messages
        • Business Service Class
        • Business Process Class
        • Business Operation Class
        • Alert Processor
        • Data Transformations
        • Business Metrics
        • Enterprise Message Bank
        • Record Mapper
        • Complex Record Mapper
        • Record Map Batch
        • Other Development Tasks
        • Test and Debug
        • Deploy Production
        • Tracing Code
        • Production Lifecycle
      • Java, Python, & .NET Productions
        • Introduction
        • Getting Started
        • About Business Hosts and Adapters
        • PEX Messaging
        • Inbound Adapters
        • PEX Outbound Adapters
        • Business Services
        • PEX Business Processes
        • PEX Business Operations
        • Registering a PEX Component
        • Connecting with External Language Servers
        • PEX API Reference
      • Business Logic
        • Developing BPL Processes
          • Introduction
          • Listing the Business Processes
          • Creating
          • Editing
          • Variables Available in BPL
          • BPL Syntax Rules
          • List of BPL Elements
          • Handling Errors in BPL
          • BPL Business Process Example
        • Developing DTL Transformations
          • DTL Tools
          • Introduction to the DTL Editor
          • Creating Data Transformations
          • Adding and Editing Actions
          • DTL Syntax Rules
          • Actions That Set or Clear Values
          • Other Actions
          • Listing & Managing
          • Testing
        • BPL and DTL Reference
          • BPL Elements
          • DTL Elements
        • Developing Business Rules
          • About Business Rules
          • Getting Started
          • Working with Rules
          • Debugging Routing Rules
          • Utility Functions for Use in Productions
      • Enterprise Service Bus
        • Enterprise Service Bus and Registry Overview
        • Accessing the Public Service Registry through the Public REST API
        • Administering the Public Service and External Service Registries
        • Configuring an ESB
        • Configuring ESB Services and Operations
        • Configuring an InterSystems IRIS System and Creating a Namespace
        • Configuring a Web Application for a Pass-through Business Service
        • Pass-through Service and Operation Walkthrough
        • Service Registry Public API Reference
      • Workflow
        • Overview
        • Developing a Workflow
        • Including Custom Features in a Workflow
        • Testing a Workflow
        • Exploring the Workflow Sample
        • Available Workflow Metrics
      • Push Notifications
        • Push Notifications Overview
        • Configuring and Using Push Notifications
    • Configuring and Managing Productions
      • About...
      • Configuring Productions
        • Introduction
        • Configuration Page
        • Creating a Production
        • Adding Business Hosts
        • Modifying Business Hosts
        • Configuring Settings
        • Configuring Alerts
        • Defining Reusable Items for Use in Settings
        • Data Lookup Tables
        • System Default Settings
        • Interoperability Settings
        • Configuring a Mirror Virtual IP as the Network Interface
        • Enterprise Message Bank
        • Identifying Enterprise Systems for Viewing and Monitoring
        • Settings Reference
      • Managing Productions
        • Introduction
        • Starting and Stopping
        • Deploying Productions
        • Purging Data
        • Using the Archive Manager
        • Managing Workflows
        • Publish and Subscribe
        • Controlling Data Storage
        • Security Roles and Resources
        • Menu Items
      • Monitoring Productions
        • Core Concepts
        • Monitoring All Namespaces
        • Monitoring a Production
        • Viewing Messages
        • Filtering Messages
        • Tracing Messages
        • Managing Messages
        • Event Log
        • Business Rule Log
        • Business Process Instances
        • I/O Archive
        • Viewing Messages from Multiple Productions
        • Enterprise Message Viewer
        • Enterprise Message Bank
        • Interface Maps
        • Interface References
        • Alerts
        • Activity Volume
        • Port Usage
      • Testing Productions
        • Testing Productions Tutorial
        • Testing Productions
          • TestControl
          • Callback Methods
          • Auxiliary Methods
          • Parameters and Properties
          • Creating a Test - Summary
          • Executing a Test
          • Example Overview
          • Example: Example Production
          • Example: Production Test
          • Example: OnAfterProductionStart
          • Example: CheckResults
          • Example: CheckErrors
          • Example: Executing the Test
          • Recap
        • Creating Tutorial.ExampleOperation
    • Communication Protocols
      • Protocols & Adapters
      • Message Formats
      • Cloud Storage Adapters
        • Introduction
        • Inbound Adapter
        • Outbound Adapter
        • Settings Reference
        • APIs
      • CloudWatch Adapter
      • Email Adapters
        • Inbound Adapter
        • Outbound Adapter
        • Settings Reference
      • External Messaging Platforms
        • Sending Amazon SNS Messages
        • Retrieving Amazon SQS Messages
        • Sending Amazon SQS Messages
        • Retrieving JMS Messages
        • Sending JMS Messages
        • Retrieving Kafka Messages
        • Sending Kafka Messages
        • Retrieving RabbitMQ Messages
        • Sending RabbitMQ Messages
        • Settings Reference
      • File Adapters
        • Inbound Adapter
        • Outbound Adapter
        • Passthrough Classes
        • Settings Reference
      • FTP Adapters
        • Inbound Adapter
        • Outbound Adapter
        • Settings Reference
      • HTTP Adapters
        • Introduction
        • Inbound Adapter
        • Outbound Adapter
        • Built-in HTTP Components
        • Settings Reference
      • JMS (Legacy)
        • JMS Overview (Legacy)
        • JMS Business Services & Operations (Legacy)
        • Custom JMS Services & Operations (Legacy)
      • IBM WebSphere MQ
        • Introduction
        • Inbound Adapter
        • Outbound Adapter
        • Troubleshooting IBM WebSphere MQ Adapters
        • Settings Reference
      • MQTT
        • Introduction
        • MQTT Adapters
        • Passthrough
        • Settings Reference
      • REST Services and Adapters
        • REST Services
        • REST Operations
      • SOAP Services and Web Clients
        • Introduction
        • Web Services
        • Web Clients
        • Configuring the Production
        • Inbound Adapter (Alternative)
        • Older Web Service Variation
        • Settings Reference
      • SAP Java Connector
        • Overview
        • Setup Tasks
        • Using the SAP Java Connector
      • SQL Adapters
        • Introduction
        • Using an SQL Business Service
        • Using an SQL Business Operation
        • More About Messages
        • More About Procedures
        • Custom SQL Business Services
        • Custom SQL Business Operations
        • Creating Adapter Methods
        • Using Result Sets (SQL Adapters)
        • Using Snapshots (SQL Adapters)
      • TCP Adapters
        • Inbound Adapters
        • Outbound Adapters
        • Special Topics
        • Settings Reference
      • Managed File Transfer
        • Introduction
        • Prerequisites & Configuration
        • Configuring the Production
        • MFT API
    • EDIFACT, X12, XML
      • About...
      • Using Virtual Documents in Productions
        • Introduction to Virtual Documents
        • Schema Definitions for Virtual Documents
        • Virtual Property Paths for Virtual Documents
        • Using Virtual Documents in a Production
        • Defining Search Tables for Virtual Documents
        • Controlling Message Validation for Virtual Documents
        • Creating Custom Schema Categories for Virtual Documents
        • Portal Tools for Virtual Documents
        • Syntax Guide for Virtual Property Paths
        • Common Settings (Virtual Documents)
      • EDIFACT
        • Introduction
        • Available Tools
        • Configuring the Production
        • Additional Steps
        • Settings Reference
      • X12
        • Introduction
        • Available Tools
        • Configuring the Production
        • Data Transformations
        • Handling X12 Interchanges
        • Settings Reference
      • XML Virtual Documents
        • Introduction
        • Available Tools
        • Configuring the Production
        • Virtual Property Paths
        • Schema-dependent Paths
        • DOM-style Paths
        • Data Transformations
        • Rule Sets
        • Search Tables
        • Classes for Use with XML Virtual Documents
        • Settings Reference
        • XML-Enabled Objects
    • Legacy User Interfaces
      • Legacy DTL Editor
        • Introduction
        • Creating Data Transformations
        • Adding and Editing Actions
        • Assign Actions
        • Other Actions
      • Legacy Production Configuration Page
        • Introduction
        • Creating a Production
        • Adding Business Hosts
        • Modifying Business Hosts
        • Configuring Settings
  • Analytics and Data Science
    • About...
    • Business Intelligence
      • About...
      • BI Introduction
        • Introduction to Business Intelligence
        • Introduction to the Business Intelligence User Interfaces
        • Introduction to the Other Business Intelligence Tools
        • Business Intelligence Glossary
      • BI Modeling
        • Overview of InterSystems IRIS Business Intelligence Models
        • Basic Concepts
        • Summary of Model Options
        • Principles and Recommendations
        • Defining Models for InterSystems Business Intelligence
        • Compiling and Building Cubes
        • Defining Dimensions, Hierarchies, and Levels
        • Details of Defining Levels
        • Defining Properties
        • Defining Measures
        • Defining Listings
        • Defining Listing Fields
        • Defining Calculated Members
        • Defining a Named Set
        • Defining Subject Areas
        • Defining Listing Groups
        • Reference Information for Cube Classes
        • Reference Information for Subject Area Classes
        • Details for the Fact and Dimension Tables
      • BI Advanced Modeling
        • Defining Computed Dimensions
        • Defining Shared Dimensions and Compound Cubes
        • Defining Cube-Cube Relationships
        • Using Text Analytics in Cubes
        • Defining Term Lists
        • Defining Worksheets
        • Defining Quality Measures
        • Defining Basic KPIs
        • Defining KPIs with Filters and Listings
        • Defining Advanced KPIs
        • Defining Plug-ins
        • Using Cube Inheritance
        • Defining Intermediate Expressions
        • Other Options
        • Reference Information for KPI and Plug-in Classes
        • Generating Secondary Cubes for Use with Text Analytics
      • Using Dashboards and the User Portal
        • Introduction to the User Portal
        • Using the Portal Features
        • Orientation to Dashboards
        • Using Dashboards
        • Using the Pivot Analysis Window
      • BI Dashboards
        • Introduction to Dashboards
        • Creating and Modifying Dashboards
        • Specifying Common Widget Options
        • Adding Pivot Table Widgets
        • Adding Chart Widgets
        • Customizing the Appearance of a Chart Widget
        • Adding Meter Widgets
        • Adding Scorecard Widgets
        • Adding Other Widgets
        • Defining and Using Themes
        • Adding Widget Controls
      • Implementing InterSystems IRIS Business Intelligence
        • Overview of Business Intelligence
        • Initial Steps
        • Settings
        • Data Connectors
        • Performance Tips
        • Custom Actions
        • Accessing Dashboards from Your Application
        • Keeping the Cubes Current
        • Using Cube Synchronization
        • Using the Cube Manager
        • Executing Queries Programmatically
        • Localization
        • Packaging Business Intelligence Elements into Classes
        • Portlets
        • Additional Steps
        • Controlling Access
        • Cube Versions
        • How the Analytics Engine Works
        • MDX Performance Utility
        • Logging and Diagnostics
        • Other Export/Import Options
        • Disaster Recovery
      • BI Analyzer
        • Introduction to the Analyzer
        • Creating Pivot Tables
        • Filtering Pivot Tables
        • Defining Calculated Elements
        • Defining and Using Pivot Variables
        • Customizing Pivot Tables
        • Working with Pivot Tables
        • Performing Ad Hoc Analysis
        • Configuring InterSystems IRIS for PDF Output
      • Using MDX
        • Business Intelligence and MDX
        • Basic MDX Queries
        • Working with Levels
        • Working with Dimensions and Hierarchies
        • Working with Sets
        • Tuples and Cubes
        • Filtering a Query
        • Adding Summaries
        • Creating Calculated Measures and Members
      • MDX Reference
        • Basic Rules
        • Expression Types (MDX)
        • MDX Statements and Clauses
        • MDX Functions
        • Intrinsic Properties (MDX)
        • NOW Member for Time Levels
        • Quick Function Reference (MDX)
      • Power BI
      • BI Clients
        • Using Business Intelligence
        • DeepSee.js
        • Business Intelligence REST API
      • BI Tutorial
        • Business Intelligence Tutorial: Getting Started
        • Introduction to Cube Elements
        • Creating a Cube
        • Expanding the Cube Definition
        • Creating Subject Areas
        • Creating & Packaging Pivot Tables & Dashboards
    • Machine Learning
      • About...
      • Using IntegratedML
        • Introduction to IntegratedML
        • IntegratedML Basics
        • Providers
        • ML Configurations
        • Model Maintenance
      • AutoML Reference
        • Introduction to AutoML
        • Highlighted Features of AutoML
        • Feature Engineering
        • Algorithms Used
        • Model Selection Process
    • Text Analytics (Natural Language Processing)
      • About Text Analytics
      • Conceptual Overview
      • NLP Implementation
      • Domain Architect
      • Domain Explorer
      • Indexing Results
      • REST Interface
      • Creating an NLP Environment Manually
      • Loading Text Data Programmatically
      • Performance Considerations when Loading Texts
      • NLP Queries
      • Semantic Attributes
      • Stemming
      • Skiplists
      • Filtering Sources
      • Text Categorization
      • Dominance and Proximity
      • Custom Metrics
      • Smart Matching: Creating a Dictionary
      • Smart Matching: Using a Dictionary
      • User Interfaces
      • InterSystems IRIS Natural Language Processing (NLP) Tools
      • iKnow Web Services
      • KPIs and Dashboards
      • Customizing NLP
      • Language Identification
      • Domain Parameters
    • Predictive Modeling Markup Language
    • Unstructured Information Management Architecture
      • Using UIMA Support
    • InterSystems Reports
    • InterSystems IRIS Adaptive Analytics
Class ReferenceOpens in a new tab View this item as PDFOpens in a new tabDownload all PDFsOpens in a new tab Sun iconMoon icon Thanks for your feedback!Need to tell us more? Click here or use the Feedback button.

Is this page helpful?

Please select a reason:

    Easy to understand Well organized Found what I was looking for Enjoying the new design! Other
Submit Cancel

Please select a reason:

    Hard to understand Content displayed poorly Didn't find what I needed I prefer the old design better Other
Submit Cancel Contents
  • Table of Symbols
Symbols Used in InterSystems SQL Contents
  • Table of Symbols
A table of characters used in InterSystems SQL as operators, etc.

Table of Symbols

The following are the literal symbols used in InterSystems SQL on InterSystems IRIS® data platform. (This list does not include symbols indicating format conventions, which are not part of the language.) There is a separate table for symbols used in ObjectScript.

The name of each symbol is followed by its ASCII decimal code value.

Symbol Name and Usage
[space] or [tab] White space (Tab (9) or Space (32)): One or more whitespace characters between keywords, identifiers, and variables.
!

Exclamation mark (33): OR logical operator in between predicates in condition expressions. Used in the WHERE clause, the HAVING clause, and elsewhere.

In SQL Shell, the ! command is used to issue an ObjectScript command line.

!= Exclamation mark/Equal sign: Is not equal to comparison condition.
"

Quotes (34): Encloses a delimited identifier name.

In Dynamic SQL used to enclose literal values for class method arguments, such as SQL code as a string argument for the %Prepare() method, or input parameters as string arguments for the %Execute() method.

In %PATTERN used to enclose a literal value within a pattern string. For example, '3L1"L".L' (meaning 3 lowercase letters, followed by the capital letter “L”, followed by any number of lowercase letters).

In XMLELEMENT used to enclose a tag name string literal.

"" Two quotes: By themselves, an invalid delimited identifier. Within a delimited identifier, an escape sequence for a literal quote character. For example, "a""good""id".
#

Pound sign (35): Valid identifier name character (not first character).

With spaces before and after, modulo arithmetic operator.

For Embedded SQL, ObjectScript macro preprocessor directive prefix. For example, #include.

In SQL Shell the # command is used to recall statements from the SQL Shell history buffer.

$

Dollar sign (36): Valid identifier name character (not first character).

First character of some InterSystems IRIS extension SQL functions.

$$ Double dollar sign: used to call an ObjectScript user-defined function (also known as an extrinsic function). For more details, see Function and Method Call Selection in the selectItem argument of the SELECT reference page.
%

Percent sign (37): Valid first character for identifier names (first character only).

First character of some InterSystems SQL extensions to the SQL standard, including string collation functions (%SQLUPPER), aggregate functions (%DLIST), and predicate conditions (%STARTSWITH).

First character of %ID, %TABLENAME, and %CLASSNAME keywords in SELECT.

First character of some privilege keywords (%CREATE_TABLE, %ALTER) and some role names (%All).

First character of some Embedded SQL system variables (%ROWCOUNT, %msg).

Data type max length indicator: CHAR(%24)

LIKE condition predicate multi-character wildcard.

%%

Double percent sign: Prefix for the pseudo-field reference variable keywords: %%CLASSNAME, %%CLASSNAMEQ, %%ID, and %%TABLENAME, used in ObjectScript computed field code and trigger code.

&

Ampersand (38): AND logical operator in WHERE clause and other condition expressions.

Embedded SQL invocation prefix: &sql(SQL commands).

' Single quote character (39): Encloses a string literal.
''

Double single quote characters: An empty string literal.

An escape sequence for a literal single quote character within a string value. For example: 'can''t'

( )

Parentheses (40,41): Encloses comma-separated lists. Encloses argument(s) of an SQL function. Encloses the parameter list for a procedure, method, or query. In most cases, the parentheses must be specified, even if no arguments or parameters are supplied.

In a SELECT DISTINCT BY clause, encloses an item or comma-separated list of items used to select unique values.

In a SELECT statement, encloses a subquery in the FROM clause. Encloses the name of a predefined query used in a UNION.

Encloses host variable array subscripts. For example, INTO :var(1),:var(2)

Encloses embedded SQL code: &sql( code )

Used to enforce precedence in arithmetic operations: 3+(3*5)=18. Used to group predicates: WHERE NOT (Age<20 AND Age>12).

(( )) Double Parentheses: suppress literal substitution in cached queries. For example, SELECT TOP ((4)) Name FROM Sample.Person WHERE Name %STARTSWITH (('A')). Optimizes the WHERE clause selection of a non-null outlier value.
*

Asterisk (42): A wildcard, indicating “all” in the following cases: In SELECT retrieve all columns: SELECT * FROM table. In COUNT, count all rows (including nulls and duplicates). In GRANT and REVOKE, all basic privileges, all tables, or all currently defined users.

In %MATCHES pattern string a multi-character wildcard.

Multiplication arithmetic operator.

*/ Asterisk slash: Multi-line comment ending indicator. Comment begins with /*.
+ Plus sign (43): Addition arithmetic operator. Unary positive sign operator.
,

Comma (44): List separator, for example, multiple field names.

In data size definition: NUMERIC (precision,scale).

Hyphen (minus sign) (45): Subtraction arithmetic operator. Unary negative sign operator.

SQLCODE error code prefix: –304.

Date delimiter.

In %MATCHES pattern string a range indicator specified within square brackets. For example, [a-m].

–– Double hyphen: Single-line comment indicator.
–> Hyphen, greater than (arrow): implicit join arrow syntax.
.

Period (46): Used to separate parts of multipart names, such as qualified table names: schema.tablename, or column names: tablealias.fieldname

Decimal point for numeric literals in American numeric format.

Date delimiter for Russian, Ukrainian, and Czech locales: DD.MM.YYYY

Prefixed to a variable or array name, specifies passing by reference: .name

%PATTERN pattern string multi-character wildcard.

/

Slash (47): Division arithmetic operator.

Date delimiter.

/* Slash asterisk: Multi-line comment begins indicator. Comment ends with */.
:

Colon (58): Host variable indicator prefix: :var

A time delimiter for hours, minutes, and seconds. In CAST and CONVERT functions, an optional thousandth-of-a-second delimiter.

In trigger code a prefix indicating an ObjectScript label line.

In CREATE PROCEDURE ObjectScript code body, a macro preprocessor directive prefix. For example, :#include.

:: Double colon: In trigger code this doubled prefix indicates that the identifier (::name) beginning that line is a host variable, not a label line.
; Semicolon (59): SQL end of statement delimiter in procedures, methods, queries, and trigger code. Accepted as an optional end of statement delimiter by ImportDDL() or wherever specifying SQL code using a TSQL dialect. Otherwise, InterSystems SQL does not use or allow a semicolon at the end of an SQL statement.
< Less than (60): Less than comparison condition.
<= Less than or equal to: Less than or equal to comparison condition.
<> Less than/Greater than: Is not equal to comparison condition.
=

Equal sign (61): Equal to comparison condition.

In WHERE clause, an Inner Join.

> Greater than (62): Greater than comparison condition.
>= Greater than or equal to: Greater than or equal to comparison condition.
?

Question mark (63): In Dynamic SQL, an input parameter variable supplied by the Execute method.

In %MATCHES pattern string a single-character wildcard.

In SQL Shell the ? command displays help text for SQL Shell commands.

@ At sign (64): Valid identifier name character (not first character).
E, e

The letter “E” (69, 101): Exponent indicator.

%PATTERN code specifying any printable character.

[ Open square bracket (91): Contains predicate. Used in the WHERE clause, the HAVING clause, and elsewhere.
[ ] Open and close square brackets: In %MATCHES pattern string, encloses a list or range of match characters. For example, [abc] or [a-m].
\

Backslash (92): Integer division arithmetic operator.

In %MATCHES pattern string an escape character.

] Close square bracket (93): Follows predicate. Used in the WHERE clause, the HAVING clause, and elsewhere.
^ Caret (94): In %MATCHES pattern string a NOT character. For example, [^abc].
_

Underscore (95): Valid first (or subsequent) character for identifier names. Valid first character for certain user names (but not passwords).

Used in column names to represent embedded serial class data: SELECT Home_State, where Home is a field that references a serial class and State is a property defined in that serial class.

LIKE condition predicate single-character wildcard.

{ }

Curly braces (123,125): Enclose ODBC scalar functions: {fn name(...)}. Enclose time and date construct functions: {d 'string'}, {t 'string'}, {ts 'string'}.

Enclose ObjectScript code in procedures, methods, queries, and trigger code.

||

Double vertical bar (124): Concatenation operator.

Compound ID indicator. Used by InterSystems IRIS as a delimiter between multiple properties in a generated compound object ID (a concatenated ID). This can be either an IDKey index defined on multiple properties (prop1||prop2), or an ID for a parent/child relationship (parent||child). Cannot be used in IDKEY field data.

Syntax ConventionsNext section FeedbackOpens in a new tab

Tag » What Does Mean In Sql