0% found this document useful (0 votes)
42 views1 page

Microsoft SQL Server Topics: BEGIN... END: Keyword Expression

The document discusses how to use the BEGIN and END keywords in Microsoft SQL Server to indicate statements that cover multiple lines or a single line. The BEGIN keyword marks the start of the statement and the END keyword indicates where the statement finishes.

Uploaded by

Michael Ndavi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

Microsoft SQL Server Topics: BEGIN... END: Keyword Expression

The document discusses how to use the BEGIN and END keywords in Microsoft SQL Server to indicate statements that cover multiple lines or a single line. The BEGIN keyword marks the start of the statement and the END keyword indicates where the statement finishes.

Uploaded by

Michael Ndavi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microsoft SQL Server Topics: BEGIN...

END

<a

href="http://c.casalemedia.com/c?s=56757&f=2&id=2055943826.9202583" target="_blank"><img src="http://as. casalemedia.com/s?s=56757&u=http%3A//functionx.com/sqlserver/topics/beginend. htm&f=2&id=2055943826.9202583&if=0" width="728" height="90" border="0"></a>

Microsoft SQL Server Topics: BEGIN...END


Introduction
To indicate that your Statement covers more than one line, start it with the BEGIN keyword. Then you must use the END keyword to indicate where the Statement ends. In this case, the formula of a conditional statement would appear as follows: Keyword Expression BEGIN Statement Line 1 Statement Line 2 Statement Line n END You can still use the BEGIN...END combination even if your Statement covers only one line: Keyword Expression BEGIN Statement END Using the BEGIN...END combination makes your code easier to read because it clearly indicates the start and end of the Statement.

Home > >

Copyright 2007 FunctionX, Inc.

file:///C|/Documents%20and%20Settings/michael.musyoki/Desktop/SS/beginend.htm11/26/2008 5:04:43 PM

You might also like