Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

HANA Connection String

$
0
0

Hi experts,

 

I'm trying to create a class to do a direct connection for other application to HANA database, unfortunately I'm still new in HANA studio and I need your advice on the below.

 

From the sample I got, the format of HANA connection string should be as follow.

 

Dim connStr As String = "DRIVER={HDBODBC32};UID=SYSTEM;PWD=PASSWORD;SERVERNODE=192.168.1.11:30015;DATABASE=SBOCOMMON"

 

Can anyone advise where should I get the SERVERNODE parameter value?

I saw in the Properties of the root node (NDB) - Additional Properties - Host : 192.168.1.11:30015, is this the 'ServerNode' that the connection string referring too?

 

I tried to make this class as reference from VB applications in the future, I can manage to pass the UID and Password, but how to make the connection string to be flexible enough to get current ServerNode so I won't need to change the connection string and recompile the class everytime I'm going to use it as reference to other application?

 

Please enlighten me..

 

Thanks and best regards,

 

Krisma


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>