I have an program based on SQL 2000 back end. The program use to have a note field nvarchar of 600 characters where you could enter a note like so:
This is a test
Test Line 2
Test Line 3
And it would end up looking like this in the table:
PartNumber Notes
---------- -----------------------
XYZ-1234 This is a test[CRLF]Test Line 2[CRLF]Test Line 3
Now they change the structure and re-organized the data so it is now:
PartNumber Line Notes
---------- ---- -----------------------
XYZ-1234 0001 This is a test
XYZ-1234 0002 Test Line 2
XYZ-1234 0003 Test Line 3
In order for me to check if the notes and other items on XYZ-1234 matched ABC-9876 I need to have all these notes grouped into one field in a view or something that I can query against with MS Access and Crystal Reports. Is there a way to get a view of the new table to simulate the old?
This is a test
Test Line 2
Test Line 3
And it would end up looking like this in the table:
PartNumber Notes
---------- -----------------------
XYZ-1234 This is a test[CRLF]Test Line 2[CRLF]Test Line 3
Now they change the structure and re-organized the data so it is now:
PartNumber Line Notes
---------- ---- -----------------------
XYZ-1234 0001 This is a test
XYZ-1234 0002 Test Line 2
XYZ-1234 0003 Test Line 3
In order for me to check if the notes and other items on XYZ-1234 matched ABC-9876 I need to have all these notes grouped into one field in a view or something that I can query against with MS Access and Crystal Reports. Is there a way to get a view of the new table to simulate the old?