1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-03 22:39:12 +02:00
Files
OpenIntegrations/docs/en/cli/mssql/AddRecords/bash.txt

8 lines
1.1 KiB
Plaintext
Raw Normal View History

2025-10-07 15:34:22 +00:00
# JSON data can also be passed as a path to a .json file
2025-07-15 16:25:47 +03:00
oint mssql AddRecords \
2025-10-07 15:34:22 +00:00
--table "testtable" \
2025-10-14 09:39:27 +03:00
--rows "[{'tinyint_field':{'TINYINT':'5'},'smallint_field':{'SMALLINT':'2000'},'int_field':{'INT':'200000'},'bigint_field':{'BIGINT':'20000000000'},'float24_field':{'FLOAT24':'10.1234567'},'float53_field':{'FLOAT53':'10.1234567891235'},'bit_field':{'BIT':true},'nvarchar_field':{'NVARCHAR':'Some text'},'varbinary_field':{'BYTES':'C:\\Users\\bayse\\AppData\\Local\\Temp\\ka1gclux.1z5'},'uid_field':{'UUID':'f0978718-f643-4b3a-9f82-7529628abe18'},'numeric_field':{'NUMERIC':'5.333'},'xml_field':{'XML':'<?xml version=\"1.0\"?><root> <element> <name>Example</name> <value>123</value> </element> <element> <name>Test</name> <value>456</value> </element> </root>'},'date_field':{'DATE':'10/14/2025 7:50:53 AM'},'time_field':{'TIME':'10/14/2025 7:50:53 AM'},'dto_field':{'DATETIMEOFFSET':'10/14/2025 5:50:53 AM'},'datetime_field':{'DATETIME':'10/14/2025 7:50:53 AM'}}]" \
2025-10-07 15:34:22 +00:00
--trn true \
2025-07-15 16:25:47 +03:00
--dbc "Server=127.0.0.1;Database=***;User Id=SA;Password=***;" \
2025-10-07 15:34:22 +00:00
--tls "{'use_tls':true,'accept_invalid_certs':true}"