Forum Discussion
- AlexKarasChampion Level 3Hi Chris,
Considering the amount of the information you've provided us with, the only guess I have is that checkpoint contains incorrect connection string to the database. - ChrisProContributorI used following command :
Provider=MSDAORA.1;Password=xxxx;User ID="SYS as SYSDBA";Data Source=xxxxx;Persist Security Info=True;
It says that login is not correct.
If I use following command (not SYS), it works :
Provider=MSDAORA.1;Password=xxxx;User ID="xxxx";Data Source=xxxx;Persist Security Info=True;
So, what is the method to connect with : SYS as SYSDBA?
It works with sqlplus command.
What is the syntax? - AlexKarasChampion Level 3Hi Chris,
According to https://www.connectionstrings.com/oracle/ it should be something like:
Data Source=myOracleDB;User Id=SYS;Password=SYS;DBA Privilege=SYSDBA;
Does it help? - ChrisProContributorWhat is the method to make dynamic line?
Indeed, I do not know the password in advance, I'll read it in a configuration file. - AlexKarasChampion Level 3Hi Chris,
Concatenate two or more variables.
E.g. (VBScript untested sample):
Dim strPassword
Dim strConnStr
strPassword = <get password from file>
...
strConnStr = aqString.Format("Data Source=myOracleDB;User Id=SYS;Password=%s;DBA Privilege=SYSDBA;", _
strPassword)
...
Related Content
- 5 years ago
- 12 years ago
- 14 years ago
- 12 years ago
Recent Discussions
- 17 hours ago