Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

SQL Server connecting string and use of XPassword

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Joseph_Musekura
Support
Support

SQL Server connecting string and use of XPassword

Last Update:

Oct 7, 2020 6:15:15 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 15, 2014 9:56:34 AM

There are different options and values to be specified when connecting to and retrieving data from an SQL Server. You can decide either to have (1) an integrated security based connection (Windows NT integrated mode) or  (2) a connection using a specific userID and PWD. 

1. Integrated security-based connection (using Windows NT integrated mode)
 
SQLXPassword01.png
 
 
SQL Connection String result:

OLEDB CONNECT TO [Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True; Initial Catalog=TestBinary; ……………………….];

2. A connection using a specific userID and PWD.
 
SQLXPassword02.png

 w


In this second option i.e. when specific "userID/PWD" is  required, you can also decide either to scramble the provided PWD or not

From Qlikview Script,  Click "settings" tab  and verify if  “Scramble Connect User Credentials”  is checked.
* If this box is checked, the XPassword is added (i.e. in unreadable format) in the connecting string.

 
SQLXPassword03.png
 

SQL Connection String result: 
OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Initial Catalog=TestBinary;  ……………………….] (XPassword is eFcbSWFPSbbeWWBISRMATYMQ);

* But if this box is unchecked then the word “Password” is added in the connecting string in readable format (instead of XPassword).
 
SQL Connection String result:

OLEDB CONNECT TO [Provider=SQLOLEDB.1;Password=my@password;Persist Security Info=True;User ID=sa;Initial Catalog=TestBinary; ……………………….];

 
Labels (1)
Contributors
Version history
Last update:
‎2020-10-07 06:15 AM
Updated by: