我想使用相同的存储插件加入两个表.但其中一列显示空值.我正在使用此查询: -
select * from SqlServer.test_mopslive.reports as Reports join
SqlServer.test_mopslive.reportsetting as ReportSetting on Reports.ID = ReportSetting.ID
Run Code Online (Sandbox Code Playgroud)
这SqlServer是存储插件名称,test_mopslive是数据库名称reports,reportsetting是表名称.
执行此查询时T_ID显示Null.
但如果我使用两个不同的存储插件名称和相同的凭据,它可以正常工作.
表格1:-
create table Reports (ID bigint, Name varchar(25));
insert into Reports values (29, 'SqlThree');
insert into Reports values (30, 'SqlTwo');
insert into Reports values (31, 'SqlThree');
Run Code Online (Sandbox Code Playgroud)
TABLE 2:-
CREATE TABLE ReportSetting
(
P_id bigint not null auto_increment primary key,
Name varchar(25),
ID bigint,
CONSTRAINT fk_ID FOREIGN KEY (ID)
REFERENCES Reports(ID));
insert into ReportSetting …Run Code Online (Sandbox Code Playgroud) 假设我要从 kafka 生产者向 kafka 消费者发送一些消息,那么它将存储在哪里?是否有用于存储消息的数据库?消息存储多长时间?
任何人都可以请解释一下。
我在 jQuery 中使用 title 属性。
createAlert: function () {
return '<img id="img" class="img pull-left" src="/Content/img/demo_16px.png" tabindex="0" style="outline: none;" title=' + demo.rawData + '></span>';
}
Run Code Online (Sandbox Code Playgroud)
这里在这段代码中,标题包含动态数据(demo.rawData Contain text = 'This is my code')
但是当我在浏览器中悬停标题时,它只显示这个(即只显示第一个词)
谁能告诉我我做错了什么。?
我知道当不再使用对象时,垃圾收集器会调用析构函数。但我想知道
如何通过C#代码调用析构函数?
如果可能,请提供一些基本示例以供理解。
apache-drill ×2
.net ×1
apache-kafka ×1
c# ×1
c#-2.0 ×1
c#-3.0 ×1
c#-4.0 ×1
css ×1
html ×1
javascript ×1
jquery ×1
sql-server ×1