Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Articles with tag
t-sql
Search for
any
content tagged
t-sql
<< Previous 20
Items 21 to 40 of 1055
Next 20 >>
An in-depth look at change detection in SQL Server - Part 01
Auditing, conflict resolution, tamper & concurrency protection are some of the most common requirements for any enterprise system – this 2-part series presents an in-depth look at the various change detection mechanisms available within SQL Server.
Read more...
By
Nakul Vachhrajani
2013/02/12
|
Source:
SQLServerCentral.com
|
Category:
change detection
Rating:
|
Discuss
|
Briefcase
|
2,432 reads
T-SQL insert using SSIS Data Pump
This article describes a T-SQL procedure to insert data using the SSIS Data Pump
Read more...
By
Federico Iori
2013/02/05
|
Source:
SQLServerCentral.com
|
Category:
bulk insert
Rating:
|
Discuss
|
Briefcase
|
7,061 reads
Silent Truncation of SQL Server Data Inserts
There are certain circumstances where SQL Server will silently truncate data, without providing an error or warning, before it is inserted into a table. In this tip we cover some examples of when this occurs.
Read more...
By
Additional Articles
2013/02/01
|
Source:
MSSQLTips.com
|
Category:
t-sql
Rating:
(not yet rated)
Rate this
|
Briefcase
|
3,490 reads
VARCHAR (MAX), NVARCHAR (MAX) and NTEXT Data Types
Despite NTEXT and TEXT being deprecated in SQL Server for some time they are still both used in production systems. In this article, I will briefly demonstrate the difference between a VARCHAR (MAX), NVARCHAR (MAX) and the NTEXT data types, and the impact on performance from using NTEXT/TEXT.
Read more...
By
Additional Articles
2013/01/21
|
Source:
SQL Server Performance
|
Category:
t-sql
Rating:
Rate this
|
Briefcase
|
5,419 reads
Stairway to T-SQL DML Level 12: Using the MERGE Statement
The final level of this stairway looks at the MERGE statement in detail, focusing on how to perform insert, update and delete logic using the MERGE statement.
Read more...
By
Gregory Larsen
2013/01/16
|
Source:
SQLServerCentral.com
|
Category:
stairway series
Rating:
|
Discuss
|
Briefcase
|
8,676 reads
SQL Server T-SQL Tuning – NOT IN and NOT Exists
Following on from the previous TSQL performance tuning article in this series, we now focus on the important topic of T-SQL “Not IN” And “Not Exists “
Read more...
By
Additional Articles
2013/01/16
|
Source:
SQL Server Performance
|
Category:
t-sql
Rating:
Rate this
|
Briefcase
|
6,259 reads
Using a TSQL semaphore in SSIS
This article shows how you can use a TSQL semaphore in SSIS.
Read more...
By
Federico Iori
2013/01/14
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
7,418 reads
SQL Server T-SQL Tuning -TVF and Scalar Functions
A UDF is very convenient for centralising business logic as we can specify a set of business logic in one UDF which references multiple stored procedures and ad-hoc queries. However, they can lead to significant performance degradation due to their demands on the CPU
Read more...
By
Additional Articles
2013/01/10
|
Source:
SQL Server Performance
|
Category:
t-sql
Rating:
Rate this
|
Briefcase
|
3,350 reads
SQL Server Rounding Functions - Round, Ceiling and Floor
I saw your recent tip on Calculating Mathematical Values in SQL Server and have some related issues as I try to round values in my application. My users and me have a difference of opinion on some of the calculations in our reporting applications. All of the code is in T-SQL, but I think the reporting issues are related to data types and rounding down or rounding up rules. Do you have any insight into these issues? I would like to see some examples with a variety of coding options.
Read more...
By
Additional Articles
2013/01/09
|
Source:
MSSQLTips.com
|
Category:
t-sql
Rating:
(not yet rated)
Rate this
|
Briefcase
|
3,095 reads
Single Quotation Marks in SQL
One of the common problems is dealing with apostrophes in T-SQL. This article examines the challenges of single quotation marks and ends with a short quiz.
Read more...
By
Kenneth Fisher
2013/01/03
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
11,619 reads
Automatically Generate Stored Procedures
This article will show you how to automatically generate insert, update, and delete procedures for tables in your database
Read more...
By
James Skipwith
2013/01/01 (first published: 2011/02/10)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
21,629 reads
Tally OH! An Improved SQL 8K “CSV Splitter” Function
The Tally Table has proven to be a simple and elegant method for avoiding many varieties of RBAR. Unfortunately, one of its more common uses, that of a CSV splitter, has a well-known and serious performance problem. MVP Jeff Moden shows us what that problem is and how to correct it. (UPDATED with additional info and attachments on 5/12/2011).
Read more...
By
Jeff Moden
2012/12/28 (first published: 2011/05/02)
|
Source:
SQLServerCentral.com
|
Category:
tally table
Rating:
|
Discuss
|
Briefcase
|
34,216 reads
Merge, Metadata and the Data Mart ETL
Here's a great method for managing ETL for data marts and small data warehouses with just T-SQL.
Read more...
By
Christopher Ross
2012/12/27
|
Source:
SQLServerCentral.com
|
Category:
etl
Rating:
|
Discuss
|
Briefcase
|
4,354 reads
Departures from Origins and Arrivals at Destinations
A suggested design for creating flight schedules makes querying easy. Includes basic airport and airlines data. Get started now with this tricky query problem.
Read more...
By
Dwain Camps
2012/12/11
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
1,334 reads
Dynamic PIVOT CLR
Learn how yo can use a SQL-CLR procedure to handle all your PIVOT queries.
Read more...
By
Eric Wahner
2012/12/06
|
Source:
SQLServerCentral.com
|
Category:
.net
Rating:
|
Discuss
|
Briefcase
|
8,517 reads
Tip: Resetting Identity Fields
How to reset an identity field to the next contiguous value, after deletions.
Read more...
By
Banyardi Schmardi
2012/12/03
|
Source:
SQLServerCentral.com
|
Category:
dbcc checkident
Rating:
|
Discuss
|
Briefcase
|
8,261 reads
Splitting Strings Based on Patterns
Splitting strings based on patterns supported by LIKE and PATINDEX can be an interesting way to address a wide variety of problems.
Read more...
By
Dwain Camps
2012/11/29
|
Source:
SQLServerCentral.com
|
Category:
string manipulation
Rating:
|
Discuss
|
Briefcase
|
9,214 reads
Returning the Top X row for each group (SQL Spackle)
One of the most common T-SQL questions is on returning a ranked result set for each member of a group. Dave Ballentyne brings us a short tutorial on how you can do this in T-SQL.
Read more...
By
Dave Ballantyne
2012/11/23 (first published: 2010/12/06)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
28,488 reads
Generating SubTotals using GROUPING
This article explains how to use the GROUPING clause to generate subtotals for rows in a very easy fashion.
Read more...
By
Sunil Chandurkar
2012/11/16 (first published: 2010/07/13)
|
Source:
SQLServerCentral.com
|
Category:
groouping
Rating:
|
Discuss
|
Briefcase
|
26,319 reads
Hierarchies on Steroids #2: A Replacement for Nested Sets Calculations
In this sequel to his first "Hierarchies on Steroids" article, SQL Server MVP Jeff Moden shows us how to build a pre-aggregated table that will answer most of the questions that you could ask of a typical hierarchy. Any bets on whether Santa is packin’ a Tally Table in his bag or not?
Read more...
By
Jeff Moden
2012/11/15
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
5,721 reads
<< Previous 20
Items 21 to 40 of 1055
Next 20 >>
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.