Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ECC 6.0 and SQL statements

Former Member
0 Likes
452

Hi,

We have upgraded from ecc 5.0 to ecc 6.0 and we have a problem when connecting to an external DB using the following statements :

select single con_name into h_conname from dbcon where con_name = 'GBL'.
 
    EXEC SQL.
      CONNECT TO :h_conname
    ENDEXEC.

This works fine in 5.0.

In 6.0 however, when trying to connect the connection gets refused due to a wrong password.

I have noticed that the ( encrypted ? ) password in 6.0 has changed in table DBCON.

I've already tried by setting the password to the one from 5.0, it still refuses the connection.

Does anybody have any idea how i can solve this ?

Best regards,

Dirk.

1 REPLY 1
Read only

Former Member
0 Likes
379

Check whether the password is case sensitive or not.

Give the same password in ur tbale too.