Question : SQL Server 2005 options on the databases

I use SQL Server 2005, When i right click on the database i do not see "Reports" option.
Though when i right click i see all other options like New Database, New Query, Script Database as, Task, Rename, Delete, Refresh and Properties.
Any idea why cannot see that option here. I want to view some performance dashboard reporte there. So please let me know if you have any idea.

Answer : SQL Server 2005 options on the databases

Sub queries can only be used in SQL statements.  Since this case statement is in PL/SQL not regular SQL, you cannot do it.

Either select the id into another variable or somehow join the selects into a single select statement ot return the desired type_id.

What does the following return:

SELECT   WAVELENGTH_TYPE_ID
              INTO   P_WAVELENGTH_TYPE_ID
              FROM   LAYER1_WAVELENGTH_TYPE
             WHERE   WAVELENGHT_TYPE_NAME = TDP_LOAD_SUMMARY_REC.Customer and
TDP_LOAD_SUMMARY_REC.Customer IN
                      ('CNI-CD',
                       'CNI-00',
                       'CNI-TC',
                       'CNI-M',
                       'CNI-RH',
                       'CNI-XC',
                       'CNI-NP',
                       'CNI-RT')
and
P_PROGRAM_ID IN (SELECT   PROGRAM_ID FROM   LAYER1_PROGRAM WHERE PROGRAM = 'MSP/DMX');
Random Solutions  
 
programming4us programming4us