Microsoft Logo

Microsoft SQL Sample Code

Using the CharIndex Function

The CharIndex function is very useful for getting the first or starting location of an expression or characters in a given string. Sometimes you need to find where a specific string or character starts in an string. This sample script will show you how to accomplish this. For more details on the CHARINDEX function click here


Truncate Table

If you need any help implementing this function or modifications made for your needs, please Click Here to get a free quote for your Microsoft SQL Development needs. 

Click Here to learn more about the WSI quoting process.

About Us

WSI is a small business and a leading provider of custom SQL Server/Azure programming and database solutions for government entities, Fortune 1000 companies, and emerging businesses. We are your custom SQL Server/Azure development experts.