Quantcast
Channel: SQL Server 2012 – The Wiert Corner – irregular stream of stuff
Browsing all 44 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Migrating 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 Article

Image may be NSFW.
Clik here to view.

SQL 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 Article

Image may be NSFW.
Clik here to view.

Checking 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

List 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 Article

Image may be NSFW.
Clik here to view.

Great 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 Article

Image may be NSFW.
Clik here to view.

INFORMATION_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 Article


Image may be NSFW.
Clik here to view.

Pad 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 Article


Image may be NSFW.
Clik here to view.

Upscene 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 Article

Image may be NSFW.
Clik here to view.

Elfproef 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 Article

Image may be NSFW.
Clik here to view.

ROT13 – 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 Article

Image may be NSFW.
Clik here to view.

Research 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 Article


Image may be NSFW.
Clik here to view.

SQL 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 Article

Image may be NSFW.
Clik here to view.

System 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 Article


Image may be NSFW.
Clik here to view.

Be 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 Article

Image may be NSFW.
Clik here to view.

SQL 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 Article


Image may be NSFW.
Clik here to view.

Re-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 Article

Image may be NSFW.
Clik here to view.

Adding 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 Article

Image may be NSFW.
Clik here to view.

Firebird 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
Browsing all 44 articles
Browse latest View live




Latest Images