Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
User Name
Starting Member
3 Posts |
Posted - 2011-04-21 : 18:51:51
|
| I am doing a web application and I am displaying the Userid as a confirmation number when the user saves his information. Right now, I am getting the Max value of the column(UserID-identity field).Now, if two users are registering at same time, would it be problem ? Since I am gettng the Max Value , Is there any chance of getting a wrong ID? Is it better to use the Scope Identity for getting the Identity field?Thanks |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
User Name
Starting Member
3 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
User Name
Starting Member
3 Posts |
|
|
|
|
|