Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sql char length functions #4134

Merged
merged 2 commits into from
May 5, 2023

Commits on May 5, 2023

  1. Add Hsql char length function

    Hsql supports LENGTH, CHAR_LENGTH, CHARACTER_LENGTH and are synonymous.
    
    All functions return a BIGINT value that measures the length of the string in characters.
    
    There appeared to be an issue in running HsqlTest where the schema is created each test.
    Appending “;shutdown=true” to the connection string closes the in memory database.
    griffio committed May 5, 2023
    Configuration menu
    Copy the full SHA
    4e82d99 View commit details
    Browse the repository at this point in the history
  2. Add MySql character length functions

    MySql supports LENGTH, CHAR_LENGTH, CHARACTER_LENGTH.
    
    LENGTH returns the count of bytes.
    CHAR_LENGTH, CHARACTER_LENGTH return count of characters
    
    Note: AnsiSqlTypeResolver provides ‘length’ function
    griffio committed May 5, 2023
    Configuration menu
    Copy the full SHA
    0f5a486 View commit details
    Browse the repository at this point in the history