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

Hybrid Cloud and Hekaton Features in SQL Server 2014

Introduction Microsoft SQL Server 2014 is considered to be the first version that supports Hybrid Cloud by adding a lot of exciting new features. In this article, I will cover some of the top new...

View Article


Filtering duplicates from a table in SQL server

It is a known problem in the world of multitiered application development that we want to apply some new functionality in one layer, but this can have some unpredictable consequences on other layers...

View Article


Azure Data Factory and SSIS compared

I see a lot of confusion when it comes to Azure Data Factory (ADF) and how it compares to SSIS . It is not simply “SSIS in the cloud”. See What is Azure Data Factory? for an overview of ADF, and I’ll...

View Article

Image may be NSFW.
Clik here to view.

SSDT Deploy / Publish Performance

Ed Elliott's Sql Developer Blog Ed is a Sql developer who has a mixed background in support, as a dba and as a developer working with a number of languages c, c#, vb, go, assembly with a variety of...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER Unable to See Tables (Objects) in SSMS

Once I was thrown into an interesting situation where a client told me that he can see the data from the table but not the table. I asked him to elaborate more and he sent me below screenshots where he...

View Article


SQL Server Execution Plans, Second Edition

Grant Fritchey wrote: Execution plans show you what's going on behind the scenes in SQL Server. They can provide you with a wealth of information on how SQL Server is executing your queries, including...

View Article

Image may be NSFW.
Clik here to view.

Create Custom Maps for SQL Server Reporting Services SSRS Mobile Reports

By:Siddharth Mehta || Related Tips: > Reporting Services Maps Problem Geospatial reporting inevitably requires reporting data on a map. SQL Server Mobile Report Publisher provides a set of maps...

View Article

Image may be NSFW.
Clik here to view.

Tempdb settings in SQL Server 2016

A nice little error log feature that I noticed in SQL Server 2016 regarding tempdb. Tempdb, a system database in SQL Server, some call it the “public toilet” but honestly it is where temporary user...

View Article


SQL-查看某天新建的表的名称和建表时间 SQL SQL数据库 建表时间查询 表名称查询

SQL-查看某天新建的表的名称和建表时间select object_name ,to_char(created,'yyyy-mm-dd hh24:mm:ss') from user_objects where object_type='TABLE' and to_char(created,'yyyy-mm-dd')='2016-08-02';

View Article


PLSQL语言 PLSQL PLSQL语言 PLSQL概述

4.1 PL/SQL简介4.1.1...

View Article

Image may be NSFW.
Clik here to view.

NavicatPremium连接SQLSERVER2008 SQLSERVER2008 SQLSERVER2008连接 NavicatPremium S ...

Navicat premium是一款数据库管理工具。将此工具连接数据库,你可以从中看到各种数据库的详细信息。包括报错,等等。当然,你也可以通过他,登陆数据库,进行各种操作。Navicat Premium是一个可多重连线资料库的管理工具,它可以让你以单一程式同时连线到 mysql、SQLite、Oracle 及 PostgreSQL 资料库,让管理不同类型的资料库更加的方便。...

View Article

Oracle数据库的安装与配置及PLSQL的安装与配置 oracle函数 oracle数据库 Oracle数据库 ...

Oracle数据库的安装与配置及PLSQL的安装与配置,本文用于记录本人安装Oracle数据库及PLSQL的重要步骤,不记录完整的过程及相关截图。主要步骤包括Oracle数据库的安装与配置及PLSQL的安装与配置。 一、Oracle数据库服务端的安装与配置 安装完成后,需要配置环境变量,具体如下: path:“D:\oracle\product\10.2.0\db_1\bin”;...

View Article

Image may be NSFW.
Clik here to view.

数据库安全之数据掩码:SQL新功能之动态数据掩码(SQL2016&AZURESQL) SQL SQL新 ...

数据库安全之数据掩码:SQL新功能之动态数据掩码(SQL2016&AZURESQL),我们在开发上都有这样的需求:对部分敏感数据进行屏蔽,如身份证信息,名字的一部分等。显示如: 在开发上,一般来是取出相应的文字后进行替换,如可以用下面的方法。 function plusXing (str,StartLen,endLen) { var len = str.length-StartLen...

View Article


sql判断临时表的是否存在 sql SQLServer sql临时表 临时表判断

sql判断临时表的是否存在if object_id('tempdb..#T_DayAvg') is not null Begin DROP TABLE #T_DayAvg End 注意: 1. tempdb.. 2. #T_DayAvg

View Article

SQL-to_char()保留小数,千位分隔符 SQL SQL-to char()保留小数 千位分隔符

SQL-to_char()保留小数,千位分隔符SELECT to_char(999999999999.99, 'FM999,999,999,999,999.000') AS QTY_1 from dual;输出结果:999,999,999,999.990注意事项:- .后面的是要保留的小数位数,必须是0- FM-去除空格但是这样做当要处理的数字为0.99时,SELECT to_char(0.99,...

View Article


SQL-一条SQL插入多条数据 SQL-查看数据库编码 sql SQL语句 插入多条数据 数据库编码

SQL-一条SQL插入多条数据mysql insert all into RAW_AMORT_SCHEDULE(BOND_CODE,AMORTIZE_DATE,AMORTIZE_TYPE,AMORTIZE_RATE,REMARKS) values...

View Article

Image may be NSFW.
Clik here to view.

SQL笔记(二) sql SQLServer SQL语句 SQL创建表

1、创建表 CREATE TABLE SC(Sno int,Qno int,primary key(Sno),foreign key(Qno) references Course(Cno)); 这里声明Sno为主键,声明Qno为外键,并指定Qno关联的是Course表中的Cno项,其中Cno必须为Course表中的主键。 2、修改表 Alter table tablename add sex...

View Article


Image may be NSFW.
Clik here to view.

How To Calculate The Median Value of a Liust in SQLServer using PERCENTILE_DISC

In this puzzle we’re going to learn how to find the person whose birthday, among others, is in the middle. Knowing how to calculate the median value is a good skill to have. As you start to explore...

View Article

Image may be NSFW.
Clik here to view.

Random Blog Post Challenge

The Scary DBA I have twenty+ years experience in IT. That time was spent in technical support, development and database administration. I work forRed Gate Software as a Product Evangelist. I write...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Permissions Database Roles

EZ PZ Permission Squeezee Given the critical level of importance related to permissions, one may think it is a concept that is well understood by all who are given the charge of protecting the data....

View Article
Browsing all 3160 articles
Browse latest View live