The sql Harsh provided didnt provide the count. ident_incr - is the incremental valueTry this - this is not much different to what Harsh provided except it shows all columnsUSE NorthwindGOSELECT COLUMN_NAME, COLUMNPROPERTY(object_id('Orders'),COLUMN_NAME,'IsIdentity') AS IsIdentity, IDENT_INCR('ORDERS') AS INCREMENT_VALUE, IDENT_CURRENT('ORDERS') AS CURRENT_VALUEFROM INFORMATION_SCHEMA.COLUMNSWHERE TABLE_NAME = 'Orders'
AndyBeauty is in the eyes of the beerholder