Skip to main content

Welcome to White Papers, Conference Notes and Articles

I'll be posting stuff here very shortly.

Comments

Ted Roche said…
Andrew: I'm seeing a link for an Installshield white paper on my RSS feed, but getting a 404 when I navigate to it. Is that the one you output in OO.o and then withdrew, or is something else going on?
Ted Roche said…
OOps. Meant to supply the link:

http://www.aksel.com/whitepapers/2004/07/using-installshield-with-vfp-8.htm

Popular posts from this blog

Refactoring T-SQL

While much has been said about the benefits of refactoring application code (see VFPX Code Analyst), I typically haven't seen a lot of noise about refactoring T-SQL and stored procedure code.

The refactoring features found in SQL Manager tend to be more about refactoring your database design but not about the actual content of the SPs.

It's important to note that if you tend to rely on large stored procedures, then many of the same rules of refactoring apply:

1. Keep it short and sweet.
2. Make it readable.


So when dealing with a particularly unruly stored proc (over 1000 lines), I was quite happy to find Red Gate's SQL Refactor (here's a post from the lead developer).

Some of the features are pretty basic (renaming variables, etc) but the one of great interest was the Encapsulate as a new Stored Proc.

As with a number of tools that are add-ons to other components, its overall usefulness might seem limited if you are building your stored procs either using testing patterns …