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
Items 1 to 20 of 992
Next 20 >>
New toys in SQL Server 2012
In this article we are going to look two new enhancements: the Insert snippet menu option and the surround with option.
Read more...
By
Daniel Calbimonte
2012/05/15
|
Source:
SQLServerCentral.com
|
Category:
insert
Rating:
|
Discuss
|
Briefcase
|
11,680 reads
A Stock Price Correlation Matrix
Building a Stock Price Correlation Matrix Using TVPs, a CROSS JOIN and the PIVOT Function
Read more...
By
John Ryle
2012/05/14
|
Source:
SQLServerCentral.com
|
Category:
tvps
Rating:
|
Discuss
|
Briefcase
|
4,526 reads
The T-SQL of CSV: Comma-Delimited of Errors
Despite the neglect of the basic ODBC drivers over the years, they still afford a neat way of reading from, and writing to, CSV files; and to be able to do so in SQL as if they were tables is somewhat magical. Just to prove it is possible, Phil Factor creates a CSV version of AdventureWorks as a linked server.
Read more...
By
Additional Articles
2012/05/11
|
Source:
SimpleTalk
|
Category:
t-sql
Rating:
Rate this
|
Briefcase
|
3,437 reads
Selecting from hierarchies like Managers and Employees
Chuck Hoffman shows a technique using sets for selecting records from hierarchies such as Manager / Employee structures.
Read more...
By
Chuck Hoffman
2012/05/03
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
7,292 reads
Demystifying the use of CASE in an ORDER BY statement
Chuck Hoffman exposes the mysteries of getting CASE statements to work in dynamic ORDER BY statements.
Read more...
By
Chuck Hoffman
2012/04/26
|
Source:
SQLServerCentral.com
|
Category:
case
Rating:
|
Discuss
|
Briefcase
|
14,024 reads
Generating Test Data: Part 2 - Generating Sequential and Random Dates
Part two of this fantastic series from Jeff Moden looks at generating date data, something which can be handy for any number of testing purposes.
Read more...
By
Jeff Moden
2012/04/25
|
Source:
SQLServerCentral.com
|
Category:
test data
Rating:
|
Discuss
|
Briefcase
|
4,062 reads
Analytic Enhancements in SQL Server 2012 - Part II
The introduction of the new analytic functions in the RTM version of SQL Server 2012, such as LAG, LEAD, FIRST_VALUE and LAST_VALUE, with the improved over clause, greatly facilitate the analysis on ordered data sets, such as time-series data. Read on to learn more.
Read more...
By
Additional Articles
2012/04/25
|
Source:
Database Journal
|
Category:
sql server 2012
Rating:
Rate this
|
Briefcase
|
2,291 reads
Linked server to MySQL Server.
In this article, we are going to create a linked server to the MySQL Database. Once finished that task, we will select, insert, update and delete some data using SQL Server.
Read more...
By
Daniel Calbimonte
2012/04/17
|
Source:
SQLServerCentral.com
|
Category:
mysql
Rating:
|
Discuss
|
Briefcase
|
4,456 reads
Parsing HTML to SQL using SQLDOM
It is simple to parse HTML directly to SQL, manipulate, and render back to HTML using SQLDOM
Read more...
By
David Rueter
2012/04/16
|
Source:
SQLServerCentral.com
|
Category:
html
Rating:
|
Discuss
|
Briefcase
|
7,813 reads
Sequences in SQL Server 2012
This article describes the sequence new feature used in SQL Server 2012
Read more...
By
Daniel Calbimonte
2012/04/13
|
Source:
SQLServerCentral.com
|
Category:
sequence
Rating:
|
Discuss
|
Briefcase
|
7,846 reads
TSQL TestBits function for rapidly testing multiple switch settings
Are multiple binary switches becoming hard to manage? The TestBits function can help with that.
Read more...
By
Chuck Hoffman
2012/04/09
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
3,719 reads
Find Customers Who Bought "A" and "B" But Not "C" (SQL Spackle)
A simple problem that can become complex in T-SQL. How do you find the rows that match 2 conditions, but not a third, in an efficient manner. MVP Jeff Moden gives us a solution.
Read more...
By
Jeff Moden
2012/03/29
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
12,279 reads
Dealing with custom date formats in T-SQL
Should I be formatting dates on the database side? What tools can I use in SQL Server to format and parse dates? This article helps you decide which one best suits your needs.
Read more...
By
Gianluca Sartori
2012/03/23
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
7,087 reads
SQL Server Ranking Functions
SQL Server includes a subset of four ranking functions that can be used to rank the rows of your result set over a partition. This article presents those functions and examples of their use.
Read more...
By
Additional Articles
2012/03/20
|
Source:
Database Journal
|
Category:
ranking functions
Rating:
Rate this
|
Briefcase
|
2,912 reads
Financial Rounding of Allocations
When rounded detail quantities are created by an allocation, often the total must foot back exactly to the allocated amount.
Read more...
By
Dwain Camps
2012/03/19
|
Source:
SQLServerCentral.com
|
Category:
financial rounding
Rating:
|
Discuss
|
Briefcase
|
4,181 reads
Large table cleanup with minimal locks
How do you delete millions of rows with minimal impact to the business? This article gives you a way to accomplish the removal of old data.
Read more...
By
Edward Polley
2012/03/06
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
11,960 reads
Eliminating Duplicate Rows using The PARTITION BY clause
The Partition clause in the Row_Number() Over() function is a quick tool for eliminating duplicate rows.
Read more...
By
Suresh Maganti
2012/03/02 (first published: 2010/09/22)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
22,987 reads
How to join a local table to a remote table by way of a linked server
Distributed queries on linked servers are not the greatest idea from a performance standpoint, but they can be quite useful.
Read more...
By
Stan Kulp
2012/02/27
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
9,535 reads
Calendar Tables
Learn how to avoid complex date calculations and increase performance using calendar tables in this article from Todd Fifield.
Read more...
By
Todd Fifield
2012/02/24 (first published: 2010/07/15)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
23,442 reads
Close Those Loopholes: Lessons learned from Unit Testing T-SQL
Alex Kuznetsov has done some pioneering work on the testing of stored procedures over four years, and has learned a great deal in the process. In this article, he spells out the lessons learned from a wealth of experience in Unit Testing T-SQL.
Read more...
By
2012/02/17
|
Source:
SimpleTalk
|
Category:
unit testing
Rating:
Rate this
|
Briefcase
|
2,397 reads
Items 1 to 20 of 992
Next 20 >>
Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.