What is sql comments?



What is sql comments?..

Answer / Ahsan Khan

SQL Comments are used to add notes or explanations to SQL code. They help other developers understand the purpose of the code and make it easier to maintain.nnIn most SQL dialects, comments are created using two types of syntax: single-line comments and multi-line comments.nnFor a single-line comment, you can use two hyphens (--), like this: -- This is a single-line comment.nnFor a multi-line comment, you can use /* and */ delimiters, like this:n/* This
is a nmulti-nline ncomment. */

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Mention what pl/sql package consists of?

1 Answers  


What are sql injection vulnerabilities?

1 Answers  


What is memory optimized?

1 Answers  


what is primary key? : Sql dba

1 Answers  


What is the trigger in sql?

1 Answers  


What is raw datatype in sql?

1 Answers  


What is pl sql collection?

1 Answers  


How many sql commands are there?

1 Answers  


What is mutating table error?

1 Answers  


wht is the difference between truncat,drop in sqlserver wht is the difference between function and stored procedure

3 Answers   Apollo,


What is trigger in flip flop?

1 Answers  


what tools available for managing mysql server? : Sql dba

1 Answers  


Categories