String functions: (*= emphasis)
ASCII: is an encoding that turns keys on the keyboard into a number, such as a return key = 13, but only changes the first bit
Char: Converts a number to an ASCII code
Charindex The starting index of the corresponding character segment in the lookup string, from the beginning of the index
(version 12 built-in function) Concat: Returns a string that is the result of concatenating two or more string values
Difference Comparison of Soundex similarity
Soundex: Returns a 4-bit string converted by four-bit letters
Space: Print space for you
Left: Intercepts the string at the beginning of the specified length
Right: Intercepts the end of the string specifying the length
Len: Go back space to calculate length return integer
Upper: lowercase to uppercase
Lower: Uppercase to lowercase
LTrim: Remove the front space
RTrim: Remove a space
Patindex: Finds the starting index of the corresponding wildcard character segment in a string, starting with the index
Replace: Find replacement, three parameters, 1. Target string 2. String segment to check 3. Replace with that string segment
REPLICATE: Copies the specified string and stitching it back into a string
REVERSE: Flipping a string
STR: The float type, after interception, converts the bit string type
Stuff: Removes a specified length of Word string from the specified location after inserting a new string
SUBSTRING: Intercepting strings
Data type conversions:
Cast: First Data, later type
Conbert: First type, after data
Link query:
Select column name, column name from table name join table name on table name. column name = table name. Column Name
The syntax is join on
Association:
Left JOIN (full)
Right join (left full)
Vertical Link:
Select column name, column name from table name Union Select column name, column name from table name
String functions, data type conversions, link queries, portrait queries