5
Shrink databases' log files to minimal size. Runs on every database on server, using undocumented
procedure.
procedure.
2
When you need to perform an action on a single row of data, many people turn to cursors. Cursors come with a lot of overhead in the database engine and can be confusing. Here's a way to get the same results without the overhead in a much simplier way.
2
Often when inserting information in a database we need to know the value of the autonumber/identity field so that we can insert related data in another table. MSSQL Server provides a SCOPE_IDENTITY() function for just such a purpose (PHP/MySQL users have the mysql_insert_id() function -- lucky).
*This is in the generic section because there is no MSSQL Server or Database section.
*This is in the generic section because there is no MSSQL Server or Database section.









