Top "Identity" questions

An inherent property of an entity that distinguishes that entity from all others.

Why does comparing strings using either '==' or 'is' sometimes produce a different result?

I've got a Python program where two variables are set to the value 'public'. In a conditional expression I have …

python string comparison identity equality
Auto increment primary key in SQL Server Management Studio 2012

How do I auto increment the primary key in a SQL Server database table, I've had a look through the …

sql-server sql-server-2012 identity
What is the difference between == and equals() in Java?

I wanted to clarify if I understand this correctly: == is a reference comparison, i.e. both objects point to the …

java identity equality object-comparison
How to change identity column values programmatically?

I have a MS SQL 2005 database with a table Test with column ID. ID is an identity column. I have …

sql-server sql-server-2005 tsql identity sql-server-2005-express
ASP.NET MVC 5 - Identity. How to get current ApplicationUser

I have an Article entity in my project which has the ApplicationUser property named Author. How can I get the …

c# asp.net-mvc-5 identity asp.net-identity
How to get the unique ID of an object which overrides hashCode()?

When a class in Java doesn't override hashCode(), printing an instance of this class gives a nice unique number. The …

java identity hashcode
Handling identity columns in an "Insert Into TABLE Values()" statement?

In SQL Server 2000 or above is there anyway to handle an auto generated primary key (identity) column when using a …

sql sql-server database tsql identity
What is the difference between Scope_Identity(), Identity(), @@Identity, and Ident_Current()?

I know Scope_Identity(), Identity(), @@Identity, and Ident_Current() all get the value of the identity column, but I would …

sql sql-server identity
SQL Server, How to set auto increment after creating a table without data loss?

I have a table table1 in SQL server 2008 and it has records in it. I want the primary key table1_…

sql-server sql-server-2008 identity auto-increment
Firebase: how to generate a unique numeric ID for key?

I need numeric IDs for human readability. How do I get it in Firebase? I want numeric ID for keys, …

push firebase unique identity