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

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

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -