C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




store procedure


Posted Date: 04 Jul 2008      Total Responses: 3

Posted By: K.GAJALAKSHMI       Member Level: Gold     Points: 1



i have to reset the username and pwd after 10 days from the day of creation. some alert message should be given for this purpose.

what r the efficient ways to do this...

How to write stored procedure for this.





Responses

Author: http://dotnetvj.blogspot.com    04 Jul 2008Member Level: DiamondRating:     Points: 4

Hi,
basically you need to have this functionaity at the user login time. After verifying the password, Look at the Password Modified date, when ever this date is oler than 10 days then send a singal to Front-end application and have the corresponding logic for this singnal in you application.
Thanks -- Vj
http://dotnetvj.blogspot.com

Thanks -- Vj

http://dotnetvj.blogspot.com



Author: Bunty    04 Jul 2008Member Level: DiamondRating:     Points: 3

Hi,

You can create stored procedure which execute automatically when SQL Server starts.

To run a stored procedure automatically,you have to create stored procedure in master database only..

Thanks and Regards
S.S.Bajoria


Thanks & Regards
S.S.Bajoria



Author: Anithadevi    07 Jul 2008Member Level: GoldRating:     Points: 4

set a field as expire date. when the user logged in once check the date with current date. if the difference is less than 5 give the user an intimation that the password is going to be expired in these many days.when they reset the password update the expiry date value as 10th




Post Reply
You must Sign In to post a response.
Next : How to read all records except one in sqlserver
Previous : How to Compare two DB's and Insert/Update into Target
Return to Discussion Forum
Post New Message
Category: SQL Server

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use