EXEC SQL CONNECT :username IDENTIFIED BY :password USING :server;
执行上面的语句时
出现ORA-00955: name is already used by an existing object 错误。
请问怎样解决哈???????在sqlplus里用同样的 用户名,密码,server能正常登录。

解决方案 »

  1.   

    你这是个proc吧,然后你这个proc的名字应该和你的一个表同名了。
      

  2.   

    ORA-00955 name is already used by an existing objectCause: An attempt was made to create a database object (such as a table, view, cluster, index, or synonym) that already exists. A user's database objects must have distinct names. Action: Enter a unique name for the database object or modify or drop the existing object so it can be reused.