Search
 
SCRIPT & CODE EXAMPLE
 

SQL

identity syntax in sql

IDENTITY[(seed,increment)]
--seed is the value of the first row loaded into the table
--increment is the incremental value added to the identity value of the previous row.
--should only contain ONE identity PER TABLE

--example:
CREATE TABLE EMPLOYEE  
(  
   IID INT IDENTITY(1,1),  
   NAME [varchar](MAX) NOT NULL,  
   AGE INT NOT NULL  
) 
Comment

PREVIOUS NEXT
Code Example
Sql :: delete table row in postgresql 
Sql :: set mysql password 
Sql :: soql more than today 
Sql :: mysql update command 
Sql :: case insensitive sql 
Sql :: how to search query in python3 sqlite3 
Sql :: duplicate record mysql 
Sql :: mysql command prompt date insert format 
Sql :: mysql grant user permissions 
Sql :: FIND LOWEST SALARY EARNER IN SQL 
Sql :: how to check user grant in mysql 
Sql :: print boolean in plsql 
Sql :: sqrt(i) 
Sql :: sql server datetime 
Sql :: sql server update top n records 
Sql :: sql insert into 
Sql :: full outer join postgres 
Sql :: sql select 
Sql :: xampp mysql command to import a large database 
Sql :: sql count() 
Sql :: date format in oracle 
Sql :: mysql search multiple tables 
Sql :: frename oracle 
Sql :: sqlyog clear cache query 
Sql :: delete and drop in sql 
Sql :: windows aggregate functions in postgresql 
Sql :: dns slave zone convert 
Sql :: one to one and one to many relationship 
Sql :: sql insert into select statement 
Sql :: generate random data in mysql 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =