我想得到一个动态的结果集,根据我找到的元素.以下是我的查询示例:
declare @til DateTime = dateadd(MINUTE, -0, getdate())
declare @fra datetime = DATEADD(MINUTE, -350, @til)
declare @title nvarchar(max) = 'test title'
DECLARE @cols AS NVARCHAR(MAX),
@query AS NVARCHAR(MAX);
create table errors (collection_id bigint, nr smallint, position smallint, stamp datetime)
create table t (collection_id bigint, collection_name nvarchar(max), nr smallint, [status] smallint, stamp datetime)
select @cols = STUFF((SELECT distinct ',' + QUOTENAME(errors.position)
from t t
left join errors on errors.collection_id = t.collection_id and errors.nr = t.nr
where t.Status = 4 and errors.Stamp …Run Code Online (Sandbox Code Playgroud) 如何获取默认边框JButton?
一个例子是:
Border border = new JButton().getBorder();
Run Code Online (Sandbox Code Playgroud)
但是我可以不创建新按钮吗?