摘要:
http://www.ssrstips.com/free-reporting-services-barcodes 本文参考来源工作中需要用到SSRS呈现标签1、引用对应的字体(39、128)下载修改后缀名2、添加code代码,对字符编码 Public Shared Function Code39(ByVal stringText As String) As Byte() Dim result As Byte() = Nothing Try result = GenerateImage("Code 3 de 9", StringToBar... 阅读全文
摘要:
select emp_id,name,min(cdatetime),max(cdatetime) from (select *, (select count(*) 'ii' from vwDO_Test b where b.emp_id=a.emp_id and b.cdatetime <=a.cdatetime)ii from vwDO_Test a)c group by emp_id,name,DATEADD(day,-c.ii,cdatetime) having count(*)> =7order by emp_id 阅读全文
摘要:
--DeletedCREATE TRIGGER [dbo].[Battery_Deleted] ON [dbo].[tblBattery] instead of DELETEAS set nocount on --無返回影響行數insert into dbo.tblBatteryLog select * from deleted;delete from dbo.tblBattery where... 阅读全文
摘要:
if object_id('tempdb..#A') is not null drop table #A select 'a' as Name,2007 as Year,100 as M into #A insert into #A select 'a'as Name,2008 as Year,400 as M insert into #A select 'a'as Name,2009 as Ye... 阅读全文