1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-07 23:03:08 +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-29 23:02:46 +00: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.123456789123456},'bit_field':{'BIT':true},'nvarchar_field':{'NVARCHAR':'Some text'},'varbinary_field':{'BYTES':'/tmp/2wqsao2l.flt'},'uid_field':{'UUID':'e772105c-49a1-4676-9a43-47bede0278c1'},'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':'2025-10-29T21:39:45.2180814Z'},'time_field':{'TIME':'2025-10-29T21:39:45.2180814Z'},'dto_field':{'DATETIMEOFFSET':'2025-10-29T21:39:45.2180814+05:00'},'datetime_field':{'DATETIME':'2025-10-29T21:39:45.2180814Z'}}]" \
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}"