News

Creating SQL Stored Procedures via SQL Server is easier than you might have originally thought, so let us explain what to do.
Likewise, processor-intensive calculations that should take place in the server should use compiled .NET code, until T-SQL stored procedures can be compiled to machine code.
ANSI SQL 99 adds a recursive query capability which permits it.<BR><BR>SQL Server 2005 will add recursive query capability to T-SQL, but for no good reason doesn't use the ANSI syntax.
But, if you're using any version of SQL Server later than SQL Server 2005, you have an alternative: table-valued parameters. Table-valued parameters let you pass a collection of table rows as a ...
This prevents SQL Server from making assumptions based on the way the stored procedure is called the first time and picking a plan that is inefficient for different parameters.<BR><BR>Does not ...
Automated Testing (unit/integration) is an integral part of any agile development process. However a project with significant logic housed in SQL Server stored procedures or other database 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.
The basic concept of recursion is straightforward: a given chunk of code calls itself until some boundary condition is reached. Arthur Fuller demonstrates how to use recursion in T-SQL.
The Ashley Madison developers stored sensitive credentials like database passwords, AWS API secrets, authentication tokens and SSL private keys in their source code repositories.