Question
Change Database connection for a table via Python
Hi Team,
I am currently working on auto-assignment of the DBConnection to the table all at once in the front end via the python code. But i am not getting any functions which can help me with that.
I am able to connect to the datamodel, fetch the table ,table data and change the table names too.
The only thing i am lacking is to change the DBConnection of everytable from python.
I could analyze from the data of the table fetched via python that each DBConnection has their own DBConnectionID , but i am unable to change that ID from python.
Please let me know if that change is possible, if so, how to do it.
Thanks in advance.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
I have used your explanation in the above answer(for the people who are looking for this hint exactly) because thats what gave me the idea when i was going through your DEV to PROD topic,to change that is required and change the DBconnection and with one step further, the source table names corresponding to that DBConnection and syncronize the columns in a single shot for all the tables removing a lot of manual work .
And Ofcourse thank you for the code