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

Image may be NSFW.
Clik here to view.

Get Last Nights Failed SQL Server Agent Jobs from Multiple Instances with...

By:Aaron Nelson || Related Tips:More >SQL Server Agent Problem SQL Server Management Studio (SSMS) doesn't give you enough at-a-glance information about your SQL Server Agent Jobs . You're forced...

View Article


Image may be NSFW.
Clik here to view.

Learn to use the Data Dictionary in SQL Server

In this puzzle, we’re going to learn how to query the data dictionary using SQL Server. Knowing how to query the data dictionary is good to know. There are many questions you can answer about your...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Fix: Error: 1934, Level 16, INSERT or UPDATE Failed Because the Fo...

A very old client of mine yesterday pinged me with this question about error related toQUOTED_IDENTIFIER. “Pinal, When I run my query it works just fine in SSMS but when I run it via SQL Server Agent...

View Article

Friday Reading 2017-02-24

I’m Andrew Pruski and I am a SQL Server DBA with 5 years experience in database development and administration. The online SQL Server community has helped me out immensely throughout my career, whether...

View Article

Image may be NSFW.
Clik here to view.

5 Differences between COALESCE and ISNULL in SQL Server

What is the difference between COALESCE and ISNULL is one of the frequently asked Microsoft SQL Server interview question. Recently, one of my reader asked the same question to me, he got confused...

View Article


Image may be NSFW.
Clik here to view.

SQL Server R Services and the 20 User IDs

What is the Reason why installing R creates 20 User IDs? If you have installed SQL, you may have noticed that it creates twenty user ids as part of the installation process. To many people the...

View Article

Image may be NSFW.
Clik here to view.

Timeout when starting SQL Server Launchpad service

By:Vitor Montalvao || Related Tips:More >SQL Server 2016 Problem On a SQL Server 2016 install with the version higher than the RTM (13.0.1601.5), you get a timeout error when starting SQL Server...

View Article

Image may be NSFW.
Clik here to view.

Audit SQL Server Logins Using SQL Profiler

By:Ben Snaidero || Related Tips:More > Auditing and Compliance Problem Database and data security is becoming an ever increasingly more important aspect of what a SQL Server DBA is responsible for....

View Article


Image may be NSFW.
Clik here to view.

Wait, it’s the weekend already? Happy Friday Five!

Tobias Zimmergrenis a 9 year Microsoft MVP and works as a product manager for Rencore cloud offerings. He has the lead on building a cloud platform for Rencore, where customers can securely and easily...

View Article


Image may be NSFW.
Clik here to view.

SQL 2016 Partitioning An Existing Table With A Columnstore Index

― by Lori Brown @SQLSupahStah I recently ran across a data warehouse that did have the largest table partitioned. We were migrating up to SQL 2016 and we wanted to make sure that the partitions were...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Issues I have with SSDT based deployments: Part 4.1

Continuing my series on SSDTbased deployments, in this part, I’m going to look into something that’s not entirely SSDTs fault, but I’m sure could be less painful: importing pre-existing databases into...

View Article

Interesting Stuff - Week 8

26 Feb 2017 in categories: roundup tags: data science distributed computing SQL Server streaming R Tools for Visual Studio Throughout the week, I read a lot of blog-posts, articles, etc., that has to...

View Article

Image may be NSFW.
Clik here to view.

Change Protection Level for all packages at once

Case I created dozens of packages in my projectbut I forgot to change the default Protection Level in the project propertiesfrom "EncryptSensitiveWithUserKey" to "DontSaveSensitive". Now I have to...

View Article


Image may be NSFW.
Clik here to view.

Columnstore Indexes part 99 (“Merge”)

Continuation from the previous 98 parts, the whole series can be found at http://www.nikoport.com/columnstore/ . This blog post is focused on the MERGE statement for the Columnstore Indexes, or as I...

View Article

Image may be NSFW.
Clik here to view.

How to do Pagination in SQL Server? Interview Question of the Week #111

Question:How to do Pagination in SQL Server? Answer:A very popular question during interviews, which often stumps the candidate. I have helped many organizations to hire the right talentfor many years...

View Article


Image may be NSFW.
Clik here to view.

sql查询是学习的''重中之重'',单独开设板块记录.(三) sql sql语句 sql查询 单独开设板 ...

sql查询是学习的''重中之重'',单独开设板块记录.(三)数据库学习这一块,实际上关键的在多张表之间筛选处自己想要的数据库.<关系数据库,数据库表间存在关系> 在实际写(符合)sql语句的时候,基本从后往前写.短句集合组成最终逻辑 查询中使用到where的时候,一般要建立索引''创建的时候建立索引,或者表建完建都行'',<数据量在几百万的时候,查询数据就很明显了>...

View Article

PostgreSQL数据库psql的使用之一 SQL PostgreSQL psql使用

PostgreSQL数据库psql的使用之一。[postgres@rhel73 ~]$ psql -d test -------->>>使用psql连接进入test数据库psql (9.6.0)Type "help" for help.test=# \c -------->>>查看当前psql是用哪个user连接的哪个数据库You are now...

View Article


java.sql.SQLException:ORA-02289:序列不存在 sql SQLServer SQLException 序列不存在

java.sql.SQLException: ORA-02289: 序列不存在at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at...

View Article

Image may be NSFW.
Clik here to view.

SQL_SERVER2012安装报告 sql SQLServer SERVER2012 SERVER2012安装报告

SQL_SERVER2012安装报告,应数据库课程要求,安装sql_server 现写一报告,记之。...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with SSRS 2016 - Part 4

Prerequisite We should have some basic knowledge in SQL Server Query and Visual Studio Tool for creating an SSRS Reports using Visual Studio 2015. SQL Server Basic Query Visual Studio 2015 How to...

View Article
Browsing all 3160 articles
Browse latest View live