You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
Main build (Jenkins)
This commit is contained in:
17
docs/en/examples/MSSQL/AddTableColumn.txt
vendored
Normal file
17
docs/en/examples/MSSQL/AddTableColumn.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
15
docs/en/examples/MSSQL/ClearTable.txt
vendored
Normal file
15
docs/en/examples/MSSQL/ClearTable.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
||||
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
|
||||
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);
|
||||
14
docs/en/examples/MSSQL/DeleteDatabase.txt
vendored
Normal file
14
docs/en/examples/MSSQL/DeleteDatabase.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
|
||||
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);
|
||||
15
docs/en/examples/MSSQL/DeleteTable.txt
vendored
Normal file
15
docs/en/examples/MSSQL/DeleteTable.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
||||
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
|
||||
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.DeleteTable(Table, ConnectionString, TLSSettings);
|
||||
16
docs/en/examples/MSSQL/DeleteTableColumn.txt
vendored
Normal file
16
docs/en/examples/MSSQL/DeleteTableColumn.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
|
||||
Base = "testbase1";
|
||||
Table = "testtable";
|
||||
Name = "new_field";
|
||||
|
||||
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.DeleteTableColumn(Table, Name, ConnectionString, TLSSettings);
|
||||
21
docs/en/examples/MSSQL/EnsureTable.txt
vendored
Normal file
21
docs/en/examples/MSSQL/EnsureTable.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
|
||||
Base = "testbase1";
|
||||
Table = "testtable";
|
||||
|
||||
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
|
||||
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
|
||||
|
||||
ColoumnsStruct = New Structure;
|
||||
ColoumnsStruct.Insert("smallint_field" , "smallint");
|
||||
ColoumnsStruct.Insert("double_field" , "real");
|
||||
ColoumnsStruct.Insert("bigint_field" , "bigint");
|
||||
ColoumnsStruct.Insert("custom_field" , "nvarchar");
|
||||
|
||||
// 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.EnsureTable(Table, ColoumnsStruct, ConnectionString, TLSSettings);
|
||||
@@ -1,6 +1,5 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "";
|
||||
|
||||
Result = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
|
||||
Result = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
|
||||
|
||||
15
docs/en/examples/MSSQL/GetTableInformation.txt
vendored
Normal file
15
docs/en/examples/MSSQL/GetTableInformation.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "SA";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
||||
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
|
||||
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.GetTableInformation(Table, ConnectionString, TLSSettings);
|
||||
Reference in New Issue
Block a user