Viewing 15 posts - 346 through 360 (of 5,111 total)
Hi Solomon,
Yep, adding the notation character to that one line appears to do this job. I tested Comments, Posts, and Pages, and all 3 now correctly stored the characters.Well done...
January 18, 2021 at 10:29 am
Casting a literal NULL
to a data type in a CASE
is somewhat pointless; it'll be converted to the highest precedence data type of the non-NULL
literals or column (which...
January 13, 2021 at 6:12 pm
Jeff Moden, you mention what you built previously. Did I overlook a code sample or link?
Jeff would be referring to their very well known DelimitedSplit8k function, which also...
January 13, 2021 at 5:10 pm
Problem: Stored procedure and in a script the @parameters do not 'survive'
Well no, but there were no parameters in your script, nor was it provided as a Procedure; I...
January 13, 2021 at 9:05 am
Assuming that if there is a ***
to start a section, there is always a corresponding ***
to end it, then I would actually use a could of CHARINDEX
es in...
January 12, 2021 at 5:14 pm
If I am understanding what you appear to be describing, you could use a VALUES
table construct:
SELECT V.I,
ISNULL(YT.YourColumn,0) AS YourColumn
FROM...
January 12, 2021 at 4:10 pm
The problem is the parser here. You are attempting to create the same object twice in the same batch, and thus the parser sees the second attempt to create the...
January 12, 2021 at 2:15 pm
Hi Solomon,
Sorry not replied to this, December wasn't a great month for me, so didn't have my head in the game. I'll have a look at this later this week...
January 11, 2021 at 12:32 pm
If I can find what I saw at the time and pass along some suggested changes, could you help me test it? And if successful, I can post the...
November 3, 2020 at 5:14 pm
Thanks Solomon. It's bitterly disappointing that this was raised back in April of last year and not fixed yet; I didn't even think to look for a report and I...
November 3, 2020 at 4:28 pm
Might be worth updating the question to use NCHAR to get the character. Code written in good old ASCII won't let you down 😉
True, though one would expect SSC...
November 3, 2020 at 9:40 am
I've edited the initial post, nothing I can personally do about SSC's data choices unfortunately.
November 3, 2020 at 8:55 am
On my SQL 2019 instance, the behaviour does not match your explanation
Yep the question I wrote doesn't have a question mark in it, it had a...
November 3, 2020 at 8:50 am
I assume all you need it this:
LEN((DT_WSTR, 4) [Your Column]) == 4
If the values can also be longer than 4 characters as well increase...
November 2, 2020 at 2:15 pm
I assume all you need it this:
LEN((DT_WSTR, 4) [Your Column]) == 4
If the values can also be longer than 4 characters as well increase the length of...
November 2, 2020 at 9:00 am
Viewing 15 posts - 346 through 360 (of 5,111 total)