IanWaterman
Programmer
I need to create some SQL to find a specific notes and date note was entered.
Dataset looks like
010127 5 #Incident Manager
010127 6 Incident Reviewed - Confirmation that user is happy should be sought
010127 7 Fred Bloggs--------------------05/07/10-@-12:55:09--------
Each line of the Notes has an individual line number but no date field
I need to find the notes which start with ~Incident and then find the entry date
to output
UF01027 #Incident 05/07/2010
Notes can be as short as the above to several lines long.
so far I have got
select * from callnotes
where callno = '010127'
and (notes like '%#Incident%' or notes like '%---%/%')
Thank you
Ian
Dataset looks like
010127 5 #Incident Manager
010127 6 Incident Reviewed - Confirmation that user is happy should be sought
010127 7 Fred Bloggs--------------------05/07/10-@-12:55:09--------
Each line of the Notes has an individual line number but no date field
I need to find the notes which start with ~Incident and then find the entry date
to output
UF01027 #Incident 05/07/2010
Notes can be as short as the above to several lines long.
so far I have got
select * from callnotes
where callno = '010127'
and (notes like '%#Incident%' or notes like '%---%/%')
Thank you
Ian