Using: PowerBuilder 6.5.1, SQL Server 7.0
My application connects to a database but needs to call a stored procedure in the 'master' database on the same server. Here's what I have for the stored procedure declaration:
DECLARE decrypt_password PROCEDURE FOR master..stp_verify
@crypt_word = :as_encrypted_word,
@ver_word = :as_word
USING joinge_tran;
If this is changed to
DECLARE decrypt_password PROCEDURE FOR stp_verify
...
and my database transaction object is set up to connect to the 'master' database, then all is well. But I need to connect to another database to do updates and using
DECLARE decrypt_password PROCEDURE FOR master..stp_verify
...
doesn't work. I get the following error message:
Error converting data type varchar to int
Any ideas, anyone?
My application connects to a database but needs to call a stored procedure in the 'master' database on the same server. Here's what I have for the stored procedure declaration:
DECLARE decrypt_password PROCEDURE FOR master..stp_verify
@crypt_word = :as_encrypted_word,
@ver_word = :as_word
USING joinge_tran;
If this is changed to
DECLARE decrypt_password PROCEDURE FOR stp_verify
...
and my database transaction object is set up to connect to the 'master' database, then all is well. But I need to connect to another database to do updates and using
DECLARE decrypt_password PROCEDURE FOR master..stp_verify
...
doesn't work. I get the following error message:
Error converting data type varchar to int
Any ideas, anyone?