What is a ‘multi-part identifier’ and why can’t it be bound?

A multipart identifier is any description of a field or table that contains multiple parts – for instance MyTable.SomeRow – if it can’t be bound that means there’s something wrong with it – either you’ve got a simple typo, or a confusion between table and column. It can also be caused by using reserved words in your table or field names and not surrounding them with [].
It can also be caused by not including all of the required columns in the target table.

Something like redgate sql prompt is brilliant for avoiding having to manually type these (it even auto-completes joins based on foreign keys), but isn’t free. SQL server 2008 supports intellisense out of the box, although it isn’t quite as complete as the redgate version.

Leave a Comment