Migrate/Transfer SQL Server 2008/2005/2000/7 Logins to SQL Server 2008
When moving databases across servers, you face the same problem as when upgrading servers: users are server specific, but permissions are databases specific. They are not bound by UserName, but through...
View ArticleMigrating SQL Server 2000 ISQLW Utility to SQL Server 2008 R2 SSMS...
If you followed my blog, you probably already guessed that I’m assisting a client to prepare for a big SQL Server 2000 to SQL Server 2008 R2 migration. When not, you know now :) I’m a fan of...
View ArticleSQL Server 2012 is Generally Available! – SQL Server Team Blog – Site Home –...
I’ve been really busy lately with a couple of migration projects, so I totally missed the various SQL Server 2012 is Generally Available! announcements. Which is important because for one client, this...
View ArticleChecking which applications have a TCP connection to SQL Server (DTAP)
When in a DTAP environment, you cannot always have complete clean boundaries. Issues in production don’t reproduce in acceptance, you cannot develop in production, etc. So sometimes you have to...
View ArticleThe ADO.NET Entity Framework and SQL Server 2000: the ProviderManifestToken...
Yes. Dorothy. There are people using the ADO .NET Entity Framework with SQL Server 2000 in parallel of moving towards a more modern Microsoft SQL Server version. Entity Framework is lovely for...
View ArticleList of the bugs that are fixed in SQL Server 2008 R2 Service Pack 2
Close to 5 months after SQL Server 2012 got released to manufacturing, SQL Server 2008 R2 Service Pack 2 became available last week (July 26th, 2012). A few links: List of the bugs that are fixed in...
View ArticleGreat session on how to prevent SQL Injection Myths and Fallacies
A few weeks ago, Bill Karwin did a must watch webinar on the prevention SQL Injection titled ”SQL Injection Myths and Fallacies“. Bill Karwin (twitter, new blog, old blog, Amazon) is famous for much...
View ArticleINFORMATION_SCHEMA views in various databases
Few people know about the INFORMATION_SCHEMA views that have been there since SQL-92. Two funny things about that standard: Until the 1990′s, Digital Equipment Corporation was still heavily involved in...
View ArticlePad Numbers with Leading zeros (0s) or trailing spaces – Fixed Width Number...
Every once in a while I need something like this, and I always forget the best way to do it: pad numbers so they start with leading zeros so they appear fixed with. The SQLAuthority phrases it: There...
View ArticleUpscene Productions: Database Workbench 4.3.1 free Lite Editions released
Database Workbench is my tool of choice for doing database work: it supports many backends in a consistent manner, and behaves a lot like Delphi (like running and debugging stored procedures)....
View ArticleElfproef as T-SQL UDF
As a follow-up on my earlier number validation posts (Elf proef in C# and Other number verifications), I found a nice T-SQL version of the Elfproef for Dutch bank account numbers. It works at least...
View ArticleROT13 – text obfuscation – T-SQL versions of the algorithm
Never call this encryption, as ROT13 is just a kind of obfuscation for text and can be easily revealed (like the reveal button in good old Teletext). A few T-SQL versions of this algorithm, both...
View ArticleResearch links: unit testing using SQL Server
Being used to do Unit Testing in most of my regular code, I want to do the same for SQL Server code. Target is SQL Server 2000 and up (since I’m involved in a big migration project getting a lot of SQL...
View ArticleSQL Server quick tip by Denis Gobo: use DBCC SHOWCONTIG for Min/Max/Average...
Thanks SQLMenace (Denis Gobo) for this great tip on getting min/max/average row sizes (and more) using DBCC SHOWCONTIG. Don’t forget the “with tableresults”, without it, it will skip the...
View ArticleSystem Error Messages: anyone who has links for SQL Server > 2000?
I could only find the System Error Messages overview for: SQL Server 2000 (MSDN). SQL Server 7 (technet). Are there any such links for SQL Server 2005 and up? The odd thing is online lists of Database...
View ArticleBe aware of the three valued logic when NULL gets involved: SQL Server: JOIN...
Great post: SQL Server: JOIN vs IN vs EXISTS – the logical difference. Be aware of the three valued logic when NULL gets involved. EXIST comes closes to what you expect. And be aware that with IN, you...
View ArticleSQL Server FineBuild
Interesting; is on my research list to see if the installation process gets easier and more standardized. SQL Server FineBuild Introduction FineBuild provides 1-click install and best-practice...
View ArticleRe-adding a user to SQL Server 2000 and up when it was Orphaned
In SQL Server 2000 and up, the easiest way to re-add a user that got orphaned is with a script like below. The script does not correct the SID, but in stead sets new permissions (in this case,...
View ArticleAdding the localized [BUILTIN\Administrators] as SQL Server and giving them...
On development machines it can be comfortable to add the local Administrators group to SQL Server, and make them equivalent to SA (SQL Server Administrator). This especially as SA is disabled by...
View ArticleFirebird and InterBase have single direction indexes for your data safety.
In most database index nodes are doubly linked to allow bi-directional scans. http://is.gd/8CMb7w, however not for InterBase and FireBird, there the reverse link isn’t used because it can be...
View Article
More Pages to Explore .....