About 17,600 results
Open links in new tab
  1. 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 stored in …

  2. How to correctly convert Unix Timestamp to datetime in SQL

    Oct 26, 2021 · 1 I'm trying to get the date format dd/MM/YYYY or anything readable. actually I have the date data with this format stocked in a string field "1620305130000" I have tried the following …

  3. 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 with the …

  4. How to display Month in TEXT format using SQL query in marketing …

    If you are looking to display the full name of the month via the SQL query you have written, I would use the below code - utilizing the FORMAT function inside of SQL: FORMAT(yourDateField, 'MMMM') …

  5. 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 Extension. All …

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

    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 it, I need to …

  7. Using query for a specific date - Salesforce Stack Exchange

    May 29, 2017 · According to the documentation article Query: Find Subscribers by Date or Time Frame the date format to use is 'YYYY-MM-DD' so in your case '2017-05-29' should be correct. However in …

  8. Converting date/time to string in Marketing Cloud's SQL - string to ...

    Oct 3, 2019 · We are trying to convert a string field to a date field using the CAST function in Marketing Cloud. Our goal is to use the newly converted date records to segment our subscribers based on the …

  9. Why can't my sms be sent? - Mobile Connect SFMC

    Mar 28, 2025 · Sync data from Sales Cloud (with incorrect format phone numbers) Format the number number with SQL Mobile Import Contact Activity with SQL I get a D.E with correct format phone …

  10. 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