Hans-Georg <[EMAIL PROTECTED]> 2006-04-15 17:18:
> You could use the poor man's "pre-compiled" approach:
>
> Const PrecompiledString = "select a,b,c where d = #1 and e = #2"
>
> Dim SelectString As String = PrecompiledString.Replace(#1, "first
> string").Replace(#2, "second string" )
Yes but this doesn't protect against "sql injection" (or whatever it's
called) ?
jem
--
Jan Erik Moström, www.mostrom.pp.se
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>