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

Image may be NSFW.
Clik here to view.

SQL Server 2019 Extensibility Framework & Java - Passing Data

This post is the second post about SQL Server 2019 Extensibility Framework and the Java language extensions. In the first post, SQL Server 2019 Extensibility Framework & Java - Hello World , we...

View Article


Image may be NSFW.
Clik here to view.

‘Invalid object name ‘OPENJSON’.’ SQL Server doesn’t recognise OPENJSON ...

Recently I’ve been working with the GIS extensions in SQL Server, and Ineeded to import a GeoJSON file into a SQL Server 2017 table. There’s a very straightforward way to import a valid JSON file into...

View Article


Image may be NSFW.
Clik here to view.

sql server reporting services configuration manager | SQL Server Reporting...

Home Installations & Configuration sql server reporting services configuration manager | SQL Server Reporting Service Configuration Installations & Configuration sql server reporting services...

View Article

Image may be NSFW.
Clik here to view.

sql server dynamic management views performance | SQL Server 2014 New Dynamic...

Home Server Objects sql server dynamic management views performance | SQL Server 2014 New Dynamic Management Views and Functions Server Objects sql server dynamic management views performance | SQL...

View Article

Passing Data To Java In SQL Server 2019

In Java, there are also helper components, (a topic for future posts), but the integration is not as tight, so when we want to pass data into and out of Java we need to code somewhat more explicit to...

View Article


SQL Server Adventures In Reducing IO

In the interests of curiosity I’m going to take a query that runs a relatively simple aggregation over a large table and see how much I can reduce the IO. I’m not suggesting anything here should be...

View Article

Setup Ola Hallengren SQL server Maintenance script

Ola Hallengren Maintenance Plan Deployment Many of DBAs already started using the Ola hallengren’s maintenance plan script. It is a free script replacing traditional GUI maintenance plan. It is very...

View Article

Opinion: Get used to reading traces and logs before you need them

I used to do a lot of work at the operating system and network level. I was always fascinated watching people use network trace tools when they were trying to debug a problem. The challenge was that...

View Article


Image may be NSFW.
Clik here to view.

CRUD operations in SQL Server

CRUD operations are foundation operations every database developer and administrator needs to understand. Let’s take a look at how they work with this guide. Introduction According to Wikipedia … “In...

View Article


Image may be NSFW.
Clik here to view.

Collection: SQL Server Sample Databases

There are times when you need a sample database to test out a query or benchmark the database or server in general. What better way than to use production...err..I mean, a test database? It's been a...

View Article

Azure Stack for the SQL Server Professional

Reading Time: 4 minutes In my previouspostabout SQL Server related services in the cloud I mentioned about Azure Stack. Therefore, I have decided to do an overview of Azure Stack for the SQL Server...

View Article

Image may be NSFW.
Clik here to view.

Availability Groups on Kubernetes in SQL Server 2019 preview

Starting with SQL Server 2017, Microsoft embarked on a journey to support SQL Server deployments on linux and containers, in order to provide a choice of deployment platform for our customers and...

View Article

SQL Server Essentials Series

SQL is the essential part of SQL Administration and SQL Development. A quick overview of basics can take you a long way in the database career and make you feel more comfortable to use powerful SQL...

View Article


Technique and Simple Utility to Determine the Datatype of a Scalar T-SQL...

The other day, I was working with a query where someone had put together an expression that had something along the lines of: CASE WHEN Value = 'X' THEN NULL ELSE CAST(SomeOtherValue as numeric(18,2) /...

View Article

Comparing SQL Server CPU usage with arithmetic for float versus numeric...

By:Ben Snaidero | Last Updated: 2018-12-11 || Related Tips:More > Database Design Problem A lot of my time as a SQL Server DBA is focused onperformance. One of the things I enjoy most about...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Restore Database With Norecovery

Overview In SQL Server, the process of copying data from a backup & applying logged transactions to the data rolling it forward to target recovery point is known as restore process. Each backup...

View Article

Using & ldquo; Show values ​&ZeroWid ...

I have an Excel 2007 pivot table showing "Year" across the top and "Month" down the side. What I am trying to do is represent the values as "% Difference" from the same month of the previous year. (Ex....

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #109 Mentors and Mentees

G’day again, So, it’s time for T-SQL Tuesday again, the blog party started by Adam Machanic (This time we're talking about people you're influenced to get involved in SQL, strengthen their SQL, SQL...

View Article

SQL Server Date Format Problem

How to convert a SQL Server date format to mysql I've been searching the internet for almost 6 hours now for the fastest solution to my problem. I've got a SQL Server database where some of the tables...

View Article

Image may be NSFW.
Clik here to view.

SQL Server I/O

Sometimes I like to see and know what SQL server is doing under certain operations and recently I wrote an extended events script to see what sort of I/O patterns my query was doing (This is a fun...

View Article
Browsing all 3160 articles
Browse latest View live