Lec14 - Lab - CSC371 - Database Systems
Lec14 - Lab - CSC371 - Database Systems
Lec14 - Lab - CSC371 - Database Systems
CSC371-DATABASE SYSTEMS I
LECTURE-14 (LAB)
(FALL2023)
2
AGENDA
SQL Server String Functions
ASCII CHARACTER 5
• The CHARINDEX() function searches for a substring in a string and returns the position.
• If the substring is not found, this function returns 0.
• Note: This function performs a case-insensitive search.
• DATALENGTH(expression)
SUMMARY
SQL Server String Functions