A recap of all the SQL Advent 2012 posts
Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Every company needs to have standards that developers need to follow in order to make maintenance easier down the road. There are several things that you can standardize on:
The naming of objects
The layout of code including comments
The way that e…
Today we are going to look at why you need to be able to write your own DDL statements.
Read the following two lines, have you ever answered that or has anyone every answered that when asked this question?
Question: How do you add a primary key to a table?
Answer: I click on the yellow key icon in SSMS!
Someone wanted to know when and by who a certain table was dropped, I told the person that you can do this with a DDL trigger.Wouldn’t it be nice if you could track exactly all the DDL statements that were executed on a table in your database? Well, you can by using DDL Triggers