Thank you for the response.
Your suggestions is one I found just doing an on line search, but got the below results:
CSR
 REQUEST
 CHECKLIST
 $
using
CONVERT(VARCHAR(255),REPLACE((SELECT CONVERT(VARCHAR(30),ApprovalType) + CHAR(13) + CHAR(10) AS 'data()'
The below SQL strings together data from multiple rows, separated by a comma. I need to separate those values with carriage return. I can't make it work with suggestions I'm finding on the web. Any ideas?
SELECT DISTINCT p1.RequestLink...
Thank you, OlafDoschke.
SELECT SUBSTRING(myfield,1,CHARINDEX('-',myfield))
FROM mytable
This works, with one minor thing. It includes the '-'.
Can't seem to remove it.
I have data that has data before and after a dash. The length of the data is variable. For example:
AA11111-000
AA1111-000
I want to return the data to the left of the dash only.
Thanks for any help.
I have concatenated words in a cell - a label and then data from another cell. Can I put ascii characters around my label - which would leave the concatenated data unbolded. Without writing vba functions? Any way to just contacte the ascii characters?
Can I join on two fields (from two different tables), and find matches, where the value in one field is, for instance 10015, and the other is 10,015. Is there a way to construct an INNER JOIN to handle that?
Thanks.
Okay, once more? I tried this, but couldn't get it to work.
They don't want to see what's between the brackets, so that
2. IN: OFFSITE STORAGE [OFFICECODE]
would just return
OFFSITE STORAGE
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.