mybaits非配置原因,导致SqlSession was not registered for synchronization异常
今天运行程序时报了SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@69d4fb43] was not registered for synchronization because synchronization is not active[11:03:17]-Closing non transactional...
View ArticleSQL Server成功与服务器建立连接但是在登录过程中发生错误的快速解决方案
最近在VS2013上连接远程数据库时,突然连接不上,在跑MSTest下跑的时候,QTAgent32 crash。换成IIS下运行的时候,IIS crash。之前的连接是没问题的,后网上找了资料,根据牛人所说的方案解决了。1. Exception message已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: SSL Provider, error: 0 -...
View Article用注解编写创建表的SQL语句
今晚读了think in java 的章节,感觉很不错,我就敲了下来,贴上代码给以后一个回顾: 建议提前读一下think in java 注解 。 说明创建注解我在第一个注解说明下,以后的注解不在说明。‘ DBTable 注解: /*** Project Name:myannotation* File Name:DBTable.java* Package Name:com.iflytek.db*...
View ArticleRename SQL Server physical database file names using detach and attach method
By:Manvendra Singh || Related Tips:More > Database Administration Problem In this tip I will demonstrate how to rename the physical database files with the detach and attach method using SQL Server...
View ArticleSQL SERVER 数据库对比(升级)
1.安装SQL SERVER Data Tools 最新版本(低版本可能出现兼容问题),会安装最新版的VS,只不过功能不全; 2.安装完毕后,打开VS,这里以VS2012为例: 2.1、架构比较 a. 选择”SQL->架构比较->新建架构比较”,打开架构比较窗口: b....
View ArticleRedgate Software makes diagnosing SQL Server problems easier
The latest version of SQL Monitor, the popular SQL Server monitoring tool from Redgate, now lets users analyze SQL Server problems faster and easier and gives them the ability to view query execution...
View Article六步走帮你实现SQL Server存储扩展性提升
打算对SQL Server存储进行优化?以下六项提示将帮助大家充分利用自己的宝贵资源。 SQL Server可扩展性是否已经成为系统优先级列表中的顶端选项?您是否正在努力寻找对SQL Server数据库性能加以优化的途径?也许向外扩展并不是最理想的选择,那么大家不妨遵循以下六个步骤,相信能够更为轻松高效地实现业务规模提升: 1)尽量利用现有SQL Server组件 扩展SQL...
View ArticleBulk Insert into Temp Tables with node-mssql
One of the fastest pattersn for pushing data into mssql that we've found is using bulk copy. The process we use is bulk copy to push data into a temp table, then execute a stored proc to migrate the...
View ArticleNon-Clustered Indexes in SQL Server
In thelast post of this blog series, I discussed what a clustered index is and how to choose an ideal clustered index key. In this post, I will describe the non-clustered index and offer design tips...
View ArticleSSISDB and Catalog Part 2 Adding the SSIS Package
In the previous article I covered the creation of the SSISDB a new feature within SQL Server 2012 that is used to store all of the required information for an SSIS package. This article will cover the...
View ArticleImporting a BACPAC to SQL Server
We previously looked at Archiving Azure SQL Database to a BACPAC and in today’s post we are going to address how to look at that data by restoring or importing it to a local SQL Server. As discussed...
View ArticleStatistics with TSQL and R: Chi Square Test
As I move on from descriptive and largely univariate (one variable based) analysis of data into more multivariate data one of the first data analysis tests that came to mind is the Chi Square Test. It...
View ArticleDiscover Which Deprecated Features Are Being Used
With each new release of SQL Server comes a list of new features, along with a list of features that have been deprecated. These deprecated features are not immediately disabled or removed, but they...
View ArticleA predictive maintenance solution template with SQL Server R Services
by Jaya Mathew, Data Scientist at Microsoft By using R Services within SQL Server 2016, users can leverage the power of R at scale without having to move their data around. Such a solution is...
View ArticleColumnstore & Memory-Optimised Workshop in Redmond (10.31-11.02 2016)
I am so happy that I can finally announce the very first Columnstore & Memory-Optimised Tables Workshop in the USA : on the 31st of October 2016 the Columnstore & Memory-Optimised Workshop...
View ArticleWhere Can I Download a Specific SQL Server Cumulative Update?
Microsoft has made a lot of changes to their servicing model for SQL Server over the years, specifically moving more towards Cumulative Updates and away from Service Packs as a means to deliver updates...
View ArticleSQL Server Execution Plan formats
Execution plan helps in knowing how a query gets executed and troubleshooting a query which is performing poor. In SQL Server execution plan can be of 2 types: Estimated Execution plan Actual Execution...
View ArticleSqoop Runtime Exception: Cannot Load SQL Server Driver
Problem I am receiving the following error when running Apache's Sqoop to connect to a SQL Server database: java.lang.RuntimeException: Could not load db driver class:...
View ArticleImplementing Microsoft SQL Server 2016 Standard Basic Availability Groups for...
On a recent project for my employer, Choice Solutions, I needed to setup high availability for the XenApp/XenDesktop databases. The customer wanted to use Microsoft SQL Server 2016 Standard and I was...
View ArticleSQL Saturday Minneapolis Precon Complete Primer to SQL Server Virtualization ...
This is just a quick reminder to encourage you to attend my next round ofall-day precon training session at the upcoming SQL Saturday in Minnesota on Friday, September30 called‘ The Complete Primer to...
View Article