diff --git a/README.md b/README.md index c81d771..055dd25 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Usage: This macro returns the starting position of the first occurrence of a string in another string. The search is not case-sensitive. If the string is not found, the function returns 0. This macro can be used to check whether a string contains another string. Usage: -`{{ pm_utils.charindex('[expression_to_find]', '[expression_to_search]', '[start_location]') }}` +`{{ pm_utils.charindex('[expression_to_find]', '[field]', '[start_location]') }}` #### create_index ([source](macros/multiple_databases/create_index.sql)) This macro creates a clustered columnstore index on the current model for SQL Server. This macro should be used in a dbt post-hook.