Skip to Content
author's profile photo Former Member
Former Member

PROCEDURE TO REPLACE A CHARACTER ('?') OF A FIELD IN A TABLE WITH A SPACE

Hello Experts,

I have been assigned a task where i have 2 tables A and B .

In table A , I have data with some fields and column name Serial No , System , Name and so on...

In column 2 I have a set of entries and for some serial no there is a "?" as a character.

Now i want to replace this character with a space .

The data is uploaded in table A from an excel sheet , This excel sheet is system generated and contains 60000 + entries.

Can you help me write a procedure regarding this ?

Thanks in advance

Thanks and Regards

Aditya Dixit

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2014 at 03:34 PM

    Hi Aditya,

    I guess this thread is related with . Can you please try to import the excel sheet again? Hope that'll work. Otherwise you need to first make sure the content is really '?' instead of NULL.

    Best regards,

    Wenjun

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 06, 2014 at 08:56 AM

    Hi Aditya,

    Can you try txt column from VARCHAR to NVARCHAR.

    Regards,

    V Srinivasan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Srinivasan,

      Thank you so much for your response , but the txt column is already NVARCHAR.

      Is there any other solution to this ? Or any other way to achieve this .?

      Thanks and Regards

      Aditya Dixit

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.