May 08, 2006
spSPrintF
For the C/C++ programmers amongst us, the thought of a printf like function might cause a twitch or two. It certainly does for me, especially in the SQL Server world. AS it happens, every now and again, being able to use a function like printf in SQL Server, might be woth the possible ugliness. Printf, in the C/C++ world, accepts a variable number of arguments, and likely has caused a large number of programs to roll over and die. Here is an alternate implementation of a printf like SQL Server function.
Posted by Douglas Reilly at 10:40 AM Permalink
|