SQLStackEngine - simulate a character stack

SQLStackEngine - simulate a character stack using a string.  This script was developed specifically to support the operator stack in SQLCalcEngine(also on this site).  However, the implementation is complete enough to stand on its own.There are several functions in the package that correspond to the common stack functions of Push, Pop, Peek, and so on.In […]

2006-12-12 (first published: )

129 reads

SQLCalcEngine - evaluate numeric expression

SQLCalcEngine - evaluate numeric expression similar to the VB eval function.The basic concept is to pass a string containing a numeric expression such as ((2+3)*(4/9)) and receive a numeric value back. The algorithm is based loosely on material found at http://www.arstdesign.com/articles/expression_evaluation.html, as well as material found in the book "Writing Compilers and Interpreters" by Ronald […]

2005-03-31 (first published: )

306 reads

XML Encode UDF

I routinely need to retrieve and package query result sets in an XML package.  The built in functions supported by SQL Server 2000 are effective, but are often more of a pain than a help.  This routine can be used in a simple select statement to XML encode the contents of a column during the […]

2003-10-14

214 reads

Blogs

Schema Filtering in SQL Prompt

By

I love SQL Prompt, and I’m regularly impressed by the enhancements our teams continue...

Information Measurement with SQL Server Part 4.8: The Intersection Family of Distances

By

By Steve Bolton …………Each group of distance measures surveyed in this segment of the...

Midlands PASS: SQL Server Security Basics

By

Midlands PASS (Columbia, SC) will be meeting on March 3, 2020, for our monthly...

Read the latest Blogs

Forums

Need Help with DBMail sending Excell attachments with query results

By etvph81

Hello All, I'm having trouble trying to get this to work: This is the...

Mean Median Mode using SQL and DAX

By Gouri Shankar

Comments posted to this topic are about the item Mean Median Mode using SQL...

Reviewing Your Past Efforts

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Reviewing Your Past Efforts

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers