Quantcast
Channel: Answers by "sydoracle"
Browsing all 26 articles
Browse latest View live

Answer by sydoracle

That's a good book that will give you a firm grounding on Oracle principles. Generally speaking most companies using Oracle will be on the conservative side, so you are more likely to see 10g in...

View Article



Answer by sydoracle

I got the expected output in 11.2.0.1 on Linux (32 bit) and I got the output you described when running on 11.1.0.7 on Linux (64 bit)So you are not imagining things or misunderstanding anything. I...

View Article

Answer by sydoracle

If this is an interview question, the interviewer may mean the join methods (ie how Oracle will perform a join). Those are broadly NESTED LOOPS, HASH, SORT/MERGE.Details are in the documentation

View Article

Answer by sydoracle

There is a variation on (2) where you use proxy authentication (example here) so that developers use their own username/password to connect to another schema.That doesn't help with cross-schema...

View Article

Answer by sydoracle

You want something like thisDECLARE v_joined_names VARCHAR2(30); CURSOR cur_get_names IS SELECT id, first_name, last_name FROM clients; BEGIN FOR c_names in cur_get_names LOOP BEGIN v_joined_names :=...

View Article


Answer by sydoracle

Firstly, you may be better off formatting the code prettily. There's a button for code samples (with 101010 on it).Secondly, when you do the select only, the query is probably being fully resolved at...

View Article

Answer by sydoracle

Firstly a value of "IST-10579" is obviously not a number, so don't call it OrderNbr. Call it OrderId. Based on that, and the lack of a CREATE TABLE, I can only guess whether StopNbr and StoreNbr are...

View Article

Answer by sydoracle

Have you tried to use DBMS_LOB.CONVERTTOBLOB@remote(....)But you probably want to get some sort of checksum of the remote CLOB to see whether they are getting a characterset conversion when they are...

View Article


Answer by sydoracle

As follows:create table t1 (id number) rowdependencies; create table t2 (id number); select table_name, dependencies from user_tables where table_name in ('T1','T2')

View Article


Answer by sydoracle

Consider two physical servers which both connect to shared storage.You install oracle on both machines. Then you create the database on the shared disk. That's where all the actual data is stored.You...

View Article

Answer by sydoracle

Sounds like you should be looking at VPD. Check it out here:http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/apdvpoli.htm#sthref1877A simpler mechanism is tom create a view over the...

View Article

Answer by sydoracle

Flashback database as discussed here A briefer and well written overview is here

View Article

Answer by sydoracle

Something likeselect to_number(translate('(1,231.23)','()','<>'),'999,999,999.90PR') from dual

View Article


Answer by sydoracle

That's a good book that will give you a firm grounding on Oracle principles. Generally speaking most companies using Oracle will be on the conservative side, so you are more likely to see 10g in...

View Article

Answer by sydoracle

I got the expected output in 11.2.0.1 on Linux (32 bit) and I got the output you described when running on 11.1.0.7 on Linux (64 bit)So you are not imagining things or misunderstanding anything. I...

View Article


Answer by sydoracle

If this is an interview question, the interviewer may mean the join methods (ie how Oracle will perform a join). Those are broadly NESTED LOOPS, HASH, SORT/MERGE.Details are in the documentation

View Article

Answer by sydoracle

There is a variation on (2) where you use proxy authentication (example here) so that developers use their own username/password to connect to another schema.That doesn't help with cross-schema...

View Article


Answer by sydoracle

You want something like thisDECLARE v_joined_names VARCHAR2(30); CURSOR cur_get_names IS SELECT id, first_name, last_name FROM clients; BEGIN FOR c_names in cur_get_names LOOP BEGIN v_joined_names :=...

View Article

Answer by sydoracle

Firstly, you may be better off formatting the code prettily. There's a button for code samples (with 101010 on it).Secondly, when you do the select only, the query is probably being fully resolved at...

View Article

Answer by sydoracle

Firstly a value of "IST-10579" is obviously not a number, so don't call it OrderNbr. Call it OrderId. Based on that, and the lack of a CREATE TABLE, I can only guess whether StopNbr and StoreNbr are...

View Article
Browsing all 26 articles
Browse latest View live




Latest Images