asp.net codes
Thursday, June 6, 2013
IDENT_CURRENT vs TOP 1
How to get last inserted id in table
SELECT
IDENT_CURRENT
(
'clients'
)
select
top
1 clientid
from
Clients
order
by
1
desc
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment