How to Pull Record Counts for Tables
One way to familiarize one’s self with a very non-production database is to get a list of tables and record counts for each. declare @tbl nvarchar(400); -- internally generated, table name declare @sch...
View ArticleT-SQL Divide-By-Zero
Divide-by-zero errors are one of the first errors new programmers come across. A reasonable fix is to check the denominator and, if it equals zero, provide some useful result as an alternative to...
View ArticleCase Statement Foiled By Null
This article applies to Microsoft SQL server. The concept of null can be confusing to programmers and non-coders alike. For databases, the normal understanding as defined by ANSI is null means anything...
View ArticleVirtual Credit Cards – A Rebuttal
I recently read an article explaining why virtual card numbers “aren’t worth it.” The internet is full of awful advice. One of my favorites I came across was from a young lady who stated that you...
View ArticleA short JSON Primer
One of the things that newcomers to JSON ask is, when do I use hard brackets and when do I use curly braces? Curly braces, “{” and “}”, encapsulate one or more unique key value pairs. Keys are paired...
View ArticleArrays and Recordsets in Classic ASP
Classic ASP would appear to be a relic of the bygone past but there are still some of us out there who support websites built on this technology. For those three or four of you left, I thought I would...
View ArticleJSON Delivery in Classic ASP
This post is a follow-on to http://eimagine.com/arrays-and-recordsets-in-classic-asp/ where we are introduced to some of the helper Classic ASP functions I use to retrieve and display data. The main...
View ArticleHow to Use SQL Out Variables in Classic ASP
This blog post is for those lucky souls programming in Classic ASP VBScript who need to access output variables in Microsoft SQL (T-SQL) stored procedures. In T-SQL, stored procedures can have out...
View ArticleUsing AJAX to Populate a Select Control
This is the final installment of using AJAX and JSON in Classic ASP. In this article we use JSON to populate a select control based on the selection in another. In the first article we learned about...
View ArticleHow to Compose a Blog Post
At eimagine, we want everyone on our team to feel comfortable writing blog posts to be published on our corporate website. So this post is for you, the teammate at eimagine, who may have written one or...
View Article
More Pages to Explore .....