1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/MSSQL/AddTableColumn.txt
Vitaly the Alpaca (bot) 8ca18b357d Main build (Jenkins)
2025-07-10 19:46:33 +03:00

18 lines
707 B
Plaintext
Vendored

Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
Table = "testtable";
Name = "new_field";
DataType = "bigint";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
// 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.AddTableColumn(Table, Name, DataType, ConnectionString, TLSSettings);