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 but ...
Stored procedures can speed up your code by reducing trips to your database -- even if you only have one SQL statement to execute. Here's how to speed up your application (and how to simplify your ...
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. Both ...
I'm looking for information on writing a stored procedure that can count files in a directory and return a resultset to perform various jobs on depending on a count.<BR><BR>For instance, let's say the ...
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 ...
Technology Toolbox: VB.NET, C#, SQL Server "Yukon" All versions of SQL Server prior to SQL Server "Yukon" provide two ways to write procedural code that executes inside the database. The usual way is ...
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. TechRepublic’s ...
Peter revisits an earlier tip on how to use stored procedures to speed up your code. This version makes your stored procedures simpler … though you may have to write a little more code to make the ...
This article explains how to repair the MDF file using the native repair methods and how to use a Reliable MDF file Repair ...