Quantcast
Channel: Questions in topic: "unique-constraint"
Browsing all 10 articles
Browse latest View live

unique constraint with multiple null

i have a table with empid identity column and empcode varchar. i want to be able to allow muiltiple null on empcode and also mantian unique empcode

View Article



Define UNIQUE Constraint on Composite Key

How would I be able to define a Unique constraint on a composite PK which consists of 6 different columns? I am having some trouble inserting data into this table because of a PK constraint. Since it's...

View Article

Unusual Unique Constraint Issue

I have a table with three columns. First being the PK, second being a FK to another table and the third being a column with a Unique Constraint, nonclustered. When I inserted into this table, my insert...

View Article

what is the advantage of giving null value to unique constrain

what is the advantage of giving null value to unique constraint ?

View Article

unique constraint with multiple null

i have a table with empid identity column and empcode varchar. i want to be able to allow muiltiple null on empcode and also mantian unique empcode

View Article


Define UNIQUE Constraint on Composite Key

How would I be able to define a Unique constraint on a composite PK which consists of 6 different columns? I am having some trouble inserting data into this table because of a PK constraint. Since it's...

View Article

Unusual Unique Constraint Issue

I have a table with three columns. First being the PK, second being a FK to another table and the third being a column with a Unique Constraint, nonclustered. When I inserted into this table, my insert...

View Article

what is the advantage of giving null value to unique constrain

what is the advantage of giving null value to unique constraint ?

View Article


Validations before insert/update the data

Is there a way to check whether data exists in a table before I INSERT data into the table? I need to check whether the same data already exists. If it does exist then I need an error raised. If not,...

View Article


Cannot insert duplicate key row in object with unique index the duplicate key...

Hello Experts ,one of our developer getting this error :Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert duplicate key row in object 'dbo.nsIdentity' with unique index...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images