mstorer
01-17-2002, 08:22 AM
Due to an odd DB design by one of our vendors, I must use a union query to extract the information that I need. To keep things straight, I would like to put a memo before each of the some 20 UNION SELECT statements I must have. I would like to have something similar to the following:
--Experience Rating Factor--
SELECT [NFAC]
FROM [PRPPRF]
WHERE [LMATCDE]= "IRM002"
--Expense Mod--
UNION SELECT [Mid([lcdedta3],1,5)/10000
FROM POLPLC
Is there any SQL syntax that allows for memos so I don't get completely lost if I need to make changes to this 12 months from now? Thanks for any advice.
--Experience Rating Factor--
SELECT [NFAC]
FROM [PRPPRF]
WHERE [LMATCDE]= "IRM002"
--Expense Mod--
UNION SELECT [Mid([lcdedta3],1,5)/10000
FROM POLPLC
Is there any SQL syntax that allows for memos so I don't get completely lost if I need to make changes to this 12 months from now? Thanks for any advice.