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

Image may be NSFW.
Clik here to view.

SQL中Group By的使用

1、概述 “Group By”从字面意义上理解就是根据“By”指定的规则对数据进行分组,所谓的分组就是将一个“数据集”划分成若干个“小区域”,然后针对若干个“小区域”进行数据处理。 2、原始表 3、简单Group By 示例1 select 类别, sum(数量) as 数量之和from Agroup by 类别 返回结果如下表,实际上就是分类汇总。 4、Group By 和 Order By...

View Article


Image may be NSFW.
Clik here to view.

Google adds SQL Server support in Compute Engine, speeds up Cloud Storage...

Google today is pulling the beta label off of three of its cloud-based data storage services: the second-generation Cloud SQL ,Cloud Bigtable, andCloud Datastore. But Google is also announcing...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio Basics for use with ReadyRoll

This is the 3rd post in the series: SQL Server and Continuous Integration.This time I’ll cover theprerequisites of using ReadyRoll that include some Visual Studio basics and the installation of...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Tuesday #081: Getting Sharper

Sharpen Something This month I am the host of the TSQL Tuesday blog party. In the invite, which can be read here , I asked people to decide on something towork on, plan out and then report the...

View Article

Image may be NSFW.
Clik here to view.

R(六): RODBC 访问SqlServer

在我的实际工作中,数据来源一方面是关系型数据库MS SqlServer, 别一方面是HBase。本节主要介绍通过RODBC访问MS SqlServer 安装配置,参见资料( https://msdn.microsoft.com/en-us/library/hh568454(v=sql.110).aspx ), 请注意: 下载的msodbc 的版本与...

View Article


Image may be NSFW.
Clik here to view.

Using the SQL Server 2016 Decompress Function

Problem Several bitmap images of nebulas are stored in a Azure SQL database table in a compressed g-zip format. How can we extract the images from the cloud database service to our on-premises file...

View Article

Image may be NSFW.
Clik here to view.

Launch SQL Server instances on AMAZON EC2

By:Ranga Babu || Related Tips:More >Cloud Computing Problem Amazon EC2 offers another option for putting SQL Server in the cloud. It is easy to setup, upgrade and you are only charged when the box...

View Article

Image may be NSFW.
Clik here to view.

DBCC CLONEDATABASE in SQL Server 2014

In SQL Server 2014 SP2 an interesting new DBCC command was included, DBCC CLONEDATABASE This command creates a “clone” of a specified user (not supported for the system databases) database that...

View Article


SQL Server Migration Assistant for Datazen now generally available

Today’s post is from Christopher Moncayo, a Senior Program Manager on the Microsoft BI team and previously a member of the Datazen team. Today, we’re excited to announce that the SQL Server Migration...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2016: Cloud, Olympics and SQL Server

Welcome to the second leg of Learning Tree’s SQL Server newsletter. By the time you read this newsletter the Olympics in Rio will likely be in full swing. I’m a big sports fan and I like the Olympics....

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER False Error Cannot bulk load because the file could not be open ...

Yes, it’s possible that SQL Server can raise false and misleading error. I was trying to do some pretty straight forward stuff import data from text file to SQL table using the BULK INSERT command of...

View Article

New course: Improving Storage Subsystem Performance

Glenn’s latestPluralsightcourse has been published SQL Server: Improving Storage Subsystem Performance and is just over two hourslong. It’s based on Glenn’svery popular user group/conference sessions...

View Article

Image may be NSFW.
Clik here to view.

Remote table-valued function calls are not allowed

在SQL Server中,在链接服务器中调用表值函数(table-valued function)时,会遇到下面错误: SELECT * FROM LNK_TEST.TEST.DBO.TEST(12) 消息 4122,级别 16,状态 1,第 1 行 Remote table-valued function calls arenot allowed. 以前几乎没有在链接服务器(Linked...

View Article


Image may be NSFW.
Clik here to view.

Transferring Data Between SQL Server 2014 and Oracle 11g Databases

By:Rick Dobson || Related Tips:More > Other Database Platforms Problem I need a demonstration that illustrates step-by-step instructions for copying table rows between a 64-bit SQL Server 2014...

View Article

Image may be NSFW.
Clik here to view.

细说Sql Server中的视图(下)转载

原文:细说Sql Server中的视图(下)http://www.cnblogs.com/xbf321/archive/2009/06/19/view_two_in_sqlserver.html 1,什么是视图? 2,为什么要用视图; 3,视图中的ORDER BY; 4,刷新视图; 5,更新视图; 6,视图选项; 7,索引视图; 细说Sql Server中的视图(上) 应大家要求已在“细说Sql...

View Article


Image may be NSFW.
Clik here to view.

Beyond prediction with R & SQL Server

I am a fan of Thomas Davenport, who writes about advanced business analytics for publishers such as the Harvard Business Review and Forbes. Davenport has a simple, uncomplicated perspective of...

View Article

SQL Server, a true Olympian

Usain Bolt, the world’s fastest runner, now boasts his third successive 100m Olympic title. What makes him so successful? Clearly he’s talented and determined. But there are some key factors that any...

View Article


Image may be NSFW.
Clik here to view.

IT/Dev Connections 2016 Speaker Highlight: Denny Cherry

Part of an ongoing series, we're highlighting the excellent speakers we have handpicked to present phenomenal and extremely valuable content at the IT/Dev Connections conference . Want more? Get the...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2016 Rundown Session Materials Available

Yesterday evening I had the distinct pleasure of presenting at the Jacksonville SQL Server Users Group on some of the new features of SQL Server 2016. We had delicious pizza, lots of great networking,...

View Article

Sql Server: Add or Subtract Days, Weeks, Months, Quarters and Years in/from Date

Introduction : In this article I am going to explain How to add or subtract d ays, weeks, months, quarters and years in/from any date in Sql Server. In previous articles i explained How to Remove...

View Article
Browsing all 3160 articles
Browse latest View live