and more in a single search tool across platforms. Read the announcement here. |
04/12/2022 01:05 PM
I am using the example CreateAccountJson for the database connector and the connector will not save. I have removed, added, modified the example with no success as the connector will not save and hang. Has anyone used the DB connector to create records in a MS SQL table? Is there other example Json available?
( { "CreateAccountQry" : [ "CALL testproc() " , "Insert into users(USERKEY, USERNAME, ENABLED , PASSWORD) VALUES ( ${user.id} , '${user.username}' , ${user.enabled} , '${user.password}')"} ] } )
Solved! Go to Solution.
04/12/2022 02:21 PM
Sample create account query for MS SQL Server
{
"createaccountqry": "INSERT INTO [dbo].[User] ([Username] ,[Firstname],[Lastname]) VALUES (\'${accountName}\' , \'${user.firstname}\' , \'${user.lastname}\')"
}
04/12/2022 02:21 PM
This syntax may work, but the instance I am using does not allow any json syntax when the save and test button is clicked. That is being looked at currently.
04/12/2022 02:21 PM
Thanks, this actually help me, get it to work
04/12/2022 02:21 PM
I am also facing the same issue. My connection is Oracle DB. Has this issue been resolved yet?
04/12/2022 02:21 PM
What is "call testproc()" from the sample documentation? More specifically, what does the testproc do, where does it live, etc?