Smathermather's Weblog

Remote Sensing, GIS, Ecology, and Oddball Techniques

Multi-line Comments in SQL for PostgreSQL

Posted by smathermather on November 3, 2012

Who knew? Not I! I shouldn’t confess, but just discovered multi-line comments in PostgreSQL:

-- This is a single line comment in SQL (I knew this already...)
/* Multi-line quotes use C
syntax.  Simple as that.  Surprised I hadn't googled (well duck duck goed) this before! */

Sadly, WordPress syntax highlighting doesn’t recognize this… . I think I can muddle through without it though.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: