With the SQL Server Management Studio User Interface (SSMS UI), we can create a table by writing code in a query window, or use the “point and click” method. Point and click allows us to create a table without writing any code ourselves. It is much easier to send someone the code script to accomplish a task with SQL Server than it is to send step-by-step instructions on how to point and click their way to accomplish the same task. For this reason, code script is the most common method used to consistently and reliably deploy new databases and objects the exact same way on many systems.
It is much faster to run code that has already been written and tested by someone else than it is to accurately and consistently navigate the user interface. There are times when creating long constructions of code is faster with the SSMS UI than it is to write out each line of code by hand. In addition, some people simply prefer to point and click their way to creating objects in SQL Server.
SQL in Sixty Seconds Video
We have attempted to explain the same subject in simple words over in following video.
Get the book for yourself and your friend. This is just a reference everyone must have it.
Read the related blog post: SQL Basics: SQL Code Generators – Day 6 of 10
Reference: Pinal Dave (http://blog.sqlauthority.com)