Traditional Culture Encyclopedia - The 24 Solar Terms - How to get the month of the date in the database? (use SQL functions.
How to get the month of the date in the database? (use SQL functions.
Use the datename function to get the month in the date.
Example: rq field in table
The SQL statement is as follows:
Select the date (mm, rq) from the table.
Related date and time extraction methods include:
Year date name (yy, rq)
Date name of month (mm, rq)
Date name (dd, rq)
Hour Date Name (Hour, Quarter)
Minute date name (n, rq)// is neither m nor mm.
- Related articles
- Kindergarten June 1 special program
- Excuse me, who knows about the A-type contract workers in Changqing Oilfield, saying that they are going to do oilfield digitization work? Please tell me the details, thank you very much!
- Are there solar terms abroad?
- Tomorrow is all solar terms. Don't eat greasy things that get angry easily. Lightness is the key. There are six kinds of food at the right time.
- 400-word composition for the second grade of primary school: Erlong looks up in February.
- How to make life more ceremonial?
- Is Fuzai Cloud's travel information safe?
- It is appropriate to plant garlic in early autumn.
- What is the meaning of Xiaguan wind in Dali?
- Vernal equinox proverbs in the twenty-four solar terms