从视图中选择时出现TNS错误

时间:2017-11-02 21:19:25

标签: oracle

我有一个观点

CREATE OR REPLACE VIEW dte_blmb_trd_acct_vw AS
    SELECT
        rtrim(strbk_book_name) bb_trd_acct,
        rtrim(strbk_description) description,
        trading_acct ici_trd_acct
    FROM
        spider.sp_struct_books@spdn b1,
        dte_trading_acct
    WHERE
        substr(rtrim(strbk_book_name),1,2) = ltrim(rtrim(fits_trading_acct) )
        AND   strbk_last_update_date = (
            SELECT
                MAX(strbk_last_update_date)
            FROM
                spider.sp_struct_books@spdn b2
            WHERE
                b2.strbk_book_number = b1.strbk_book_number
        );

将其分开,但是当我从dte_blmb_trd_acct_vw中选择时 它会出现TNS错误

0 个答案:

没有答案