Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Browsing all 3160 articles
Browse latest View live

Interview Chrissy LeMaire

I decided to start a series of blogs where I interview key people in the SQL Server community. Instead of me asking technical questions, I plan on asking about their outlook on the future, books they...

View Article


Image may be NSFW.
Clik here to view.

企业云桌面-06-安装数据库服务器Sql Server 2012 With SP1

作者:学 无 止 境 QQ交流群:454544014 注意: 《企业云桌面》系列博文是《企业云桌面规划、部署与运维实践指南》的基础部分,因为书中内容涉及非常多,非常全面,所以基础部分将以博文的形式给读者展现,将在书中引用。 《企业云桌面规划、部署与运维实践指南》将以某社保中心云桌面为中心,采用VMware Workstation Pro...

View Article


Image may be NSFW.
Clik here to view.

Why Automate?

Because, as Jen Underwood ( jenunderwood.com | LinkedIn | @idigdata ) states in an upcoming podcast: The future of data science is automation . If automation is the future, how do we decide what to...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER FIX : Error Msg 8672 The MERGE Statement Attempted to UPDATE or ...

While I have been blogging about SQL Server for a long time, I still believe that there is still a lot of error which are not discovered by me. It is always fun to see new error and find a fix for the...

View Article

Image may be NSFW.
Clik here to view.

访问SQL Server WMI对象

访问SQL Server WMI对象 1. 使用Powershell访问 get-wmiobject -list -namespace "root\Microsoft\SqlServer" get-wmiobject -list -namespace "root\Microsoft\SqlServer\ServerEvents\mssqlSERVER" get-wmiobject...

View Article


Interview Adam Machanic

I decided to start a series of blogs where I interview key people in the SQL Server community. Instead of me asking technical questions, I plan on asking about their outlook on the future, books they...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Query Store

Query Store was, probably without doubt, the most anticipated and talked out new feature in SQL 2016. Certainly by the DBA community. In this post we’ll just take a brief look at Query Store, what it...

View Article

A Collection of SQL Server Help Scripts

Like probably every SQL DBA, consultant, architect etc etc out there that has ever worked on or used SQL Server they will likelyhave their own personal collection of SQL Server Help Scripts . So not...

View Article


Extreme situations require extreme commands

All About SQL I am a Senior DBA with interest in MS technology especially SQL Server and Azure. During 2015 I was mentored by Paul Randal Data Platform (SQL Server) MVP and during 2016 I completed my...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2016 Online ALTER COLUMN Operation

By:Ahmad Yaseen || Related Tips:More >SQL Server 2016 Problem When a schema modification is performed on a database table, a special schema lock type SCH_M will be issued and will not be released...

View Article

Image may be NSFW.
Clik here to view.

Everything you should know about SQL Server JOINS

The focus of this article is going to be on utilizing JOINs. We will start off by talking a bit about how JOINs are going to happen and why you need to JOIN data. Then we will take a look at the JOIN...

View Article

SQL Server数据库镜像下有效的索引维护

我们在做索引重建的时候,由于索引重建产生太多日志,习惯切换到大容量日志恢复模式。而在生产环境,我们配置了数据库镜像作为高可用,镜像只能运行于完整恢复模式,难道我们就不做索引维护了么? 当生产环境使用镜像的时候,这是一个很常见的问题。当使用镜像前,尽管很多人会做负载性能测试,以我的经验,在他们的测试中不会包含维护操作。常规的维护操作是业务环节的一部分,因此,我们应该将其包含在所有的测试场景中。...

View Article

Image may be NSFW.
Clik here to view.

SQLServer2014远程访问,无法连接问题。 sql SQLServer SQL远程访问 SQL无法连接问题

SQLServer2014远程访问,无法连接问题。今天进行SQL Server2014的安装,按照网上的方法开通权限后和配置IP后一直无法telnet通。经过排查是这样的,需要将实例的TCP/IP属性中的IPALL的TCP端口号改为1433(默认无)如图所示:

View Article


SQLAUTOINCREMENT字段 sql SQLServer SQL数据库 SQL语句学习

SQLAUTOINCREMENT字段,Auto-increment 会在新记录插入表中时生成一个唯一的数字。 AUTO INCREMENT 字段我们通常希望在每次插入新记录时,自动地创建主键字段的值。我们可以在表中创建一个 auto-increment 字段。 用于 mysql 的语法在MONKEY表中定义列”MONKEY_ID”为AUTO_INCREMENT主键CREATE TABLE...

View Article

sql中表级约束和列级约束 sql SQLServer sql语句学习 表级约束 列级约束

sql中表级约束和列级约束,在SQL SERVER中,(1) 对于基本表的约束分为列约束和表约束约束是限制用户输入到表中的数据的值的范围,一般分为列级约束与表级约束。列级约束有六种:主键Primary key、外键foreign key 、唯一 unique、检查 checck 、默认default 、非空/空值 not null/...

View Article


SQL Server数据库镜像关键性能计数器

SQL Server数据库镜像关键性能计数器 监视数据库镜像基本有以下5种方法: 1. 配置数据库镜像监视器、设置告警阈值。 2. 配置WMI EVENT ALERT,配置镜像状态修改后的动作或告警。 3. 使用系统监视器查看关键性能计数器。 4. 部署作业监控异常镜像状态,发送告警。 5. 使用sp_dbmmonitorresults获取镜像数据。 当然,使用扩展事件和SQL Server...

View Article

Image may be NSFW.
Clik here to view.

List Dependencies for SQL Server Foreign Keys

Problem I have administrator responsibility for some legacy SQL Server databases that I did not create and do not use much personally. I have been charged with listing the SQL Server foreign keys...

View Article


Image may be NSFW.
Clik here to view.

Ding - The World’s Largest Mobile Top-up Network Streamlines QA with SQL...

Ding enables people living or working abroad to instantly top up mobile phones of friends and family back home. CEO Mark Roden established Ding in 2006 and since then the company has quickly become the...

View Article

双色球(用sql实现) sql sql数据库 sql语句 双色球 sql实现双色球

双色球(用sql实现)select * from shuangsqcreate table shuangsq(Red1 int,Red2 int,Red3 int,Red4 int,Red5 int,Red6 int,Blue0 int)declare @r1 int,@r2 int,@r3 int,@r4 int,@r5 int,@r6 int,@b0 intset @r1=1while...

View Article

Image may be NSFW.
Clik here to view.

WINCC读写SQL数据库的示例 SQL SQL数据库 SQL数据库读写 WINCC读写

WINCC读写SQL数据库的示例。 一、在数据库中建立数据库文件,文件名为“读写数据库”,在数据库中建立新的表,命名为“个人信息”分别建立编号、姓名、年龄。 二、数据库中建立表后,在wincc中建立与数据库中类型相同的变量,变量类型相同在读写数据时很重要。在图形编辑器中新建画面,并在画面中增加三个输入输出域,并连接变量。 三、添加两个按钮控件,分别命名为写数据、读数据。 1.在写数据中写入如下脚本...

View Article
Browsing all 3160 articles
Browse latest View live