Source Control in SQL Server Management Studio (SSMS)
This post was written by Ken Van Hyning, Engineering Manager, SQL Server Client Tools. In the latest generation of SQL Server Management Studio , we moved to the Visual Studio 2015 Isolated Shell....
View ArticleMicrosoft's SQL Server Next: What's under the covers
To me, the biggest surprise announcement coming out of Microsoft's Connect() 2016 conference last week wasn't that Microsoft was joining the linux Foundation. Instead, it was that SQL Server Next...
View ArticleSQL SERVER Database Mirroring Error -The Specified Network Name is No Longer ...
Have you ever seen a situation where SQL Server mirroring is impacted because of external factors? One of my customers reported several of the following errors in the SQL Server ERRORLOG SQL SERVER...
View ArticleTask Manager is a liar
I remember asking a question at a recent training event, the outcome? I now don’t use task manager to try and understand how much memory SQL Server is consuming. Why? Well it has the ability to lie,...
View ArticleDBCC CHECKDB 遭遇Operating system error 112(failed to retrieve text for this...
我们一个SQL Server服务器在执行YourSQLDBa的作业YourSQLDba_FullBackups_And_Maintenance时遇到了错误: Exec YourSQLDba.Maint.ShowHistoryErrors @JobNo = 1227 <row> <ctx>yMaint.IntegrityTesting</ctx>...
View ArticleConfiguring Integration Services in a SQL Server 2016 Cluster
In this post I will show a procedure toconfigure Integration Services in a SQL Server 2016 Cluster. Clustering Integration Services is not recommended because the Integration Services service is not a...
View ArticleSQL Server 2016: Parallel Processing for Microsoft R Server Part I
Part I: Setting Up the System In several previous blogs, we have talked about installing Microsoft R Server as a part of a SQL Server 2016 installation, and we have called attention to the fact that...
View ArticleSQL Server 2016 service pack 1 is here!
SQL Server 2016 service pack 1 has been released and it is a mayor one! You can download it here . Why, you ask, is it so important? Because a lot of Enterprise Edition database engine features are...
View ArticleEncryption Primer Session
For the November meeting, I was honored to be invited to speak at the Minneapolis PASS user group here in the Twin Cities. I put together a bit of an unconventional session covering the basics of...
View ArticleTechnical Preview: Database Experimentation Assistant
This post is authored by Christina Lee, Program Manager Data Group SEALS Team Overview Database Experimentation Assistant (DEA) is a new A/B testing solution for SQL Server upgrades. It will assist in...
View Article解决:安装SQl2008为SQLServer代理服务提供的凭据无效 SQl2008 SQl2008安装 Server代理 ...
sql server 2008 代理服务提供的凭据无效 sql server 2008 代理服务提供的凭据无效 在windows Server 2008安装SQL Server 2008出现的问题: 安装时在“服务器配置”环节出现以下问题: 为sql server代理服务提供的凭据无效 为sql server服务指定的凭据无效 为analysis services服务提供的凭据无效...
View Article如何进行SQL性能优化 数据库 SQL SQL性能优化 数据库优化
在SQL查询中,为了提高查询的效率,我们常常采取一些措施对查询语句进行SQL性能优化。本文我们总结了一些优化措施,接下来我们就一一介绍。 1.查询的模糊匹配 尽量避免在一个复杂查询里面使用 LIKE '%parm1%'—— 红色标识位置的百分号会导致相关列的索引无法使用,最好不要用。 解决办法: 其实只需要对该脚本略做改进,查询速度便会提高近百倍。改进方法如下:...
View ArticleSQL注入产生的原因及解决方法 SQL SQL注入 SQL注入产生原因 SQL注入解决方法
SQL注入产生的原因:程序开发过程中不注意规范书写 sql语句和对特殊字符进行过滤,导致客户端可以通过全局变量POST 和GET 提交一些 sql语句正常执行。 处理的一些方法: 1、开启配置文件中的magic_quotes_gpc 和 magic_quotes_runtime 设置 2、执行 sql语句时使用 addslashes进行 sql语句转换 3、Sql语句书写尽量不要省略双引号和单引号。...
View ArticleSQLService2014安装 SQL SQL数据库SQLService SQLService2014安装
最近因为学习的需要所以安装了SQL Service 2014,因为之间从未接触过 这方面的知识,所以在安装时踩了不少坑。现在既然成功安装了,就把安装过程写出来分享给大家,希望能减少新手踩坑。 说明:为了方便,我将SQL Service装载了win7系统的虚拟机上,所以这篇文章主要针对win7系统,不过windows下安装的大部分流程是一样的。 安装SQL...
View ArticleSQL学习整理(四)过滤数据 SQL SQL学习 SQL数据库 过滤数据
SQL学习整理(四)过滤数据使用select语句的where子语句指定搜索条件。目录SQL学习整理四过滤数据 目录 使用where子语句指定搜索条件进行过滤 where子语句操作符1. 使用where子语句指定搜索条件进行过滤select prod_name, prod_pricefrom Productswhere prod_price =...
View Article实验五SQL函数与T-SQL编程 SQL SQL数据库 SQL函数 T-SQL编程
实验五 SQL函数与T-SQL编程 1、集合函数--统计选修了课程的学生人数SELECT COUNT(DISTINCT SNo) 选修了课程的学生人数 FROM dbo.SC;--用GROUP BY统计不同职称的教师人数SELECT Prof 职称,COUNT(*) 教师人数 FROM dbo.Teacher GROUP BY Prof;--COMPUTE BY统计不同职称的教师人数SELECT...
View Article(SQL)第八章用SQL语句操作数据 SQL SQL数据库 SQL语句 操作数据
/****** Script for SelectTopNRows command from SSMS ******/SELECT TOP 1000 [StudentNo] ,[LoginPwd] ,[StudentName] ,[Sex] ,[GradeId] ,[Phone] ,[Address] ,[BornDate] ,[Email] FROM...
View Articlesqlserver中的数据类型隐式转换 SQLServer SQLServer学习 数据库 数据类型 隐式转换
数据类型转换分为隐式转换和显示转换 1)显示转换顾名思义使用函数进行数据类型转化,如cast、convert cast 和convert的区别 CAST( expression AS data_type )CONVERT(data_type[(length)], expression [,...
View Article数据库知识之SQLServer数据库简介 SQLServer SQLServer数据 数据库知识 数据库简介
使用数据库可以高效且条理分明地存储数据,使人们能够更加迅速,方便地管理数据。数据库具有以下特点: 1、可以结构化存储大量的数据信息,方便用户进行有效的检索和访问。 2、可以有效地保持数据信息的一致性、完整性,降低数据冗余。 3、可以满足应用的共享和安全方面的要求。 数据库的基本概念:...
View Article