SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 SQL users say dont mix DDL with DML
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

benildusmuerling
Yak Posting Veteran

Australia
81 Posts

Posted - 07/04/2012 :  21:47:30  Show Profile  Reply with Quote
Hi All,

Can I have an example, be displayed.

Thanks,

AB

visakh16
Very Important crosS Applying yaK Herder

India
48012 Posts

Posted - 07/04/2012 :  23:59:58  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000