oracle-sqldeveloper

ORA-12505, TNS:listener does not currently know of SID given in connect des

◇◆丶佛笑我妖孽 提交于 2020-01-20 04:23:26
问题 Please kindly help me as I just installed Oracle 11g but cannot connnect using SQL Devloper using the settings below: Username: system Password: mypassword Hostname: localhost Port: 1521 SID: XE Error message: Status : Failure -Test failed: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor I checked on Windows Services: OracleServiceXE: Started OracleXETNSListener: Started I also unable to connect to

Why is this an error : “Encountered the symbol ”/“ ”?

孤街醉人 提交于 2020-01-16 10:48:29
问题 I'm compiling a collection of store procedures in SQL Developer for the Mac. The code looks like this: // ... some other code .... END procedureX; END thePackageBodyName; / show error grant execute on thePackageBodyName to anotherName; / show error SQLDev is reporting an error "Encountered the symbol "/" for the first slash. If I remove the first slash, and everything below it, it compiles successfully: // ... some other code .... END procedureX; END thePackageBodyName; Why does the first

Displaying debug output in Oracle SQL Developer [duplicate]

风流意气都作罢 提交于 2020-01-16 10:09:08
问题 This question already exists : DBMS output not being flushed after trigger? Closed 5 months ago . I am using oracle SQL developer and I have an AFTER UPDATE ON trigger that I would like to get some debug output from, something like 'Inserted 5 rows into table A'; I have tried doing this with dbms_output, calling dbms_ouput.put_line('mytext') with the text that I want printed. However, even when my trigger activates, I don't get any output on the dbms output windows (yes I have enabled dbms

problem when creating a new connection in SQL developer [closed]

99封情书 提交于 2020-01-16 08:19:09
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last month . when I created a new connection I find that it contains same content as the previous one, even I have not written anything to this new connection. 回答1: A SQL Developer connection is just a session . If you use the same username as an existing connection's user you will see the objects belonging to

sql*plus is truncating the columns names according to the values in that columns

北战南征 提交于 2020-01-15 09:14:45
问题 I have two broad questions: Q1. Are executing the lines of code in Oracle SQL Developer and executing the same code in sqlplus command prompt same things? (reason I ask this that I heard that not all the sqlplus commands are executable in SQL Developer. If answer to above question is yes then please then few useful links will help) . Q2. I am spooling the results of a sql query to a .csv file, but the thing is that columns names are truncated according the maximum length of the values in that

Problems with loading native library/missing methods: no ttJdbcCS in java.library.path

我的未来我决定 提交于 2020-01-15 06:58:50
问题 Iam facing one problem while connecting the timesten client to the server The SQL Exception which Iam getting is pasted below:- Problems with loading native library/missing methods: no ttJdbcCS in java.library.path I am working with MAC OS X 10.7.2 and my timesten client version is 11.2.1.0 I have also changed the Java Preferences from 64-bit to 32-bit but still whenever i tried to connect with the SQL Developer it gives me the above error. Please help me as it is required for my graduation

CONTAINS doesn't work with Oracle Text

倾然丶 夕夏残阳落幕 提交于 2020-01-15 05:24:28
问题 I am having an issue executing this query. SELECT * FROM gob_attachment WHERE CONTAINS (gob_a_document, 'java') > 0 It's giving me ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: Oracle Text error: ORA-00942: table or view does not exist 29902. 00000 - "error in executing ODCIIndexStart() routine" *Cause: The execution of ODCIIndexStart routine caused an error. *Action: Examine the error messages produced by the indextype code and take appropriate action. After some googling

Display PL/SQL function warnings

半腔热情 提交于 2020-01-13 20:40:29
问题 I have the following function: CREATE OR REPLACE Function pode_levar( pedidos NUMBER, viagens NUMBER) RETURN NUMBER IS x NUMBER:=0; y NUMBER:=0; TRUE NUMBER:=0; BEGIN BEGIN Select id_pedido into x from pedido where id_pedido = pedidos; EXCEPTION WHEN NO_DATA FOUND THEN RAISE_APPLICAITON_ERROR(-20305,'PEDIDO TRANSPORTE ENIXISTENTE'); END; BEGIN select lim_vei_vol - volume_total_viagem(viagens) into y from v viagem , ve veiculo where v.id_viagem = ve.id_viagem and id_viagem = viagens; EXCEPTION

Display PL/SQL function warnings

江枫思渺然 提交于 2020-01-13 20:40:28
问题 I have the following function: CREATE OR REPLACE Function pode_levar( pedidos NUMBER, viagens NUMBER) RETURN NUMBER IS x NUMBER:=0; y NUMBER:=0; TRUE NUMBER:=0; BEGIN BEGIN Select id_pedido into x from pedido where id_pedido = pedidos; EXCEPTION WHEN NO_DATA FOUND THEN RAISE_APPLICAITON_ERROR(-20305,'PEDIDO TRANSPORTE ENIXISTENTE'); END; BEGIN select lim_vei_vol - volume_total_viagem(viagens) into y from v viagem , ve veiculo where v.id_viagem = ve.id_viagem and id_viagem = viagens; EXCEPTION

How do I manage automatic backups with oracle?

a 夏天 提交于 2020-01-11 06:42:13
问题 I'm following the tutorial from oracle docs. And I see that the preferred way to manage the backup/recovery processes is by using RMAN. I've started practicing with it (I mean, by sql*plus cli). But I really don't see how I can automate the process. Then I saw that in sql developer dba panel, there are some options for working with RMAN. I really don't understand how to use them (I didn't even create e backup) and I couldn't find any tutorial about that. So can somebody tell me the way how to