SQL Server with Mr. Denny:

Development


September 19, 2008  7:04 PM

Great Turnout At the San Diego SQL Server Users Group Last Night



Posted by: Denny Cherry
Federated Database, In Person Events, San Diego SSUG, SoCal Code Camp, SQL

I'd like to say thanks to the San Diego SQL Server Users Group for inviting me to speak last night. I had a great time speaking to the group, and just like last time the questions were all excellent. The slide...

September 11, 2008  11:00 AM

Service Broker may not remove messages after processing



Posted by: Denny Cherry
END CONVERSATION, Service Broker, SQL, SQL Server 2005, TempDB

I've seen an issue with Service Broker that others may be seeing.  Messages are sent into the service broker, and are processed as normal, and they are removed from the message queue.  However you still see the conversation in the sys.conversation_endpoints DMV in a CONVERSING state instead of a...


September 8, 2008  11:00 AM

How to configure DTC on Windows 2008



Posted by: Denny Cherry
KB 250367, MS DTC, MSCS, RPC, SQL, Windows 2008

This post is specifically about setting up DTC on Windows 2008.  If you are looking for the post about setting up DTC on Windows 2003 you'll want to go to the post "

  Bookmark and Share     3 Comments     RSS Feed     Email a friend


August 11, 2008  11:00 AM

Back To Basics: The RESTORE DATABASE Command



Posted by: Denny Cherry
Back To Basics, Restore Database, SQL

The restore database command is what is used to recover a database which has been backed up using the BACKUP DATABASE command.  The syntax of the RESTORE DATABASE...


August 7, 2008  11:00 AM

How to configure DTC on Windows 2003



Posted by: Denny Cherry
KB 250367, MS DTC, MSCS, RPC, SQL, Windows Server 2003

Back in the Windows 2000 days, getting DTC to work was easy.  It was setup by default to work.  There wasn't a whole lot of configuration which needed to be done...


August 4, 2008  11:00 AM

I need a secure transfer of data between SQL Servers. What are my options?



Posted by: Denny Cherry
Config, Encryption, IPSec, OpenSSL, PGP, Secure Data Transfer, Secure FTP, SFTP, SQL

You've got a few options, none of which are all that easy to setup. 1. Export the data, then encrypt the file, then transfer the file, then decrypt the file, then import the file. 2. Setup IPSec between the two SQL Servers and then transfer the data as normal. 3. Setup a Secure FTP Server at...


July 22, 2008  11:00 AM

Back to Basics: The BACKUP DATABASE command



Posted by: Denny Cherry
Back To Basics, BACKUP DATABASE, SQL, SQL Server 2000, SQL Server 2005

Now that you have objects created within your database, and data within the tables you need to secure your database in case of a server failure or accidental data deletion.  This would be done by taking backups of the database.  Backups are taken by using the BACKUP DATABASE command. The...


July 21, 2008  11:00 AM

A better way to index text data



Posted by: Denny Cherry
Index Performance, Query tuning, SELECT statement, T/SQL, Tables, Uni-code

Indexing text data (varchar, nvarchar, char, etc) is a good way to make it faster to find the data you are looking for.  However these indexes can end up being very hard on the disks behind the index, as well as the memory of the server.  This is because of the large amount of data being put in...


July 17, 2008  11:00 AM

Book: The Windows Manager’s Guide to iSCSI SANs



Posted by: Denny Cherry
Exchange, Microsoft Windows, SQL, SQL Server 2005, SQL Server 2008, Storage

That's right I said a book.  Well it's actually an eBook but good enough right?  The best part is that it's available for free.  It's a three chapter eBook called "The Windows Manager's Guide to iSCSI SANs".  Each chapter was posted separately so you have to click through to each...


July 14, 2008  11:00 AM

Using batching to do large operations without filling the transaction log



Posted by: Denny Cherry
DELETE statement, Query tuning, SQL, Tables

Deleting large amounts of data from a table is usually an important task, but if you don't have a maintenance window to work within then you can end up causing locking and blocking against the other processes which are accessing the database.  Not to mention you will cause a very large amount of...