How To Include Comments In SQL Statements

How To Include Comments In SQL Statements


  • 5 Feb, 2012

    If you want to include comments in a SQL statement, you can first enter "--", then enter your comment until the end of the line. The tutorial exercise below shows you some good examples:SELECT 'Hello world!' FROM DUAL; -- My first SQL statement! INSERT INTO links VALUES ('GlobalGuideLine.com'); -- Top rated!CREATE TABLE faq ( id INTEGER, -- primary key title VARCHAR(80) -- FAQ title);

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.