How to include comments in sql statements?



How to include comments in sql statements?..

Answer / Priya Bharti

In MySQL, you can include comments in SQL statements by using either single-line comments (-- comment) or multi-line comments (/* comment */).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

What is localhost in mysql?

1 Answers  


What is ntext?

1 Answers  


What does mysql flush privileges do?

1 Answers  


how can you test for null values in a database? : Mysql dba

1 Answers  


What happens if null values are involved in expressions?

1 Answers  


What is the function of mysqldump?

1 Answers  


How do I show all mysql databases?

1 Answers  


how to display only 4 records from a table based on a condition for ex i have a table called products in that nid,prodname are fields i want to display only any 4 records of perticular product plz tell me

6 Answers  


Is mysql better than oracle?

1 Answers  


What are the disadvantages of mysql?

1 Answers  


How to get nth highest salary from table in a mysql?

1 Answers  


How many ways we can retrieve the date in result set of mysql using php?

1 Answers  


Categories