Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: 126 | Views in the last 30 days: 1
 
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...

BLOG

Microsoft Azure Stack in Preview!

Microsoft made available the first technical preview of its new Microsoft Azure Stack offering today...

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 ...

Tags
miscellaneous    
t-sql    
 
Contribute