morrySnow commented on code in PR #1805: URL: https://github.com/apache/doris-website/pull/1805#discussion_r1918864874
########## docs/sql-manual/sql-functions/scalar-functions/date-time-functions/months-add.md: ########## @@ -24,27 +24,36 @@ specific language governing permissions and limitations under the License. --> -## months_add -### description -#### Syntax +## Description +The MONTHS_ADD function is used to add or subtract a specified number of months to a given date and returns the resulting date. -`DATETIME MONTHS_ADD(DATETIME date, INT months)` +## Syntax -Add the specified month from the date +`MONTHS_ADD(<datetime/date>, <nums>)` Review Comment: ````suggestion ```sql MONTHS_ADD(<datetime/date>, <nums>) ``` ```` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org