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 2000 Forums
 SQL Server Administration (2000)
 identifying new columns added in a table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-04-10 : 09:34:53
ramana writes "we have n number of data bases, developers add new columns with out the notice of dbas. any way out to see the new columns added on that day"

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-04-10 : 09:40:25
without the tool to audit these things you can improvise...

write a query that will retrieve the schema of the tables involved
save this in a table out of reach of your developers
write the job that will execute this query or encapsulate it in a stored proc, schedule that job to run every day to retrieve info

from here there are a lot of things to do, you can email yourself for changes made or just query through the table

you can use information_schema.[object] to simplify things for you

HTH

--------------------
keeping it simple...
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2006-04-10 : 09:48:24
see
http://www.nigelrivett.net/DMO/DMOScriptAllDatabases.html

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -