SQL Server doesn't have macros. It has SELECT statements. The basic syntax is:
<pre>SELECT Column1, Column2
FROM Table
WHERE Column3 = 'Condition'</pre>
You can read up more about the SELECT statement <a href="http://itknowledgeexchange.techtarget.com/sql-server/back-to-basics-the-select-statement/">here</a> as part of the <a href="http://itknowledgeexchange.techtarget.com/sql-server/tag/back-to-basics/">Back To Basics</a> series.
Last Wiki Answer Submitted: May 26, 2008 11:59 pm by Denny Cherry64,520 pts.
All Answer Wiki Contributors: Denny Cherry64,520 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.