﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Tom Fischer / Article Discussions / Article Discussions by Author  / BNF Basics / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 05:54:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>[quote][b]Paul Hunter (8/13/2009)[/b][hr]...&amp;lt;opinion type="humble"&amp;gt;The SQL team wrighting BOL should include a link to understanding the BNF convention as a part of BOL.  Kind of like you get with a book where they spell out "conventions used in this book".&amp;lt;/opinion&amp;gt;...[/quote]Agreed.</description><pubDate>Thu, 13 Aug 2009 11:02:51 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Nice treatment of an unfamiliar topic.  I had figured out most of what the syntax/convention was before reading this but didn't know it had a name and defined rules.&amp;lt;opinion type="humble"&amp;gt;The SQL team wrighting BOL should include a link to understanding the BNF convention as a part of BOL.  Kind of like you get with a book where they spell out "conventions used in this book".&amp;lt;/opinion&amp;gt;</description><pubDate>Thu, 13 Aug 2009 07:30:43 GMT</pubDate><dc:creator>SQLNightOwl</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>[quote][b]sjsubscribe (8/12/2009)[/b][hr] Another would be to make the examples more exhaustive so that all BNF options used in the definition are used in examples. Otherwise BNF just acts as another layer of indirection and not a natural part of composing T-SQL.[/quote]I wouldn't want to be the guy creating all those examples, but good idea, that would help.</description><pubDate>Wed, 12 Aug 2009 11:51:04 GMT</pubDate><dc:creator>jcrawf02</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Good topic Tom. Speaking of BOL, I think it can be improved by providing a better match between  BNF descriptions and examples that follow. One easy way would be to repeat the applicable BNF with each example. Another would be to make the examples more exhaustive so that all BNF options used in the definition are used in examples. Otherwise BNF just acts as another layer of indirection and not a natural part of composing T-SQL.</description><pubDate>Wed, 12 Aug 2009 11:42:45 GMT</pubDate><dc:creator>sjsubscribe</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>[quote]And just to clarify, when people refer to braces, they are really talking about orthodontia.[/quote]I'm usually discussing ways of keeping my trousers from falling down. My father-in-law is a carpenter and has a different take on the word altogether. The last time someone really pushed my button on the topic of punctuation was when I told one of my colleagues to use an apostrophe and he asked me if that was the "comma up in the air". I was very impressed with the way that I managed to refrain from comment at the time.</description><pubDate>Wed, 12 Aug 2009 10:06:04 GMT</pubDate><dc:creator>Scott-144766</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>[quote][b]RBarryYoung (8/12/2009)[/b][hr]Nice article.  I have a couple of notes though:1)  What you are describing is actually a simplified informal version of [i][b]E[/b][/i]BNF, not BNF (though the standards groups do use the formal versions).  For instance it adds the ellipsis ("...") as a repetition operator as well as other common conventions.  This is the language definition format used almost universally in Language Syntax Manuals since the 60's.2) In English, these ("{ }") are called [b][i]braces[/i][/b], not "brackets" or "curly brackets", or even "squiggly brackets".  It seriously undermines the credibility of anyone talking about language definitions if they do not know the proper terms for the language that they themselves are using. (yes, it's a hot button of mine)Still, very nice article.[/quote]And just to clarify, when people refer to braces, they are really talking about orthodontia.</description><pubDate>Wed, 12 Aug 2009 09:35:55 GMT</pubDate><dc:creator>jcrawf02</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Nice article.  I have a couple of notes though:1)  What you are describing is actually a simplified informal version of [i][b]E[/b][/i]BNF, not BNF (though the standards groups do use the formal versions).  For instance it adds the ellipsis ("...") as a repetition operator as well as other common conventions.  This is the language definition format used almost universally in Language Syntax Manuals since the 60's.2) In English, these ("{ }") are called [b][i]braces[/i][/b], not "brackets" or "curly brackets", or even "squiggly brackets".  It seriously undermines the credibility of anyone talking about language definitions if they do not know the proper terms for the language that they themselves are using. (yes, it's a hot button of mine)Still, very nice article.</description><pubDate>Wed, 12 Aug 2009 09:31:10 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Some formatting didn't transfer from Word to HTML, such as, underlining &amp; bold. Good catch, thank you!</description><pubDate>Wed, 12 Aug 2009 08:40:28 GMT</pubDate><dc:creator>Tom Fischer</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>In the second example under BNF ala T-SQL, am I missing something?[quote]Let us also make it a requirement that when calling bar it demands further information, which can be accomplished via squiggly brackets. And if these arguments are not provided, then bar will assume a default value of constant “1” as indicated by an underline.&amp;lt;foo&amp;gt;::= [&amp;lt;foo&amp;gt; |&amp;lt;bar&amp;gt;]&amp;lt;bar&amp;gt;::= {1 | 2}[/quote]Where is the underline? I assume that the second line is really supposed to read:&amp;lt;bar&amp;gt;::= {_1_ | 2}but it would be nice to know.Good writeup, otherwise!Also, a somewhat off-topic question. Should one really be required to manually HTML-escape the less than and greater than signs, or am I doing something wrong?</description><pubDate>Wed, 12 Aug 2009 08:12:41 GMT</pubDate><dc:creator>michael.kjorling</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Disagree with Lambchop in general, but specifically think the comment about requiring additional research was on the mark. However, don't think that's a bad thing. I think you've provided a great springboard for newbies to get their feet wet in BNF/BOL and get comfortable enough to sort out the details. Those who won't bother reading through the article to figure it out will be the ones who don't bother reading BOL either, so no biggy. Good job!Jon</description><pubDate>Wed, 12 Aug 2009 07:34:02 GMT</pubDate><dc:creator>jcrawf02</dc:creator></item><item><title>RE: BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Excellent subject, but the write up, while well intended, tries to summarize too much information.  For most folks, I doubt if they would even bother trying to match up the information into the functional example to really understand much. The foo:bar example really needs expanding and perhaps revised to apply to the example that is initially displayed at the beginning of the article.  This article is intended as an application article or an explanation/resolution article.  Either way, it misses the mark as it really does not bring the reader forward in logical steps that make sense without further research into the topic.  My 2 cents...</description><pubDate>Wed, 12 Aug 2009 07:03:22 GMT</pubDate><dc:creator>Lambchop4697</dc:creator></item><item><title>BNF Basics</title><link>http://www.sqlservercentral.com/Forums/Topic760573-393-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Books+Online/67607/"&gt;BNF Basics&lt;/A&gt;[/B]</description><pubDate>Tue, 28 Jul 2009 01:37:10 GMT</pubDate><dc:creator>Tom Fischer</dc:creator></item></channel></rss>