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 2017 Machine Learning services with R book

This blog post is slighty different, since it brings you the tittle of the book , that my dear friend Julie Koesmarno ( blog | twitter ) and I have written in and it was published in March 2018 at...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Function to Generate Random Numbers

Problem The request is to expand upon the SQL Server randomizing capabilities by creating a function that will generate a random number in many different ways, thus enabling the user to choose the...

View Article


Custom Intrusion Detection Reporting for SQL Server

By: Svetlana Golovko || Related Tips:More > Auditing and Compliance Problem Using windows Authentication with SQL Server is the recommended (more secure) authentication mode. Windows Authentication...

View Article

Image may be NSFW.
Clik here to view.

SQL Data Types | Data Types in SQL Server 2018

1. SQL Data Types In our last SQL tutorial , we discussed SQL Operators . Today, we will see SQL Data Types. First, we will look at what is the data type in SQL. Moreover, we will discuss SQL general...

View Article

Implementation Matters: CTEs In Postgres And SQL Server

In SQL Server, if you write this query: WithAllPostsAS(SELECT*FROMStackOverflow.dbo.Posts) SELECT* FROMAllPosts WHEREId=1; SQL Server builds a query plan for the entire operation at once, and passes...

View Article


Image may be NSFW.
Clik here to view.

Generate Script in SQL Server With 6 Simple Steps

“I am a new user of SQL Server so I have very limited knowledge of its features. I would like to know how to generate script with data of SQL Server 2016 database. As I have mentioned, I am unaware of...

View Article

Image may be NSFW.
Clik here to view.

A Visual Guide to Choosing an Index Type

Warning: I’m about to overly simplify a whole lot of topics to make things easy. Armchair architects, warm up your flamethrowers. Your table has rows and columns kinda like a spreadsheet: In most...

View Article

Image may be NSFW.
Clik here to view.

Hands free, no-coding SQL Server database replication of a reporting database

ApexSQL Log is an amazing tool for reading the transaction log and reading the transaction log can form the basis of a lot of great features, functionality. In this case, we’ll look at how you can use...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #105 Invitation: Brick Wall

It’s time for another T-SQL Tuesday. The brainchild of Adam Machanic ( b | l | t ), and designed to strengthen the SQL Server blogging community, T-SQL Tuesday gets a lot of bloggers posting about a...

View Article


The Ideal IDE

When I started working with SQL Server, I spent a lot of time in Query Analyzer and isql.exe. Those were my two main tools, using those to query a database instance in a lightweight manner. At some...

View Article

Image may be NSFW.
Clik here to view.

Locked out of sysadmin, Now what?

In this blog post, let’s see how to regain admin access on a SQL Server Instance in case you lost it by mistake or for whatever reason. It’s not a very common scenario, but hey you never know. I ran...

View Article

Image may be NSFW.
Clik here to view.

SQLCMD mode in SSMS

I really like Microsoft philosophy nowadays, they are putting a lot of time developing good open source tools like SQLCLI, SQLOps and Visual Studio Code, those tools has something in common “a built-in...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Administration - Practicals

Description Featured on: Aug 8, 2018 SQL Server Frequent Tasks like Cluster Patching (Active\Passive) and DB Refresh. The following course will introduce to you the very important Day to day...

View Article


Why Everyone Developing T-SQL Needs to Learn About Graphical Execution Plans

Just recently, my local .NET user group asked me to present at their meeting on the topic of graphical execution plans. I love presenting for developers on SQL Server topics. I’m often describing...

View Article

SDU Tools: ExecuteOrPrint Printing large strings in T-SQL

The PRINT statement in SQL Server's T-SQL language is useful but one of the biggest restrictions with it is the size of the strings that it can print. Where this becomes a big issue is if you are...

View Article


Image may be NSFW.
Clik here to view.

Simple Free Disk Space HTML report for SQL Server

Problem Automated SQL Server database monitoring is a very important task for the DBA, because information about the availability and health of the environment (instances availability, use of data...

View Article

SSIS TargetServerVersion Versus ProjectVersion

Since I am still adjusting to the 9.5 hour time zone shift, I decided to poke around social media. My friend and brother from another mother, TJay Belt , had tagged me in a tweet. TJay was looking for...

View Article


Image may be NSFW.
Clik here to view.

Spoofing Data Convincingly: Credit Cards

I haven’t seen a SQL Server table with real unencrypted credit card numbers for several years, and I don’t know of any good reasons to have them stored that way. However, I’ve needed them in the past...

View Article

Image may be NSFW.
Clik here to view.

Why you should not use SELECT *

Why you should not use SELECT * Randolph West Posted on 8 August 2018 Comments A shorter post this week, but an important one. Last week, Erik Darling commented on my post saying that we shouldn’t use...

View Article

Image may be NSFW.
Clik here to view.

Shortcut: Adding additional parameters to connections in SSMS

When I am writing my own code using a .NET (or other) language, I have a great deal of control of how the connection string that my application uses to connect to SQL Server is configured. In...

View Article
Browsing all 3160 articles
Browse latest View live