User Profile
Collapse
-
Thank you for the reply. It seems to be working so far. I have to build some fill DB w/ dummy data to fully test but I stopped getting error codes. Thank you again.... -
Select Case Where Like?
Hey kids, got a problem. Here's the code:
Code:Rev.techCompany CASE WHEN techCompany LIKE 'North_IR' THEN 'NorthIR' WHEN techCompany LIKE 'South_IR' THEN 'SouthIR' WHEN techCompany LIKE 'East_IR' THEN 'EastIR' WHEN techCompany LIKE 'North_[^IR]' THEN 'NorthContractor' WHEN techCompany LIKE 'South_[^IR]' THEN 'SouthContractor' WHEN techCompany LIKE 'East_[^IR]' THEN 'EastContractor' END
-
Nested SELECT FROM WHERE AS IN
The code below give an error ofCode:Msg 170, Level 15, State 1, Line 5 Line 5: Incorrect syntax near '='. Msg 170, Level 15, State 1, Line 8 Line 8: Incorrect syntax near '='.
Code:SELECT xxx.reviews.id, xxx.reviews.techCompany, xxx.reviews.jobSummary, xxx.reviews.inspectionDate, xxx.callTypeReview.reviewId, xxx.callTypeReview.callType, xxx.findingsComments.reviewId,
No activity results to display
Show More
Leave a comment: