Problem with NQS_PASSWORD_CLAUSE block of initialization

I try to use the NQS_PASSWORD_CLAUSE in my block of session for authentication of the user's initialization. I query a table called bi_auth_table, which contains the bi_user and bi_user_pw columns.

Here are my source of block initialization code:

Select bi_user from global_admin.bi_auth_table
"where bi_user = ': the USER"
NQS_PASSWORD_CLAUSE (and bi_user_pw = ": PASSWORD '") NQS_PASSWORD_CLAUSE

When I test the block of initialization in offline mode, I am prompted for USER and PASSWORD. When I enter values and run the test, I get this error:

[nQSError: 17001] Oracle error code: 933, message: ORA-00933: SQL command not properly finished the call of the OCIStmtExecute OIC.
[nQSError: 17010] Prepare the SQL statement failed.

Any ideas?

Try without space after the clause NQS_PASSWORD_CLAUSE as stated in the Manual:

NQS_PASSWORD_CLAUSE (and pwd = ": PASSWORD '") NQS_PASSWORD_CLAUSE

Tags: Business Intelligence

Similar Questions

Maybe you are looking for