About 14,900 results
Open links in new tab
  1. Marketing Cloud SQL String Formatting to Retrieve Only Part of Data

    Jun 30, 2023 · For Desired Outcome Field 1, I want to only get the value that begins with "Categories:" and end before the comma; similar for Desired Outcome Field 2, I want to only …

  2. Convert a datetime to date in SFMC - Salesforce Stack Exchange

    Mar 17, 2022 · This can be done using the following SQL function (CONVERT): SELECT CONVERT([data type], [value to convert], [style]) The values inside the [] should be replaced …

  3. marketing cloud - Not able to change date format using SQL date ...

    Dec 27, 2022 · Please update your question to include the data type of OrderDate in the source Data Extension. Also please indicate the data type of of PurchaseDate in the target Data …

  4. Date format in SQL query - Salesforce Stack Exchange

    Date data types in SFMC are DateTime (or DateTime2) data types behind the scenes, so the time is always included. It's best to use AMPscript to format these, as you can't dictate the format …

  5. marketing cloud - Add a date field to SQL and convert the …

    Apr 20, 2023 · I have an SQL running off a data view tabe and I need to add the ExtractDate to the target Data extensio.Date field doesn't exist in this Dataview tablem so apart from adding …

  6. What is cast and convert in SFMC? - Salesforce Stack Exchange

    Mar 28, 2021 · CAST & CONVERT are SQL conversion functions in SFMC. Both can be used to convert an input expression into specific data type, but CONVERT additionally provides …

  7. formatting - Apex Code Formatter for SOQL - Salesforce Stack …

    Feb 27, 2023 · Unfortunately prettier code formatter cannot be customized any further and it is as design. Prettier Option Philosophy Prettier is not a kitchen-sink code formatter that attempts to …

  8. Can we change the date format in query? - Salesforce Stack …

    Dec 1, 2014 · SFDC always gives a format YYYY-MM-DD on querying the date field. Is there any function or some formatting I can put in the query to change the format of the date. ? Select …

  9. Using FORMAT for date in WHERE clause in SQL activity

    Aug 19, 2022 · Using FORMAT for date in WHERE clause in SQL activity Ask Question Asked 3 years, 3 months ago Modified 3 years, 3 months ago

  10. apex - String formatting function - Salesforce Stack Exchange

    7 I need help to write a method which will do some kind of string formatting. I have list of ids of an object. It may be any object.Like this: List<Id> listContactIds = [select id from contact limit 5]; …