SQL Server Code,Tips and Tricks, Performance Tuning

A blog about SQL Server, Books, Movies and life in general

Thursday, December 29, 2005

Format SQL Server Money Data Type

›
Sometimes you want to have your money fields properly formatted with commas like this: 13,243,543.57 You can use the CONVERT function and gi...
Friday, December 23, 2005

How To Resolve A Deadlock

›
I stumbled upon this SQL Server technical bulletin and it gives one example of how to resolve a deadlock. Typical methods you can use to res...
3 comments:
Wednesday, December 21, 2005

SQL Server 2005 System Table Map PDF Download

›
A couple of days back I reported that the current issue of SQL Server Magazine includes a poster of all the SQL Server 2005 System Tables . ...
Monday, December 19, 2005

SQL Query Optimizations

›
Below are a couple of small SQL query optimization tips I have include the execution plan pictures for some of the queries so that you can s...
3 comments:
Thursday, December 15, 2005

Test SQL Server Login Permissions With SETUSER

›
Sometimes you get a request to create a login and you want to test the permissions before letting the user know that he can use the login. y...
3 comments:
Wednesday, December 14, 2005

SQL Server 2005 T-SQL Recipes: A Problem-Solution Approach

›
SQL Server 2005 T-SQL Recipes: A Problem-Solution Approach This book has been published it is 768 pages and published by Apress and you can...
3 comments:
Tuesday, December 13, 2005

SQL Server 2005 Free E-Learning

›
Whether you are interested in database administration, database development, or business intelligence, there is some free * E-Learning to he...
Monday, December 12, 2005

Fun With SQL Server Update Triggers

›
Below is some code that will show how to test for updated field values in an update trigger. As you can see the IF UPDATE (field) is true ev...
Thursday, December 08, 2005

Keep Your Statistics Up To Date

›
I had a scheduled job that runs every hour and took about a minute to complete. Somehow for no good reason this job suddenly takes hours and...

SQL Server 2005 System View Poster

›
If you have never bought an issue of SQL Server Magazine then this is the month to do it. The latest issue comes with a huge SQL Server 200...

SQL Server 2005 December BOL Update And Samples

›
Updated versions of Books On Line and Sample Databases are available from the links below SQL Server 2005 Books Online (December 2005) SQL S...
Monday, December 05, 2005

SQL Server Site Geo Map For November

›
These are the countries where the bulk of the visitors for this blog are coming from. As you can see most off the visitors are from the US a...

SQL Server 2005 Master Database System Views

›
Below is a list of the SQL Server 2000 system tables and the corresponding SQL Server 2005 system views in the master database SQL Server 20...
Saturday, December 03, 2005

November SQL Google Searches

›
These are the top SQL Searches on this site for the month of November. I have left out searches that have nothing to do with SQL Server or p...
Friday, December 02, 2005

SQL Server 2005 Sample Book Chapters

›
Karen's SQL Blog has a blog post with a list of SQL Server 2005 sample chapters. Since I did not want to duplicate or copy the work tha...
Thursday, December 01, 2005

Mapping SQL Server 2000 System Views To SQL Server 2005

›
SQL Server 2000 System Table SQL Server 2005 System View syscolumns.....................sys.columns syscomments....................sys.sql...
Tuesday, November 29, 2005

SQL Server 2000 Undocumented Procedures For Files, Drives and Directories

›
Below are some undocumented SQL Server 2000 procedures for information about files, drives and directories. You should not depend on this be...
2 comments:
Wednesday, November 23, 2005

Calculating Thanksgiving By Using SQL in SQL Server

›
Happy Thanksgiving, here is some SQL code to calculate the next 11 (including today) Thanksgiving days CREATE TABLE #NumberPivot (Number IN...
Monday, November 21, 2005

SQL Server 2005 Virtual Labs

›
There are virtual labs available for SQL Server 2005 You get a downloadable manual and a 90-minute block of time for each module. You can si...

Use OBJECTPROPERTY To Find Out Table Properties

›
How many times did you open up a table in design view to find out if a table has a delete trigger a clustered index an identity column a pri...
‹
›
Home
View web version
Powered by Blogger.