@Dmitry Maslennikov and @Robert Cemper I started doing some research regarding this, here is one mention of it being more efficient: link. Here it goes in a bit more detail.
- Log in to post comments
@Dmitry Maslennikov and @Robert Cemper I started doing some research regarding this, here is one mention of it being more efficient: link. Here it goes in a bit more detail.
Well deserved, congratulations!
I may be imagining things, but I think the "strange" names for the globals are there for a specific reason - to make access faster. I will have to do some research in documentation or in Learning materials, but it came up during my preparation for InterSystems SQL Specialist certification. So, I would suggest leave the names as they are unless you're planning to go directly through globals to work with data.
Congratulations! Well done everyone!
Congratulations to the winners! The ideas were really well presented in this contest!
Code and minds unite,
In the Community space
InterSystems shines
9 out of 12, not bad
Congrats @Dmitry Maslennikov, well deserved!
It was a great event full of interesting info and people!
Thanks for this summary, it doesn't sound too complicated to create an agent.
Congratulations everyone! Great result.
Points made by Enrico are 100% valid and you may need to consider them.
In your case, because your column is not named, you can use GetData(n) to get the count:
set sql = "SELECT COUNT(*) FROM "_tableName_" WHERE "_fieldName_">='"_fromDate_"' AND "_fieldName_"<='"_currentDate_"'"set resultset = ##class(%ResultSet).%New("%DynamicQuery:SQL")
set SC = resultset.Prepare(sql)
set SC = resultset.Execute(sql)
write resultset.GetData(1)Obviously don't forget to check the statuses.
As far as I know training does not include certification but it will obviousely increase your chances to answer more questions correctly and thus receive certification. In any case, I would definitely recommend doing the offline course - it's money well invested.
Congratulations to everyone! Great articles all around!
Well deserved, congratulations! I always read your FAQ articles, useful stuff!
Good luck with obtaining the black belt! Coming from a blue belt in Kung Fu 😁
It's like it was done on purpose 😁
Wow, lots of interesting stuff happened last year!
I'm very honored to be among the best authors of the Developer Community in different nominations! Congratulations to everyone!
Congratulations! Well done everyone!
Merry Christmas everyone and Happy New Year! 🎄🎅
And once again I'm a Language luminary:.png)
Still, 6 articles aren't too bad 😉
Congratulations! And to many more successful years!
Awesome! I'm 12th 🎉
I see someone is on the 3rd place...
Thank you for this suggestion.
PS. Being fluent in Russian won't help in this case, because the interface is in Ukrainian 😁
Wow! Something new and very exciting!
Oh, sounds exciting! I'm so going to try to participate!
Yeeeessss! Great news, can't wait to spend my points on stuff!