SQL Server Code,Tips and Tricks, Performance Tuning

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

Tuesday, May 27, 2008

SQL Teaser uniqueidentifier

›
Create this table CREATE TABLE #bla (SomeVal uniqueidentifier) INSERT #bla VALUES ( 'D903D52D-DBFA-4904-9D95-F265152A391F' ) what ...
1 comment:

Interview With Erland Sommarskog About SQL Server and Transact SQL

›
I have interviewed Erland Sommarskog, you can find that interview here: Interview With Erland Sommarskog About SQL Server and Transact SQL E...
Friday, May 23, 2008

Interview With Craig Freedman About Indexing, Query Plans And Performance

›
I interviewed Craig Freedman about Indexing, Query Plans And Performance and more. You can find that interview here: Interview With Craig Fr...
Wednesday, May 21, 2008

I have a question for you on DB development blunders!

›
Last week Kalen Delaney wrote Did You Know? I have a question for you on DBA Blunders! I though the comments were very interesting, S we di...
Monday, May 19, 2008

Spring Cleaning, Getting Rid Of Some Books

›
I did some spring cleaning yesterday, I got rid of some old or obsolete books. I asked some people at work if they want any of these books a...
Thursday, May 08, 2008

SSMS Tools PACK 1.0 is now available

›
Mladen Prajdić just released SSMS Tools PACK 1.0 . SSMS Tools PACK is an Add-In (Add-On) for Microsoft SQL Server Management Studio and Micr...

How to log when a function is called?

›
This question came up today and here is one way of doing it. It requires running xp_cmdshell so this is probably not such a good idea. The ...

SQL Teaser: @@ROWCOUNT

›
Without running this what do you think will be printed? SET ROWCOUNT 0 DECLARE @ int SET @ = 6 IF @@ROWCOUNT = 1 PRINT 'yes' E...
Wednesday, May 07, 2008

Should SQLServer Have The CREATE [OR REPLACE] PROCEDURE Syntax?

›
I was asked by a developer at work the other day why SQL Server does not have the create or replace syntax. I started thinking and there wer...
3 comments:
Tuesday, May 06, 2008

What Would You Like To Ask Erland Sommarskog?

›
In the Who do you want to see interviewed next? (sqlblog) and Who do you want to see interviewed next? (here) blog post I asked for some nam...
1 comment:

What Would You Like To Ask Craig Freedman?

›
In the Who do you want to see interviewed next? (sqlblog) and Who do you want to see interviewed next? (here) blog post I asked for some nam...

Do you depend on sp_depends (no pun intended)

›
HTML Source EditorWord wrap I answered this question on the MSDN forums: How can I search all my sprocs to see if any use a function? Severa...
Friday, May 02, 2008

Testing for SQL Server Vulnerabilities

›
I found this SQL Server Testing (not unit but vulnerability) page and decided I would post a link to it since it has some useful stuff. The ...
Thursday, May 01, 2008

Who do you want to see interviewed next?

›
I have interviewed a bunch of people already, some of them on this blog and some of them on SQLBlog Below is the list of all the people so f...
1 comment:
Friday, April 25, 2008

SQL Teaser: Some Things Are Not What They Seem

›
This one is a little sneaky, don’t send me hate mail for it. What does this return? SELECT ISNUMERIC ( '+' ), ISNUMERIC ( '–...
2 comments:
Tuesday, April 22, 2008

How to rename a column in a SQL Server table without using the designer

›
If you have a table and you want to rename a column without using the designer, how can you do that? First create this table CREATE TABLE T...
2 comments:
Monday, April 21, 2008

Interview With Stéphane Faroult About Refactoring SQL Applications

›
I decided to interview Stéphane Faroult, the author of The Art of SQL because it is one of my favorite SQL books. Stéphane told me he has a...
Tuesday, April 15, 2008

Solutions for Common T-SQL Problems Wiki Launched

›
Volunteer Moderators and Answerers who support the Microsoft MSDN SQL Server Forums have launched a Wiki with Solutions for Common T-SQL Pro...
Monday, April 14, 2008

Use IDENT_CURRENT() to return the last identity value generated in all tables in a SQL Server Database

›
This is how you return all the tables with their last generated identity values in a SQL Server Database SELECT IDENT_CURRENT (table_name),...
Sunday, April 13, 2008

Links Of The Week 20080414

›
Here are the links for this week Database SQL Server 2005 Memory Limits and Related Questions Microsoft to Increase Use of SQL Server 2005 B...
‹
›
Home
View web version
Powered by Blogger.