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
 General SQL Server Forums
 New to SQL Server Administration
 SQL users say dont mix DDL with DML

Author  Topic 

benildusmuerling
Yak Posting Veteran

81 Posts

Posted - 2012-07-04 : 21:47:30
Hi All,

Can I have an example, be displayed.

Thanks,

AB

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-07-04 : 23:59:58
DDL means scripts like table creation,dropping,index creation etc
DML means SELECT,UPDATE,DELETE

The reason is it will cause procedure to undergo recompilation when DML statement follows in between DDL script

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -