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

Image may be NSFW.
Clik here to view.

Simple Procedure to Make a Copy of a SQL Server Database

Problem You want need to create a copy (clone) of a database on the same SQL Server instance. This can be done in several steps, but is there a simpler way of doing this with T-SQL so it can be done in...

View Article


Image may be NSFW.
Clik here to view.

Get All of the Freebies for “End-to-End Troubleshooting Checklist for...

The Presentation: Slides, TSQL-Scripts, and Video One of my most enduring and popular presentations is called End-to-End Troubleshooting Checklist for Microsoft SQL Server”. In this presentation, I...

View Article


On Being Disruptive

Tim Mitchell Tim Mitchell is a business intelligence consultant, author, trainer, and SQL Server MVP with over a decade of data management experience. He is a partner with Linchpin People and is the...

View Article

Image may be NSFW.
Clik here to view.

Test: The Top Two SQL Server Problems I Find Everywhere

Companies call us for performance or high availability issues, but over and over, the very first two things we find are: They’re not taking backups to match the business’s RPO and RTO They’re not doing...

View Article

Improve Write Performance of your SQL Server Database

Though it’s true that having fast performing disk (15K rpm or SSD) is good for IO intensiveapplications but in real scenario it’s not enough. In my 5 years experience with an organizationwhere we had...

View Article


Presentations for SQL Server Beginners

For my final blog post in the #gettingstarted, #iwanttohelp series, I decided to curate a set of presentations from the PASS Virtual Chapters. This content is available online. It’s free. Most...

View Article

SQL常用函数(MySQL) SQL常用函数 SQL函数 SQL MySQL 编程开发

这里介绍SQL的常用函数,以及自定义函数的创建。SQL函数感觉还行,不是很好用,只能返回一个值,结果集不能返回,这点很不方便。但是函数结合参数方便查询某一个值。 准备-- SQL函数基本调用方式select function(column or null) from table_name;--创建操作表,并插入一些操作数据create table student(id tinyint...

View Article

SQLServerBCP命令参数详解 SQLServer SQLServer学习 数据库 SQLServerBCP命令

相信大家对SQL Server的bcp命令都非常熟悉了,那么bcp命令的参数如何解析呢,下面我们逐步解析。 1、bcp命令详解 bcp 实用工具在 Microsoft? SQL Server? 2000 实例和数据文件之间以用户指定的格式复制数据。 语法bcp {[[database_name.][owner].]{table_name | view_name} | "query"}{in |...

View Article


日语原版书《SQLserver2016教科书》学习笔记第七章ch01 SQLserver SQLserver2016教科书 ...

代码采用日语。说明用中文。 7-1 集约函数与分组化 1.集约函数分为 SUM(总和) AVG(平均) MAX(最大值) MIN(最小值) COUNT(行数) 2.应用命令 计算全社员的工资总和 SELECT SUM(

View Article


sqlserver2016第七章ch02 SQLServer SQLServer学习 数据库 数据类型

7-2 结合多个表 内部结合:根据关系情报进行结合演算 文法: SELECT 选择的列 FROM 表名1 INNER JOIN 表名2 on 表名1.结合键所在列= 表名2.结合键所在列 实例 将社员表和部门表进行内部结合.结合键为 部门编号 SELECT*FROM 社

View Article

Image may be NSFW.
Clik here to view.

sqlserver使用教程(图文) SQLServer SQLServer学习 数据库 sqlserver使用教程

首先打开SQL Server Management Studio 打开后选择服务器名称中的数据库,选择第一个点击链接选择数据库,右键新建数据库点击上方的新建查询就可以使用sql server语句进行数据库表的创建和操作。

View Article

Image may be NSFW.
Clik here to view.

Npgsql使用入门(一):搭建环境 Npgsql怎么使用 Npgsql开发环境 Npgsql 数据库

Npgsql使用入门(一):搭建环境:首先去官网下载最新数据库安装包 postgresql-9.6.1-1-windows-x64安装之后程序连接Postgresql数据库时经常出现这个错误,然而用pgAdmin...

View Article

Excel读取成sql插入语句 sql excel 数据库

最近做一个安卓app,需要将别人提供的excel表导入到本地,由于数据是一次性定好的,不会有变化,用app直接读取excel太麻烦,就写了个winform小程序,读取Excel文件生成导入的sql语句,代码比较简单,但是比较使用,分享出来有需要的可以看看using System;using System.Collections.Generic;using...

View Article


如何实现jsp数据插入sql数据库 jsp数据 sql数据库 sql 数据库

如何实现jsp数据插入sql数据库:连接数据库,插入成功标志位 ,如果插入成功 为 1 如果不成功为-1,连接数据库 与加载数据库驱动。Connection ct = null;PreparedStatement ps=null;int rs=-1; String url="jdbc:sqlserver://localhost:3247;DatabaseName=Manger";String...

View Article

Image may be NSFW.
Clik here to view.

使用SQLServerDMVs优化索引策略 SQLServerDMVs 索引策略优化 索引策略 数据库

使用SQL Server DMVs优化索引策略:SQL Server索引的目标是高效,太多太少都是走极端。一旦确定要创建索引,你必须要确保的是负载必须以最小的I/O开销来读取数据。 聚集索引与主键 或多或少,SQL...

View Article


MATLABSQLWHERE格式 MATLAB SQL 数据库 编程开发

需要在matlab读取access数据库数据。链接类的文章比较多,也通过了 http://blog.csdn.net/xjujun/article/details/9969943 实际遇到的困难在于链接表格很容易通过conn=database( 'data' , '' , '' )cursor = exec(conn,'select fundNetWorth from...

View Article

Technitrain SQL Server & Microsoft BI Training Course Schedule For 2017

If you’re looking for expert-led, classroom based training on SQL Server and Microsoft BI in London, check out the training courses we have coming up in 2017 at Technitrain : Introduction to Power BI...

View Article


Image may be NSFW.
Clik here to view.

Settings of the Query Store GUI

Tags: The SQL Server Query Store which was introduced in Azure about a year ago or so, and came to the on-premises version of SQL Server in SQL Server 2016. This is a fantastic tool which can help you...

View Article

Image may be NSFW.
Clik here to view.

Microsoft pushes R, SQL Server integration

Microsoft made another R-in-the-enterprise push today, announcing Microsoft R Server 9.0 with a goal of helping companies "operationalize" data science. Users will be able to create models within R,...

View Article

Image may be NSFW.
Clik here to view.

This Week in Data Episode 15 (Why People Are Flocking to SQL Server)

Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them here. In this week’s episode,we discusswhy companies are deciding to move to SQL Server....

View Article
Browsing all 3160 articles
Browse latest View live