Joel Brown
asked on
SQL Declare
I have the following list of items I want to use in an " IN " statement and would like to declare them at the beginning. What's the best way to handle this.
SET @APPTTYPE = '('BOTOX', 'CONSLT20', 'CONSLT30', 'CONSLT40', 'CONSLT50', 'CONSLT60', 'EMG/NCS', 'EN20', 'EN30', 'EN40', 'EN50',
'EN60', 'EO20', 'EO30', 'EO40', 'EO50', 'EO60', 'JNT INJ', 'MVA')'
SET @APPTTYPE = '('BOTOX', 'CONSLT20', 'CONSLT30', 'CONSLT40', 'CONSLT50', 'CONSLT60', 'EMG/NCS', 'EN20', 'EN30', 'EN40', 'EN50',
'EN60', 'EO20', 'EO30', 'EO40', 'EO50', 'EO60', 'JNT INJ', 'MVA')'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.