News

Learn how to handle parameter sniffing and dynamic SQL in query optimization using best practices and techniques for production support engineers.
This example is written on Codeigniter 2.2 and uses the Mysql employees sample database If you have trouble importing the sample database structure to a Mysql 5.6.23 database, try importing the ...
Very small databases or very simple dynamic queries Limited memory available at compile time on your database server A desire to reduce the query compilation (for example, PREPARE) time.
Dynamic SQL query with Go This is a simple project to show how to use Go standard library to do dynamic (unknown column) SQL query. All the explanations are in source code main.go file. This example ...
It’s surprisingly easy to stop query folding happening in Power Query by changing the data type of a column. This is mentioned in the docs here, and it’s something several people have blogged about ...
Rather than use these entered values to filter a SQL query, they will be used to generate a SQL statement that returns the same values in the form of a disconnected, DirectQuery table connected to a ...
For example Microsoft Dynamics NAV Server executes queries to calculate calculated fields shown on the fact boxes. We need to have this type of comments because Microsoft Dynamics NAV Server might ...
Any hint of dynamic T-SQL queries should ring warning bells for security minded developers. Dynamic queries are vulnerable to SQL injection attacks, one of the most common database attack vectors.