Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,
i have table with below columns
1.admin_id int
2.admin_name varchar(50),
3.password nvarchar(max),
4.Repassword nvarchar(max),
5.admin_type varchar(20)
6.branch varchar(20)
7.createddateandtime date
The above attributes enough for admin creation.but i want to upadate existing details based on admin_id and updation date and time need to be store.how to store update date and time. please help me.
Posted
Comments
Prasad_Kulkarni 25-Jul-12 7:14am    
So, you want to add updated/inserted date in your table?
baskaran chellasamy 25-Jul-12 7:24am    
yes i have already added insert data and time column.and insert a value. but now i want add update date and time. how to do it.

1 solution

Add one more coulmn to your table with the name of UpdatedDateAndTime. On every update event just update the column value.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900