Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

MOVING CUSTOMER INFO BY SQL QUERIES

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,380 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,336 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans