1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/MSSQL/ClearTable.txt

16 lines
671 B
Plaintext
Raw Normal View History

2025-10-20 19:41:52 +03:00
 Address = FunctionParameters["PG_IP"];
2025-07-10 19:46:33 +03:00
Login = "SA";
2025-10-20 19:41:52 +03:00
Password = FunctionParameters["PG_Password"];
2025-07-10 19:46:33 +03:00
Base = "testbase1";
2025-09-01 14:51:24 +03:00
TLSSettings = OPI_MSSQL.GetTLSSettings(True);
2025-07-10 19:46:33 +03:00
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
Table = "testtable";
// 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.ClearTable(Table, ConnectionString, TLSSettings);