4.24 Database Date function table connection processing string

Source: Internet
Author: User

(1) Date function1, year--take the year out2, DateAdd (Day5 '1999-02-27')--in the date basically added 5 days no one AH and then output3, datedif--How many days do two dates differ4, weekday--string form, the day of the week in one weeks5, week--int type Time6, getdate--Get system Time7, print getdate ()--gets the system current time return value for the datetime type (2)1, any ()--greater than any one value2, all ()--is greater than all values (3) Union--A table join joins two tables with equal data types (4)1,SelectLeft ()--intercept from left to right2,SelectRight ()--intercept from right to left3,SelectLower ()--Convert to lowercase4,SelectUpper ()--Convert to uppercase

4.24 Database Date function table connection processing string

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.