Can someone point me in the right direction with this script please, am not able to connect to the SQL Server.
function TestADO()
{
var Conn = Sys["OleObject"]("ADODB.Connection");
Conn["ConnectionString"] = "Provider=SQLOLEDB;SERVER=\\UXXXXXXX\MSSQLSERVER2017;Database=DBXXXXX;User Id=UserXXXX;Password=PassXXXXX;"
Conn["Open"]();
ADO.CreateADOQuery("Select * FROM Users")
// Close the recordset and connection
Conn["Close"]();
}