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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-02-01 : 08:14:15
|
| Alexander writes "I know that the stored procedure full text description, is saved in the system table "sysComments". When a user of my work team edits an existing procedure and press the "Apply" button, the stored procedures is updated with the latest changes and the sysComments table is updated also.I want to keep all the previous versions of the stored procedures. So i want to put a trigger to the SysComments table, in order to save the full text description of the stored procedure in a user Table. The result of this, will be to keep all the previous version of stored procedure and i will be able to keep a historical archive of sp changes.Is there a way to put a user trigger on a system table? Can i track the sp change, with an another way?Thanks" |
|
|
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
Posted - 2005-02-01 : 08:15:16
|
| So, you want to keep a version of your source code ?How about some source control ?Damian |
 |
|
|
AndyB13
Aged Yak Warrior
583 Posts |
Posted - 2005-02-01 : 08:22:32
|
I very much doubt they have source controlquote: When a user of my work team edits an existing procedure and press the "Apply" button
Looks like an EM environment only!!! [ShakeHeadSmiley] |
 |
|
|
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
Posted - 2005-02-01 : 08:32:15
|
I need that icon you posted for me earlier Damian |
 |
|
|
AndyB13
Aged Yak Warrior
583 Posts |
Posted - 2005-02-01 : 08:49:57
|
Reference to BOL - QualityHere you go, link for the smileys [url]http://www.my-smileys.de/[/url] |
 |
|
|
ehorn
Master Smack Fu Yak Hacker
1632 Posts |
Posted - 2005-02-01 : 09:25:47
|
quote: Originally posted by AndyB13 Reference to BOL - QualityHere you go, link for the smileys [url]http://www.my-smileys.de/[/url]
Nice!! |
 |
|
|
|
|
|