News

Ok, I'm trying to write a query in a stored procedure in SQL Server 2000. Because some of the parts of the query vary based on certain situations I construct a string that contains the query and ...
The following code snippet from the script shows use of Groovy’s multi-line GString to specify the SQL query string in a user-friendly format and to process the results of that query.
Microsoft's UrlScan 3.0 is an upgraded version of a five-year-old tool that now examines the query string in a SQL query request. That allows developers to create more granular rules for specific ...
In this case, what the script does is not as important as look at the code that defines the SQL query string (lines 18-21). searchDbComments.groovy (using def without String typing or as String) ...
I think it's been aluded to above, but SP's or Parameterised quieries are the way to go for no other reason that security.<BR><BR>If you are combinging strings to make a query, all a hacker has to ...
If you ever need to sort character strings stored in SQL Server fields, check out this demonstration of how to write a common sorting algorithm using SQL Server TSQL code.