Get Sap Hana server version -


does 1 know hana equivalent or similar query to

select serverproperty('productversion'), serverproperty('productlevel'), serverproperty('edition'), @@version 

the closest find is

select * m_databases 

for completeness here answer scn: well, 1 thing here ms sql server uses different scheme indicate software version. so, wouldn't same semantics here anyhow.

for logging purposes, want capture used software version, it's definitively precise do: select version m_database.

technically it's possible have multiple sap hana installations on same machine different sps , revision levels.

so, asking "machine-level" or "server-level" version doesn't make sense here. instead, what's relevant software you're using; , m_database provides you.

if feel need separate different components of version string (major.minor.patch.build) that's trivial too:

select version,  substr_before (version, '.') major,  substr_before (substr_after (version, '.'), '.') minor,  substr_before (substr_after (substr_after (version, '.'), '.') , '.')  patch m_database; 

(build of no practical relevance customer, left out).

  • lars

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -