Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SQLStackEngine - simulate a character stack

By Wayne Lawton,

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 addition, unit test code is embedded in-line within the package as commented out lines.

Total article views: 125 | Views in the last 30 days: 2
 
Related Articles
FORUM

SQL Server Stack Dump

SQL Server Stack Dump

FORUM
FORUM

Stacked Column Chart - Incorrect Aggregate ???

I have an aggregate problem with a stacked column chart...

ARTICLE

CONTEXT_INFO() and the SQL Calling Stack

Nothing new for many developers, but I still like the way you can maintain the stack throughout the ...

BLOG

Implement a stack in SQL Server using stored procedures

In this article I will show you how to implement a stack.  In programming, stacks are a great way to...

Tags
miscellaneous    
t-sql    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones