Feeds:
Posts
Comments

Archive for August, 2009

I read the other day about indexing small tables I’d like to test this on my database but first I would need to find out which tables do not have an index and/or a primary key. Pinal Dave wrote about finding tables without a clustered index or a primary key: SELECT DISTINCT [TABLE] = OBJECT_NAME(OBJECT_ID) [...]

Read Full Post »

Querying sp_who2

Wouldn’t you wish sometimes you can just query the sp_who2 results? The only way to do this is to create a temporary table to dump the result, and then query the table. You can use SELECT statement as per normal. CREATE TABLE #who (SPID INT, Status VARCHAR(1000) NULL, Login SYSNAME NULL, HostName SYSNAME NULL, BlkBy [...]

Read Full Post »

Following my previous post on how to uninstall SQL Server 2008 instance, this time I am writing about how to uninstall the SQL Express 2005. Here’s the thing: I have already had a SQL Server 2005 Developer instance when I installed the SQL Express 2005. I can’t tell apart the double-installed SQL Server 2005, so [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.