cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Aditya,

Can you try txt column from VARCHAR to NVARCHAR.

Regards,

V Srinivasan

Former Member
0 Kudos

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