Script for replacing data tables from SQL server


I would like to write a script to replace a data table in Spotfire. Currently I have to go to 'File' > 'Replace Table' then 'Select' > Connection to > 'SQL Server'.

Do you have a script, to do that? Input parameters: serverName, dbName, dbTableName, dxpTableName

Thank you very much for a quick feedback.

BR Urban

(1) Answer