摘要:
EXCEL 汇出的时候,如果一时间汇出大量的数据的话,会影响服务器的性能及效率,故分批汇出,每一批50000条数据(每页EXCEL支持65536行),具体实现如下Public Shared Sub ExportBatch(dtSource As DataTable, strFileName As S... 阅读全文
摘要:
declare @sql varchar(8000) set @sql='SELECT * into pond_history_temp'+convert(varchar(10),getdate(),112) +' FROM gms.dbo.pond_history_temp 'exec(@sql) 阅读全文
摘要:
--查找存儲過程select * from sysobjects oINNER JOIN syscomments c ON o.id=c.id WHERE o.xtype='P'--查找用戶表SELECT * FROM sysobjects oINNER JOIN syscolumns c ON o... 阅读全文
摘要:
在IIS7的服务器上搭建了一个新的站点,弹出SQL报表的时候出现了空白页面,解决方法是添加操作路径:It was brought to our attention that in some installations usingIIS 7 a managed handler must be added for the report viewer web control, otherwise a 404 - File or Directory not found message is displayed when viewing sql reporting services reports. T 阅读全文