July 26, 2010 at 12:19 am
I want to create log file in my projec.
when user login my program, his imformation will save. Then input log file.
In database have table store this imformation.
I think trigger can use to do this.
who can help me ? thanks
July 26, 2010 at 12:23 am
U can create insert trigger on Login table or on the table where u want to log info...
U can store the logged data in tables...
July 26, 2010 at 8:11 pm
thanks. you can give me example ?
but, a lots table, must i creat all it table ?
:w00t:
July 26, 2010 at 11:36 pm
I think you're going to have to explain in more detail what it is you want to do here.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 30, 2010 at 6:51 am
I found an nice script for creating auditing triggers on thsi very site a long time ago! It is called AutoAudit. But like GilaMonster said you really need to define what the purpose is.
Think great, be great!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply