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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

MOVING CUSTOMER INFO BY SQL QUERIES

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Community Member Profile Picture
    on at

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

  • Community Member Profile Picture
    on at

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

  • Suggested answer
    Community Member Profile Picture
    on at

    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
    on at

    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.

  • Community Member Profile Picture
    on at

    Lets do it backward.

    UPDATE Customer

    SET AccountNumber = LastName

  • Community Member Profile Picture
    on at

    Thank you it works

  • Jeff @ Check Point Software Profile Picture
    13,382 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans