I’m going to be importing the data and I have a field that will have a 2-4 digit number. I need to change that number to x0001 or x0200 depending if it was 1 or 200. Whats the easiest way to do that in SQL Server 2005?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a select stmt that will add the x and format with leading 0’s