SQLSERVER
 
使用 identity_insert 的数据,当 on 时,可以手动插入identity的数据。否则此数据自动插入。
当使用identity_insert的时候,即使插全列,也需要把列名一一写出,否则数据插入失败。
 
 
set identity_insert fnd_user on<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

insert into fnd_user(user_id,user_name,password,emp_id,start_date,end_Date,pri_lang_id,created_by,creation_date,last_updated_by,last_update_Date,autologin,incr,manual_group)

values ( '**' , '**' , '**' , '**' ,null,null,null,null,null, '**' , '**' , '*' , '0' ,null)

set identity_insert fnd_user off