Simon Sabin


SQLServerCentral Article

Enums in SQL Server

SQL Server MVP Simon Sabin brings us a very interesting article on a possibilltyfor using enumerated values instead of integer or other coded foreign keys. It is an interesting idea that could go a long way towards making code easier to read.

3.5 (4)

2007-08-28

11,519 reads

SQLServerCentral Article

Large Object Data

Dealing with text, image, and other large object data types can be confusing for many people, in all aspects of working with them. However one place that is important is performance. SQL Server MVP Simon Sabin brings us a few thoughts on improving performance with these columns and the Text in Row setting.

2006-10-04

5,969 reads

Technical Article

sp_ServerStatus

Have you ever wanted to check that a server exists before using it. Here is a solution that use SQLDMO from within TSQL to get the status of a SQL Server service. It also works for 2000 instances. I have named it sp_ServerStatus for it to be based in master.This returns the status integer and […]

2002-11-14

585 reads

Technical Article

sp_xml_PrepareDocumentFromColumn

Do you want to use OPENXML with an xml document in a table, this procdure will do it for you.Pass in the SQL that will return the column of data, it will return the document handle which can then be used with OPENXML.ExampleDROP TABLE TabCREATE TABLE Tab (doc ntext)INSERT INTO Tab VALUES ('' + REPLICATE('' […]

2002-11-14

513 reads

Technical Article

Function and SP to find if file/directory exists

This function and stored procedure can be used to easily identify if a file, directory or parent directory exist. It wraps the functionality of xp_fileExist but gives easy access to the directory and parent directory exist values.To use it the function pass in the file or path and either 'IsFile', 'IsDir' or 'HasParentDir' it will […]

1.33 (3)

2002-11-13

2,995 reads

Blogs

Daily Coping 9 Aug 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Visiting with DBAs at midnight : T-SQL Tuesday #153

By

🎶🎵 Memories, not being alone in the moonlight 🎵🎶 Kevin Kline (blog|twitter) is our...

Working with Neo4j Imports–I HATE CASE SENSITIVITY

By

I’ve been working to better understand graph databases and where they can be useful....

Read the latest Blogs

Forums

MAX not working with a CTE

By DaveBriCam

I have a query that is supposed to return one patient id but even...

doe it locks my view while checking it ? EXEC sp_refreshview '[View_SCHEMA]'

By RazLinky

i have a cursor that runs on all my views   and then exec...

Transaction log full error 9002 on Alwayon Availability groups

By vsamantha35

Hi All, I am looking for some inputs on how to avoid or prevent...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

DATETRUNC

See possible answers