News
T-SQL exec command (or the sp_executesql system stored procedure). The difference with this scenario is where the code is executed (i.e., the server), so the final decision will depend on your ...
SQL Server is one of the best products to come out of Microsoft, but not every professional knows how to use it effectively. For example, some might find it difficult to create a stored procedure ...
A while ago somebody posted in one of my threads six or so reasons to use stored procedures instead of raw SQL in asp applications. I know a couple of reasons, but a few of the reasons he listed I ...
I'm working on the DB end of a 3-tier web app using an ASP front end, VB to handle the business logic and MSSQL2K as the database. The programmers want to use stored procedures for all database ...
While my code worked in every version of SQL Server, it was hardly "hip and happening." But, if you're using any version of SQL Server later than SQL Server 2005, you have an alternative: table-valued ...
Stored procedures protect from SQL injection hacks, and they speed up your database server and return records to the PHP page. More For You. How to Close Hidden Excel Sessions in VBA.
Stored procedures can also make SQLi a lot harder — although not impossible. If your web application only needs to run a handful of SQL queries, create stored procedures to execute those queries.
Use stored procedures for performance, use ORMs for convenience ORMS—object-relational mappers—are software toolkits that produce programmatically generated SQL code.
Stored procedure XML This screenshot lists the source of a SQL Server 2014 stored procedure hitting the AdventureWorks2012 database, selecting data from the Customer and SalesOrderHeader tables.
Avoid this if possible; if dynamic SQL generation is necessary, be sure that stored procedures are using input validation or proper escaping to prevent the injection of malicious code.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results