Viewing 15 posts - 1,021 through 1,035 (of 4,086 total)
It would help if you provided sample data as outlined in the first link in my signature. It's confusing, because you're presenting single columns from one table instead of presenting...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2018 at 12:03 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2018 at 9:04 am
Personally, my preferred method is to convert the string to VARBINARY, particularly since the grid view won't properly display many of the whitespace characters, so it can be difficult to...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2018 at 8:51 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2018 at 8:28 am
It's most likely a leading tab instead of a leading space. LTRIM/RTRIM will only remove spaces.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2018 at 7:57 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 16, 2018 at 12:40 pm
I think that you might be making an unwarranted...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 16, 2018 at 12:36 pm
Assuming that you really are looking for a T-SQL version, I believe that this gives you what you are looking for.
SELECT
facility_id,
record_date,
...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 16, 2018 at 11:50 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 15, 2018 at 2:21 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 15, 2018 at 8:12 am
In very broad terms, you have three options for fields in the SELECT clause of a query with a GROUP BY clause.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 15, 2018 at 8:08 am
I'm reminded of another bad day. One department at a former employer was using unlicensed software and a disgruntled former employee reported them for software piracy. The president mandated that...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2018 at 7:33 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2018 at 7:19 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 13, 2018 at 1:21 pm
IIF (TableD.AgentSupervisorID Is Null, OADDR.AgentAddress, HADDR.AgentAddress) As...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 13, 2018 at 8:27 am
Viewing 15 posts - 1,021 through 1,035 (of 4,086 total)