IF OBJECTPROPERTY( OBJECT_ID( '[dbo].[Customers]' ), 'TableHasPrimaryKey' ) = 1
PRINT '[dbo].[Customers] table has a primary key.
tutorials, tips and tricks to design a Sql Server, Cloud Service . Micrsoft Interview Question
Friday, January 21, 2011
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment