我在 Azure 上使用逻辑应用设计器。添加了“ SQL Azure - 插入行”作为操作,它提示我为列插入值,但所有列都标记为必填,如果未在此处输入值,它不会保存更改/序列。
有没有绕过这个或使列可选?
我在 Azure 上使用逻辑应用设计器。添加了“ SQL Azure - 插入行”作为操作,它提示我为列插入值,但所有列都标记为必填,如果未在此处输入值,它不会保存更改/序列。
有没有绕过这个或使列可选?
I tried this previously, there was no way to make the columns optional but i figured a workaround. First, in the designer put any value, then open Code view and look for the columns you don't need and just delete it from the JSON schema and hit save :) that should do it for you, but next time you open in designer and try to edit you have to do this again. let me know if it helps
Edited
I added a screenshot of the steps that i made while trying to replicate this. (note that your database schema should handle these null values for the columns, in my case the Guid
had a default value of newid()
and the other column allowed nulls). You always pass null to the columns, not passing values at all might make sense for columns that has values computed or has default values (like newid()
uniqueidentifier or getdate()
for created/modified time)