views:

79

answers:

1

Is there a SQL library handling simple sql related tasks for ASP classic? What I have in mind is sql to array, multiple insert, input sanitizing etc.

Thanks

A: 

I'm very much NOT an asp guy.... but the ADODB recordset object is what we use at work. "input sanitizing" is like alchemy.... you can never quite get all the way there. Always use parametrized queries/stored procedures.

Some quick little example snippets are here...

http://forums.devx.com/showthread.php?t=9428

Jody
Thank you for answering; still, I am looking for a library that would minimize redundancy and provide input sanitizing. Cheers --Andre
aaandre
Using parametrized queries will sanitize your input by limiting the length of chars submitted to those held in the SP or db table, as well as the data type. Also, the need for sanitizing for things like apostrophe's ('), comment marks (--) and other stuff you never thought of is unnecessary. The program will not interpret ANY data passed in by the user as syntax. It will only use it as part of the intended parameter.
Jody
Jody