Notifications
Announcements
No record found.
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 don't understand your question. Do you want to move Account Number data into Last Name field?
Yes i want to move account number into last name field.
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.
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.
Lets do it backward.
SET AccountNumber = LastName
Thank you it works
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.