Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
wanyunyang
Creator III
Creator III

Connection string question

Hi guys,

Under my connection string, multiple databases are available, but I want to set one database to default.

I tried:

LIB CONNECT TO 'NAV 

DBQ=Gabriel_Nav_Prod.dbo';

 

"NAV" is the connection name, and Gabriel_Nav_Prod is the database under NAV connection which I want to set to default. But it threw an error. 

 

Any ideas? Thanks in advance!

 

 

1 Solution

Accepted Solutions
stevejoyce
Specialist II
Specialist II

The default database is in the definition of your actual connection.  Edit your connection "NAV" and add default db there.

View solution in original post

1 Reply
stevejoyce
Specialist II
Specialist II

The default database is in the definition of your actual connection.  Edit your connection "NAV" and add default db there.