Coder Social home page Coder Social logo

Comments (8)

eduard93 avatar eduard93 commented on June 2, 2024

Add info about 490 and truncate to descriptions

from restforms.

adaptun avatar adaptun commented on June 2, 2024

What limit is this? Is this system limit?

from restforms.

eduard93 avatar eduard93 commented on June 2, 2024

@adaptun you can't ORDER BY on fields with values longer then ~490 symbols

from restforms.

adaptun avatar adaptun commented on June 2, 2024

Depends on collation and symbols.

On cyrillic3 if length of string is >~250 and it contains only latin characters you cannot order by it either.
On cyrillic4 you can.

from restforms.

adaptun avatar adaptun commented on June 2, 2024
for col = "Cache standard", "Cyrillic1", "Cyrillic3", "Cyrillic4" {
   kill ^a
    write ##class(%GlobalEdit).Create(,"a",##class(%Collate).DisplayToLogical(col)), " "
    for letter = "F","Ф" {
        try {
            for i=1:1:1000 {
                kill s
                set $Piece(s, letter, i + 1) = ""
                set ^a(s) = 1
            }
        } catch (ex) {
            if ex.Name [ "<SUBSCRIPT>" {
                write col, " ", letter, " ", i,!
            }
        }
    }
 }

USER>d ^test
1 Cache standard F 509
Cache standard Ф 508
1 Cyrillic1 F 254
Cyrillic1 Ф 254
1 Cyrillic3 F 255
Cyrillic3 Ф 509
1 Cyrillic4 F 509
Cyrillic4 Ф 508

from restforms.

eduard93 avatar eduard93 commented on June 2, 2024

Even less, as in SQL global key is not only offending value but something else too.

from restforms.

adaptun avatar adaptun commented on June 2, 2024

Generally, this should be solved by setting SQL collation for the property
http://docs.intersystems.com/cache201513/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_order#RSQL_C61762

from restforms.

eduard93 avatar eduard93 commented on June 2, 2024

Done

from restforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.