- Log in to post comments
The first two systems I worked with using InterSystems technology were a PDP-11 running M11+ and a VAX 11/750 running M/VX. Too many years ago to count! 😊
Since then I've used most, if not all, InterSystems products up to IRIS and HealthShare today.
I'm Italian living in Switzerland and I work as Senior Consultant at GAIVOTA consultin SA, we provide professional services for InterSystems and other technologies.
Curiosity: apart from DC, I don't have ANY social account! 😁
WARNING: make sure to NEVER run that code in a mirrored environment!
- Log in to post comments
For example, if you instruct it to extract data where a column value equals “Support,” it may generate a condition like = 'Support' in the SQL query.
However, since the actual returned value is “SUPPORT,” the condition does not match.
Not really, when using the default %String collation (SQLUPPER) the SQL "=" condition is case insensitive, for example:
WHERE name = 'Enrico'
WHERE name = 'ENRICO'
WHERE name = 'enrico'
All match the record/row with my name regardless of the case is stored in the table.
If collation is changed to SQLSTRING, then only exact case will match the condition.
- Log in to post comments
Nice Tips & Tricks list! 🙂
Very useful.
Regarding #10 "Converting JSON array (%DynamicArray) to a comma-separated string and back:"
The returned is not really what I consider a "comma separated string".
To return my definition of "comma separated string" it would be:
Then, going back...it's another story 😉
Regarding #2 "Error check when we use Embedded SQL (&sql())"
In addition to error code and description it's often useful to get/include error details, like: