web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Split the Fullname into FirstName and Lastname

(0) ShareShare
ReportReport
Posted on by

Hello Everyone ,

 I am working on CRM 2016 and Sql server 2017 . I am creating a SSIS package to load the data into the CRM . I got a road block while spliting the names based on different conditions . like 

If the Full name format in file is FName, LName then FName should be the Lname and LastName should be the last name.
If the Full name format in file is s FName s LNamethen FName should be the first name and LName should be the last  name.
If the Full name format in file is FName MName LName then FName should be the first name and everything else should be the last name
Can anyone help me to resolve this .
Thanks In Advance 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi Ramesh Yadav,

    You will need to create a Derived Column Transformation or a script to split the full name into first name and last name columns. Ideally, you would split the Full Name column into First Name and Last Name columns so that you do not require an SSIS transformation.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Though this is more of a SSIS question so you will get better response on some other SQL/SSIS forum, below are some links which might help you-

    social.msdn.microsoft.com/.../split-the-names-in-derived-column-in-ssis

    www.youtube.com/watch

    stackoverflow.com/.../how-to-split-full-name-in-a-variable-to-first-and-last-names-within-sql-server

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans