|
|
|
|
|
|
|
|
|
|
|
|
|
|
| SQL Server 2005 : Dynamic T-SQL - Supporting Optional Parameters (part 4) - sp_executesql: A Better EXECUTE |
| Query parameterization, is the key to fixing both of these problems. Parameterization is a way to build a query such that any parameters are passed as strongly typed variables, rather than formatted as strings and appended to the query. In addition to the performance benefits this can bring by allowing SQL Server to do less work when processing the query, parameterization also has the benefit of virtually eliminating SQL injection attacks. |
|
|
|
|
|
|
|
|
|
|
|
| MySQL for Python : Forming a query in MySQL |
| In order to best understand how to submit a query through MySQL for Python, it is important to ensure you understand how to submit a query in MySQL itself. The similarities between the two outnumber the differences, but the first may seem confusing if you don't properly understand the second. |
|
|
|
|
|
|
|
|
|
|
|
| SQL Injection : Code-Level Defenses - Encoding Output |
| In addition to validating input received by the application, it is often necessary to also encode what is passed between different modules or parts of the application. In the context of SQL injection, this is applied as requirements to encode, or “quote,” content that is sent to the database to ensure that it is not treated inappropriately. |
|
|
|
| Upgrading and Converting to Access 2010 : TO CONVERT OR TO ENABLE |
| You have several things to consider when deciding whether to convert an application to the Access ACCDB file format. The primary reason to convert is to take advantage of the new features that require the ACCDB file format, such as the ability to work with complex data, the ease of collecting data from e-mail forms, linking to SharePoint Services, and creating Web applications. |
|
|
|
|
|
|
|
| SQL Server 2005 : Advanced OLAP - Calculations (part 1) - Calculated Members |
| There’s a lot more to explore than these measure and dimension features. For instance, Analysis Services allows you to store calculated MDX expressions on the server that you can use in your queries. You can reference custom-built sets by name, create calculated measures or dimension attribute members, and more. |
|
|
|
| Exploiting SQL Injection : Out-of-Band Communication |
| The HTTP(S) connection that is used to send the request is also used to receive the response. However, this does not always have to be the case: The results can be transferred across a completely different channel, and we refer to such a communication as “out of band,” or simply OOB. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|