Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

StrConv

Example

Transform a string into a different format or case.

SELECT StrConv(“SQL Tutorial is cool”1AS ConvertedString;

Definition and Usage

The StrConv() function converts a string to a specified format or case.

Syntax

StrConv(string1conversionLCID)

Parameter Values

Parameter

Description

string1

Required. Specifies the string that will undergo conversion.

conversion

Required. Specifies the type of conversion to apply to the string.

Possible values:

1: Convert to uppercase

2: Convert to lowercase

3: Convert the first letter of every word to uppercase

4: Convert narrow characters to wide

16: Convert Hiragana to Katakana (Japanese specific)

32: Convert Katakana to Hiragana (Japanese specific)

64: Convert to Unicode 128: Convert from Unicode to the default page code.

LCID

Optional. Specifies the LocaleID to use for the conversion. If not provided, the function uses the system LocaleID.

Technical Details

Works in:

 From Access 2000

More Examples

Example

Transform the content of a string.

SELECT StrConv(“SQL Tutorial is cool”2AS ConvertedString;

Example

Transform the content of a string.

SELECT StrConv(“SQL Tutorial is cool”3AS ConvertedString;