1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/MSSQL/DeleteDatabase.txt
Vitaly the Alpaca (bot) 1120c732f0 Main build (Jenkins)
2025-10-20 19:41:52 +03:00

15 lines
641 B
Plaintext
Vendored

Address = FunctionParameters["PG_IP"];
Login = "SA";
Password = FunctionParameters["PG_Password"];
TLSSettings = OPI_MSSQL.GetTLSSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
Base = "testbase1";
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.DeleteDatabase(Base, ConnectionString, TLSSettings);