If you are using sql server 2008, then you may use the following query to get the next identity value of the table
select IDENT_CURRENT('categories')+IDENT_INCR('categories')
where 'categories' is the table name for which you want next identity value.