gpt4 book ai didi

azure - 我们如何在 KQL 中插入基于列的记录

转载 作者:行者123 更新时间:2023-12-03 02:02:03 24 4
gpt4 key购买 nike

我使用内联查询将数据插入到我的表中。在不使用内联查询的情况下,我们可以插入基于列的记录吗?使用内联时,您必须输入所有列值,我们可以只插入一个列值吗?

最佳答案

insert single column-based record in KQL .

  • 使用数据表我能够实现它
.show  databases

enter image description here

.create  table  Employee (Name:string, Id:int, Country:string, Age:int)

enter image description here

.set-or-replace  EmployeeTable <|
datatable(Name:string, Id:int, Country:string, Age:int)
[
"sanjay", 123, "india", 21,
"john", 456, "usa", 35,
"maria", 789, "france", 27
]

enter image description here

let newEmployeeTable = datatable (Id:int) [4567, 8901, 2345];

EmployeeTable

| union newEmployeeTable

enter image description here

关于azure - 我们如何在 KQL 中插入基于列的记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75787135/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com