Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Need Help

Author  Topic 

anita.86
Starting Member

21 Posts

Posted - 2011-12-09 : 00:26:30
hello everyone, i have table emp_master..if i entered some records in that table,next day that emp_id(Primary Key) automatically changing??what reason plz help

N/A

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-09 : 01:29:18
you mean emp_id of already existing records or newly added ones? is it of identity type?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

anita.86
Starting Member

21 Posts

Posted - 2011-12-09 : 23:24:54
No,

If Today Emp_id which i uploaded 101
next day it will be 202

N/A
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2011-12-09 : 23:47:00
quote:
Originally posted by anita.86

No,

If Today Emp_id which i uploaded 101
next day it will be 202

N/A



you mean you created the record with emp_id = 101 and next day the same record is changed to 202 ?


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

anita.86
Starting Member

21 Posts

Posted - 2011-12-10 : 00:05:30
Yes. same emp_id changed with another emp_id,is there any prob from d/b or security??

N/A
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-10 : 07:56:47
quote:
Originally posted by anita.86

Yes. same emp_id changed with another emp_id,is there any prob from d/b or security??

N/A


i feel like its due to some automated process which is doing some overnight processing. do you've an audit column to track user/process which does that (ie column set to SUSER_SNAME() function)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -