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

Using Table-Valued Parameters With sp_executesql

$
0
0
Ad Hoc Functions In T-SQL

Kevin Feasel

2018-09-17

T-SQL

No Comment

Riley Major shows a couple techniques for including ad hoc functions in T-SQL, namely Common Table Expressions and the APPLY operator: It’s helpful to think of eachAPPLYas a pipe operation, taking the values from the previous derived table and passing them into the next to be manipulated. Programming T-SQL in this manner (loosely) approximates modern […] Read More Multiple Mentions Of A Column In An UPDATE Statement

Kevin Feasel

2018-09-14

Syntax , T-SQL

No Comment

Doug Lane walks us through various scenarios with updates including the same column multiple times: An application developer came to me with this question recently: “Can I use the same column twice in a SQL UPDATE statement?” Yes and no. It depends on what you mean by “use”. Read on to see what Doug means.

Read More

Viewing all articles
Browse latest Browse all 3160

Trending Articles