View

Published on March 2017 | Categories: Documents | Downloads: 47 | Comments: 0 | Views: 473
of 2
Download PDF   Embed   Report

Comments

Content

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_hw_filename` AS select `ndb_db`.`oss_hw_parameter_list`.`NE_NAME` AS `ne_name`,max(`ndb_db`.`oss_hw_parameter_list`.`FILENAME`) AS `filename` from `ndb_db`.`oss_hw_parameter_list` group by `ndb_db`.`oss_hw_parameter_list`.`NE_ NAME` CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_hw_lac_ci` AS select `b`.`NEID` AS `NEID`,`b`.`LAC` AS `LAC`,`b`.` CI` AS `CI`,`b`.`CELLNAME` AS `CELLNAME`,`b`.`TYPE` AS `TYPE`,`b`.`BCCHNO` AS `B CCHNO`,`d`.`NAME` AS `BSCNAME` from (`ndb_db`.`oss_hw_bsc6900gsmcell` `b` left j oin `ndb_db`.`oss_hw_bsc6900gsmne` `d` on(((`b`.`NEID` = `d`.`NEID`) and (`b`.`F ILENAME` = `d`.`FILENAME`)))) where (`b`.`FILENAME` in (select `c`.`filename` fr om `ndb_db`.`oss_hw_filename` `c`) and (`b`.`ACTSTATUS` = 'ACTIVATED')) CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_hw_trx` AS select `b`.`ACTSTATUS` AS `ACSTATUS`,`c`.`NAME` AS `BSC NAME`,`a`.`LAC` AS `LAC`,`a`.`CI` AS `CI`,`a`.`CELLNAME` AS `CELLNAME`,`a`.`CELL ID` AS `CELLID`,`a`.`NEID` AS `NEID`,`a`.`TYPE` AS `TYPE`,`b`.`TRXID` AS `TRXID` ,`b`.`TRXNO` AS `TRXNO` from ((`ndb_db`.`oss_hw_bsc6900gsmcell` `a` left join `n db_db`.`oss_hw_bsc6900gsmgtrx` `b` on(((`a`.`NEID` = `b`.`NEID`) and (`a`.`CELLI D` = `b`.`CELLID`) and (`a`.`FILENAME` = `b`.`FILENAME`)))) left join `ndb_db`.` oss_hw_bsc6900gsmne` `c` on(((`a`.`NEID` = `c`.`NEID`) and (`a`.`FILENAME` = `c` .`FILENAME`)))) where (`a`.`FILENAME` in (select `oss_hw_filename`.`filename` fr om `ndb_db`.`oss_hw_filename`) and (`b`.`ACTSTATUS` = 'ACTIVATED') and (`a`.`ACT STATUS` = 'ACTIVATED')) CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_nok_bsc` AS select `a`.`LAST_MODIFIED` AS `LAST_MODIFIED`,`b`.`CO_ NAME` AS `BSC_NAME`,`b`.`CO_OBJECT_INSTANCE` AS `BSC_ID`,`b`.`CO_GID` AS `BSC_GI D`,`b`.`CO_OC_ID` AS `BSC_OC_ID`,`b`.`CO_PARENT_GID` AS `BSC_PARENT_GID`,`a`.`BS C_NE_SW_REL` AS `BSC_NE_SW_REL`,`a`.`BSC_TYPE` AS `BSC_TYPE`,`a`.`SERVER_ID` AS `SERVER_ID` from (`nok_2g_ej`.`c_bsc` `a` left join `nok_2g_ej`.`utp_mo` `b` on( ((`a`.`INT_ID` = `b`.`CO_INT_ID`) and (`a`.`SERVER_ID` = `b`.`SERVER_ID`)))) whe re (concat(`a`.`SERVER_ID`,`a`.`FILENAME`) in (select concat(`d`.`server_id`,`d` .`max_filename`) from `ndb_db`.`oss_nok_filename` `d`) and concat(`b`.`SERVER_ID `,`b`.`FILENAME`) in (select concat(`d`.`server_id`,`d`.`max_filename`) from `nd b_db`.`oss_nok_filename` `d`) and (`b`.`CO_OC_ID` = 3)) CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_nok_filename` AS select `a`.`server_id` AS `server_id`,`a`.`oss_da ta_type` AS `oss_data_type`,max(`a`.`filename`) AS `max_filename` from `ndb_db`. `oss_parameter_datatype` `a` where (`a`.`vendor_id` = '2') group by `a`.`server_ id`,`a`.`oss_data_type` CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_nsn_lac_ci` AS select `ndb_db`.`oss_nok_lac_ci`.`SERVER_ID` AS `SE RVER_ID`,`ndb_db`.`oss_nok_lac_ci`.`CO_ADMIN_STATE` AS `CO_ADMIN_STATE`,`ndb_db` .`oss_nok_lac_ci`.`bsc_id` AS `BSC_ID`,`ndb_db`.`oss_nok_lac_ci`.`BSC_NAME` AS ` BSC_NAME`,`ndb_db`.`oss_nok_lac_ci`.`BTS_ID` AS `BTS_ID`,`ndb_db`.`oss_nok_lac_c i`.`BCCHNO` AS `BCCHNO`,`ndb_db`.`oss_nok_lac_ci`.`LA_FREQUENCY_BAND_IN_USE` AS `LA_FREQUENCY_BAND_IN_USE`,`ndb_db`.`oss_nok_lac_ci`.`LA_ID_LAC` AS `LA_ID_LAC`, `ndb_db`.`oss_nok_lac_ci`.`CELL_ID` AS `CELL_ID`,`ndb_db`.`oss_nok_lac_ci`.`EGPR S_ENABLED` AS `EGPRS_ENABLED` from `ndb_db`.`oss_nok_lac_ci` union select `ndb_d b`.`oss_sie_lac_ci`.`server_id` AS `server_id`,1 AS `CO_ADMIN_STATE`,`ndb_db`.`o ss_sie_lac_ci`.`BSC_ID` AS `BSC_ID`,`ndb_db`.`oss_sie_lac_ci`.`BSC_ID` AS `BSC_N AME`,concat(`ndb_db`.`oss_sie_lac_ci`.`BTSM`,'-',`ndb_db`.`oss_sie_lac_ci`.`BTS` ) AS `concat(BTSM,'-',BTS)`,`ndb_db`.`oss_sie_lac_ci`.`BCCHFREQ` AS `BCCHFREQ`,( case when (`ndb_db`.`oss_sie_lac_ci`.`SYSID` = 'BB900') then 0 else 1 end) AS `c ase WHEN SYSID='BB900' THEN 0 else 1 end`,`ndb_db`.`oss_sie_lac_ci`.`LAC` AS `LA C`,`ndb_db`.`oss_sie_lac_ci`.`CI` AS `CI`,(case when (`ndb_db`.`oss_sie_lac_ci`.

`EEDGE` = 'TRUE') then 1 else 0 end) AS `case when EEDGE='TRUE' then 1 else 0 en d` from `ndb_db`.`oss_sie_lac_ci` CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_nsn_trx` AS select `ndb_db`.`oss_nok_trx`.`SERVER_ID` AS `SERVER_I D`,`ndb_db`.`oss_nok_trx`.`CO_ADMIN_STATE` AS `CO_ADMIN_STATE`,`ndb_db`.`oss_nok _trx`.`bsc_id` AS `BSC_ID`,`ndb_db`.`oss_nok_trx`.`BSC_NAME` AS `BSC_NAME`,`ndb_ db`.`oss_nok_trx`.`BTS_ID` AS `BTS_ID`,`ndb_db`.`oss_nok_trx`.`LA_ID_LAC` AS `LA _ID_LAC`,`ndb_db`.`oss_nok_trx`.`CELL_ID` AS `CELL_ID`,`ndb_db`.`oss_nok_trx`.`T RX_ID` AS `TRX_ID`,`ndb_db`.`oss_nok_trx`.`LA_FREQUENCY_BAND_IN_USE` AS `LA_FREQ UENCY_BAND_IN_USE` from `ndb_db`.`oss_nok_trx` union select `ndb_db`.`oss_sie_tr x`.`server_id` AS `server_id`,1 AS `CO_ADMIN_STATE`,`ndb_db`.`oss_sie_trx`.`BSC_ ID` AS `BSC_ID`,`ndb_db`.`oss_sie_trx`.`BSC_ID` AS `BSC_NAME`,concat(`ndb_db`.`o ss_sie_trx`.`BTSM`,'-',`ndb_db`.`oss_sie_trx`.`BTS`) AS `concat(BTSM,'-',BTS)`,` ndb_db`.`oss_sie_trx`.`LAC` AS `LAC`,`ndb_db`.`oss_sie_trx`.`CI` AS `CI`,`ndb_db `.`oss_sie_trx`.`TRX` AS `TRX`,(case when (`ndb_db`.`oss_sie_trx`.`SYSID` = 'BB9 00') then 0 else 1 end) AS `(case when (SYSID = 'BB900') then 0 else 1 end)` fro m `ndb_db`.`oss_sie_trx` CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ndb_db`.`oss_sie_filename` AS select `sie_2g_ns`.`mel`.`SERVER_ID` AS `server_i d`,`sie_2g_ns`.`mel`.`MELID` AS `MELID`,max(concat(convert(date_format(`ndb_db`. `oss_parameter_file`.`file_date`,'%Y%m%d%H%i%s') using latin1),`sie_2g_ns`.`mel` .`FILENAME`)) AS `max_filename` from (`sie_2g_ns`.`mel` left join `ndb_db`.`oss_ parameter_file` on(((`sie_2g_ns`.`mel`.`SERVER_ID` = `ndb_db`.`oss_parameter_fil e`.`server_id`) and (`sie_2g_ns`.`mel`.`FILENAME` = `ndb_db`.`oss_parameter_file `.`filename`)))) group by `sie_2g_ns`.`mel`.`SERVER_ID`,`sie_2g_ns`.`mel`.`MELID ` union select `sie_2g_ss`.`mel`.`SERVER_ID` AS `server_id`,`sie_2g_ss`.`mel`.`M ELID` AS `MELID`,max(concat(convert(date_format(`ndb_db`.`oss_parameter_file`.`f ile_date`,'%Y%m%d%H%i%s') using latin1),`sie_2g_ss`.`mel`.`FILENAME`)) AS `max_f ilename` from (`sie_2g_ss`.`mel` left join `ndb_db`.`oss_parameter_file` on(((`s ie_2g_ss`.`mel`.`SERVER_ID` = `ndb_db`.`oss_parameter_file`.`server_id`) and (`s ie_2g_ss`.`mel`.`FILENAME` = `ndb_db`.`oss_parameter_file`.`filename`)))) group by `sie_2g_ss`.`mel`.`SERVER_ID`,`sie_2g_ss`.`mel`.`MELID`

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close