Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to add a new SQL Script to an already existing load Script in QLiksense, when I try to load I get the following error
What I think is happening is your existing dB connection is not closed and you are trying to query again to a different db without closing the first connection and
Example
Lib Connect to db1connection
Some SQL script querying db1;
Some SQL script querying db2;
Now since you are trying to find db2 tables/views in db1 you are getting invalid object name
Proper way
Lib Connect to db1connection;
Some SQL script querying db1;
Disconnect; // close previous connection
Lib Connect to db2connection;//open new connection to db2
Some SQL script querying db2;
Disconnect;
What I think is happening is your existing dB connection is not closed and you are trying to query again to a different db without closing the first connection and
Example
Lib Connect to db1connection
Some SQL script querying db1;
Some SQL script querying db2;
Now since you are trying to find db2 tables/views in db1 you are getting invalid object name
Proper way
Lib Connect to db1connection;
Some SQL script querying db1;
Disconnect; // close previous connection
Lib Connect to db2connection;//open new connection to db2
Some SQL script querying db2;
Disconnect;