Questions on identity?
Answers were Sorted based on User's Feedback
Answer / p.s jayagopal
Identity(or Auto Number) is a column which automatically
generates numeric values.It will be mainly used for a column
which is set as primary key and which doesn't allow null value.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / magu
Identity (or AutoNumber) is a column that automatically
generates numeric values. A start and increment value can
be set, but most DBA leave these at 1. A GUID column also
generates numbers; the value of this cannot be controlled.
Identity/GUID columns do not need to be indexed.
Syntax :
IDENTITY ( seed, increment )
Is This Answer Correct ? | 2 Yes | 1 No |
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
What do you understand by check constraint in sql server?
Following are some of the question related to below mentioned query? select e1.salary from employee3 e1 where 2= ( select count(distinct(e2.salary)) from employee3 e2 where e2.salary>=e1.salary ) 1) What the query returns? 2) How it works? - Detail explanation (what the sub query does, why it is (where 2=)....etc...Please?
What is shrink log file?
Can binary strings be converted into numeric or float data types?
What is use of dbcc commands?
How should i optimize the time for execution of stored procedure having single input and many output from the different tables?
Questions on identity?
Explain what are the basic functions for master, msdb, model, tempdb databases?
How will you hide an attribute? : sql server analysis services, ssas
Create Index myIndex On myTable(myColumn) What type of Index will get created after executing the above statement
How do I view a stored procedure in sql server?