I am trying to add a question on StackOverflow, but the system is rejecting it with no error explanation...I have tried re-wording it including changing the title, but no luck.
So is my account suspended - I can't see anything like that on my profile?
Or is it being rejected by rules on the site for something wrong with it. I don't think there are any true duplicates?
Here is the question I was trying to add:
In our table we have a field with length of nvarchar(70) which is used to store multiple values that can be queried using SUBSTRING. There are already 54 characters in the field including the final quote.
The Start and end characters of the field are always a single quote.
I need to update the field, adding up to 3 characters from another reference table. I tried the below, but it is missing of the last character when the number is greater than 9.
update Hermes_Rep.dbo.ActData set spare6= LEFT(Spare6+SPACE(57),57) + '''' FROM Hermes_Rep.dbo.ACTdata LEFT JOIN KFILDTO_YARPF YAR ON ACTdata.ACNo COLLATE Latin1_General_CI_AS= YAR.YARCUS COLLATE Latin1_General_CI_AS where DataDate='2014-09-16'
For example, if the data I am adding is
N9'
it works, but if the data isN11
it only puts inN1
So what am I doing wrong here?