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
Content with tag
Advanced Querying
Items 1 to 20 of 220
Next 20 >>
A Sudoku solution with set based T-SQL utilizing binary operators
A Sudoku solution with set based T-SQL approach utilizing binary values and operators, to ease the algorithm.
Read more...
By
Kevin Duan
0001/01/01
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
3,306 reads
EXECute SQL Commands over entire sets of parameters!
A super-powered EXEC on steroids, the Power Tool every DBA wants for Christmas.
Read more...
By
RBarry Young
2010/03/16
|
Source:
SQLServerCentral.com
|
Category:
administration
Rating:
|
Discuss
|
Briefcase
|
2,428 reads
Prime Number Table Generator (new ver crunches to 1 Mil in <10.5 sec!)
Generates prime numbers and puts them into a table for future reference by adhoc queries and database and application code. 100% set-based. DDL embedded.
Read more...
By
Jesse Roberge
2009/07/15
|
Source:
SQLServerCentral.com
|
Category:
advanced querying
Rating:
|
Discuss
|
Briefcase
|
1,127 reads
Comparing Stored Procedures, Part 6
Sixth in a series of scripts demonstrating a quantitative comparison between the text of two stored procedures
Read more...
By
Jesse McLain
2009/04/15
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
1,227 reads
Hidden RBAR: Triangular Joins
Just because it looks set based, doesn't mean it is. T-SQL Crackerjack Jeff Moden takes a look at a mistake that many query writers make.
Read more...
By
Jeff Moden
2009/01/16 (first published: 2007/12/06)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
46,464 reads
Delimited String Parsing Functions - TwoCol set
Feed it two delimited strings of horizontal data and it returns it back as a vertical table with the two column data in the same synchronized position order.
Read more...
By
Jesse Roberge
2008/11/03
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
|
Discuss
|
Briefcase
|
2,033 reads
Delimited String Parsing Functions - Big2D set
Feed it large strings of double-delimited horizontal data and it returns it back as a non-pivoted vertical table with a 2-diemensional star schema.
Read more...
By
Jesse Roberge
2008/10/22
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
|
Discuss
|
Briefcase
|
987 reads
Delimited String Parsing Functions - Basic Set
Feed it delimited horizontal data and it returns it back as a vertical table.
Read more...
By
Jesse Roberge
2008/10/20
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
|
Discuss
|
Briefcase
|
2,475 reads
Delimited String Parsing Functions - 2D set
Feed it double-delimited horizontal data and it returns it back as a non-pivoted vertical table with a 2-diemensional star schema.
Read more...
By
Jesse Roberge
2008/10/14
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
|
Discuss
|
Briefcase
|
967 reads
Hidden RBAR: Triangular Joins
Just because it looks set based, doesn't mean it is. T-SQL Crackerjack Jeff Moden takes a look at a mistake that many query writers make.
Read more...
By
Jeff Moden
2009/01/16 (first published: 2007/12/06)
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
46,464 reads
Delimited String Parsing Functions - Big Set
Feed it large strings of delimited horizontal data and it returns it back as a vertical table.
Read more...
By
Jesse Roberge
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
|
Discuss
|
Briefcase
|
1,065 reads
Counter Table (table of numbers) Setter-Upper for SQL Server 2005
Sets up 3 'table of numbers' that completely fill a 1, 2, and 3-level clustered index respectivly with 622, 386884, and 240641848 numbers.
Read more...
By
Jesse Roberge
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
(not yet rated)
|
Discuss
|
Briefcase
|
829 reads
Counter Table (table of numbers) Setter-Upper for SQL Server 2000
Sets up 3 'table of numbers' that completely fill a 1, 2, and 3-level clustered index respectivly with 620, 384400, and 238328000 numbers.
Read more...
By
Jesse Roberge
|
Source:
SQLServerCentral.com
|
Category:
t-sql aids
Rating:
(not yet rated)
|
Discuss
|
Briefcase
|
435 reads
A Sudoku solution with set based T-SQL utilizing binary operators
A Sudoku solution with set based T-SQL approach utilizing binary values and operators, to ease the algorithm.
Read more...
By
Kevin Duan
0001/01/01
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
3,306 reads
Everybody Reports to Somebody
One of the very common questions posted about T-SQL is how to traverse a hierarchy in a set based manner. New author Craig Hatley brings us his techniques for handling the common scenario of employees and managers.
Read more...
By
Craig Hatley
2007/06/04
|
Source:
SQLServerCentral.com
|
Category:
advanced querying
Rating:
|
Discuss
|
Briefcase
|
5,645 reads
Converting Hexadecimal String Values to Alpha (ASCII) Strings
In an interesting exercise in data conversion, Stephen Lasham brings us a nice article on basic manipulations.
Read more...
By
Stephen Lasham
2007/05/17
|
Source:
SQLServerCentral.com
|
Category:
advanced querying
Rating:
|
Discuss
|
Briefcase
|
10,574 reads
Identify Unique Columns
Tool to automatically query combinations of columns in your table to determine candidate for unique key.
Read more...
By
Jesse McLain
2008/04/16
|
Source:
SQLServerCentral.com
|
Category:
t-sql
Rating:
|
Discuss
|
Briefcase
|
1,089 reads
CASE function in SQL Server – part II
Part I of this series illustrated how to use simple case functions in queries. This installment discusses how to use case functions in different types of scenarios.
Read more...
By
Additional Articles
2007/04/12
|
Source:
Database Journal
|
Category:
advanced querying
Rating:
Rate this
|
Briefcase
|
9,052 reads
Gotcha! SQL Aggregate Functions and NULL
Working with NULL functions can be tricky in T-SQL and SQL Server 2000. If you add in aggregates, you need to be sure you understand what the behavior will be or you might report incorrect values to a user. Michael Coles has written a new article that talks about how NULL affects your results.
Read more...
By
Michael Coles
2008/04/04 (first published: 2005/07/05)
|
Source:
SQLServerCentral.com
|
Category:
advanced querying
Rating:
|
Discuss
|
Briefcase
|
85,815 reads
Why Read-only Table Parameters is Not Enough
In this article I discuss a new feature in SQL 2008, table-valued parameters and particularly the restriction that they have to be read-only. I argue that this makes this feature considerably less useful that it could be, and that in order to build scalable applications be able to pass read-write table parameters between stored procedures is essential.
Read more...
By
Additional Articles
2008/04/02
|
Source:
Erland Sommarskog's SQL Page
|
Category:
advanced querying
Rating:
Rate this
|
Briefcase
|
1,748 reads
Items 1 to 20 of 220
Next 20 >>
Tags
t-sql
(180)
sql server 7
(25)
administration
(15)
sql server 2005
(12)
miscellaneous
(11)
stored procedures
(9)
t-sql aids
(9)
development
(8)
nums
(8)
performance tuning
(8)
sqlinsider scripts
(8)
table of numbers
(8)
tally
(8)
counter
(7)
programming
(7)
arrays
(5)
delimited strings
(5)
parse
(5)
security
(5)
strategies
(5)
string manipulation
(5)
monitoring
(4)
sql puzzles
(3)
system development life cycle
(3)
2-dimensional arrays
(2)
table
(2)
user defined function (udf)
(2)
visual basic 6
(2)
ado
(1)
advanced
(1)
analysis services (ssas)
(1)
backup / restore
(1)
basics
(1)
common table expression (cte)
(1)
configuring
(1)
data warehousing
(1)
database design
(1)
datetime manipulation
(1)
dba
(1)
dts
(1)
extract, transform, load (etl)
(1)
games
(1)
maintenance and management sql server 2005
(1)
openxml
(1)
prime
(1)
prime number
(1)
puzzle
(1)
scripts
(1)
sieve
(1)
sql server 2008
(1)
sql server 6.5
(1)
table valued parameters
(1)
test data
(1)
triangular joins
(1)
triggers
(1)
xml
(1)
Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.