sql server 2005 - How to get last inserted value of a Specific column in SQL? -


is there way ident_current() retrieve specific value specific column

we consider need retrieve product_code product table-

  select last (product_code) product; 

or else can try this

  select ident_current(product_code) alias product; 

Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -