Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

MOVING CUSTOMER INFO BY SQL QUERIES

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to move some infomation in Customer by sql queries.

from "Account numner" to "last name".

is there anyway?

*This post is locked for comments

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,382 on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    Hope you don't have more than one Smith as a customer!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    Thank you it works

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    Lets do it backward.

    UPDATE Customer

    SET AccountNumber = LastName

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    Thank you for your reply

    I tried but  the query you posted did not work what it want

    I want to MOVE Last name into Account Number.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    UPDATE Customer

    SET LastName = AccountNumber

    Haemin, use this query. But this will update all your customers' last to their account number.

    Make sure to backup your DB before you do this.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    Yes i want to move account number into last name field.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MOVING CUSTOMER INFO BY SQL QUERIES

    I don't understand your question. Do you want to move Account Number data into Last Name field?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans