Quantcast
Channel: Aggregated Feeds : tutorials, samples
Browsing all 8 articles
Browse latest View live

Passing Parameters to a Background Procedure

Copyright Remus Rusanu 2009. Visit the original article at http://rusanu.com/2009/08/18/passing-parameters-to-a-background-procedure/  I have posted previously an example how to invoke a procedure...

View Article


Performance comparison of varchar(max) vs. varchar(N)

The question of comparing the MAX types (VARCHAR, NVARCHAR, VARBINARY) with their non-max counterparts is often asked, but the answer usually gravitate around the storage differences. But I’d like to...

View Article


Using tables as Queues

A very common question asked on all programming forums is how to implement queues based on database tables. This is not a trivial question actually. Implementing a queue backed by a table is...

View Article

Download and Upload images from SQL Server via ASP.Net MVC

A frequent question that pops up on discussion forums is how to serve an image that is stored in a SQL Server table from an ASP.Net application. Unfortunately the answer is almost always wrong, as the...

View Article

T-SQL functions do no imply a certain order of execution

Looking at this question on StackOverflow: Conversion failed when converting from a character string to uniqueidentifier error in SQL Server one can see a reproducible example where a string split UDF...

View Article


SQL Server table columns under the hood

You probably can easily answer a question like ‘What columns does this table have?’. Whether you use the SSMS object explorer, or sp_help, or you query sys.column, the answer is fairly easy to find....

View Article

How to enable and disable a queue using SMO

The SMO object model for SQL Server ServiceQueue does allow one to enable or disable a queue, but the property that modifies the queue status is not intuitive, it is IsEnqueueEnabled: Gets or sets the...

View Article

How to read and interpret the SQL Server log

The SQL Server transaction log contains the history of every action that modified anything in the database. Reading the log is often the last resort when investigating how certain changes occurred. It...

View Article

Browsing all 8 articles
Browse latest View live