01-12-2022 03:04 PM - last edited on 05-24-2023 12:25 PM by JackLacava
SOURCE: ONESTREAM CHAMPIONS
Hi Team,
do we need to put some specific settings to connect the External DataBase… when we are connecting it via SQL Table Editor.
i am getting the below mentioned error ( where as the same connection works via Data Adaptor )
Regards and Thanks
Darpan Bhansali
01-12-2022 03:05 PM
01-12-2022 03:05 PM
Hi Terry,
i tried the above but it’s not working… i have OS 5.3 as of now.
it shows me error (mentioned above ) when i connect via above.
did you try connecting it on your OS , if yes, please share any screenshot for reference.
Regards and Thanks
Darpan Bhansali
01-12-2022 03:06 PM
@darpan.bhansali From the error message, may you select the ellipsis box at the bottom left and copy the error text from that to this thread for review?
01-12-2022 03:08 PM
Hi Michael,
Please find it attached here
Regards and Thanks
01-12-2022 03:11 PM
Hi Darpan,
Have you tried your query in a data adaptor first? What is the error?
Is the DB on the same server? If not, you will need to add a connection using the DB manager but it is only done at server level. You can not do this as an admin from the GUI.
01-12-2022 03:11 PM
Hi Nicolas,
Yeah the same connection works with Data Adaptor.
As per discussions with onestream team, with OS 5.3 ,
It is possible to use the SQL Table Editor with an external connection if the schema is not required to be included in the table name property. If it is required, then a schema property is available in the SQL Table Editor component from 6.1
So i think we have a dead end here.
Regards and Thanks
Darpan Bhansali.
01-12-2022 03:12 PM
Darpan
Suggestion based on the thread… Create an additional external DB connection as ODBC or OLE DB based on the current connection. For example, if the external DB connection is currently, ODBC create OLE DB and if ODBC create OLE DB. I suggest this because at one client the external connection stopped working one day unexpectedly and switching the connection type resolved the error. Also, if you execute SELECT * FROM SYS.SYSOBJECTS with the current connection do you get results.
Terry
01-12-2022 03:12 PM
Understood Terry,
Let me speak to One Stream team on the same , we do not have access to create New External DB Connection.
but as per my understanding creating new DB connection and changing the Default Schema should resolve this issue.
this issue is not per OLE DB or ODBC.
let me try both the options and confirm.
Regards
Darpan
01-12-2022 03:13 PM
01-12-2022 03:14 PM
Yeah so that’s the catch… Schema name. table name doesn’t works in sQL Table Editor.