Viewing 15 posts - 1,516 through 1,530 (of 4,087 total)
First, no one is going to read that mess. Use the "SQL Code" tag at the bottom of the posting box to include formatted SQL code.
Second, GET RID...
November 14, 2017 at 8:00 am
WHERE YEAR([date]) =...November 14, 2017 at 7:50 am
The error message you get tells you exactly what the problem is
Argument data type varchar is invalid for argument 1 of format function.
Drew
November 13, 2017 at 3:24 pm
November 10, 2017 at 2:24 pm
Your history table seems to be missing an entry for attr5. You have entries for all other attributes when they were changed from NULL to something.
The following gives...
November 10, 2017 at 2:21 pm
You haven't given us nearly enough information to provide you a meaningful solution. Please provide table definitions, sample data, and expected results. Follow the first link in my signature to...
November 10, 2017 at 1:30 pm
November 10, 2017 at 12:55 pm
It's because you're using the wrong formula for the path in recursive part of the rCTE. I've commented out the incorrect line and added the correct line.
[code...
November 10, 2017 at 7:54 am
It's pretty simple, really. SQL sorts character by character and left to right. The character by character evaluation...
November 10, 2017 at 7:49 am
So we had a problem updating a record in our third party product. I opened a case on the vendor's website and detailed the steps that I took to create...
November 9, 2017 at 1:58 pm
People usually approach these problems the wrong way. They try to determine if someone falls within a certain...
November 9, 2017 at 9:51 am
Viewing 15 posts - 1,516 through 1,530 (of 4,087 total)