Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by owenyuen

  1. owenyuen

    SQL

    I have some data in my table declared in varchar 2000 200 20 2 Is any way I can write a SQL to output those data as 2000 0200 0020 0002 Many Thanks
  2. owenyuen

    SQL Questions looking for duplicate data ...

    By the way, Thanks for BOTH input!!! Best Regards Owen
  3. owenyuen

    SQL Questions looking for duplicate data ...

    Thanks Alan ..... I will try the first Query.
  4. owenyuen

    SQL Questions looking for duplicate data ...

    There is the table: ColA ColB ColC ColD 0001 00011574 111500 Purchases Cost Pool 0001 00010001 280001 Home Office 0002 09910001 280001 Home Office 0001 00010002 280002 Short North 0001 00010003 280003 Affinity Deposits Is any way I can write a SQL query to...
  5. owenyuen

    Moving the logfile?

    Sorry Alex: I am very new in Oracle. Don't know anyone can give me more details for step by step? Thanks
  6. owenyuen

    Moving the logfile?

    How to move the logfile members from $ORACLE_BASE/oradata/ to $ORACLE_BASE/oradata/test? Thanks
  7. owenyuen

    Change password....

    How to change the password of the system user using alter user command?
  8. owenyuen

    Admin scripts

    Do you know the name of the admin scripts which is stored in the %ORACLE_HOME\rdbms\admin directory? I am new for Oracles, it does have lot of scripts inside this folder. Thanks
  9. owenyuen

    Instance Name & database version question?

    Thanks All: Best Regards Owen
  10. owenyuen

    Instance Name & database version question?

    Hi all: How can I identify the instance name? Also, is anyway I can find out the version of the database?
  11. owenyuen

    Normalization .... ?

    Salesman# -> Commission% Commission is depend on the Saleman# Example: Tom will have fixed 7% commission for selling any type of cars. Date_sold -> Discount_amt Example: Dec 25 2002 will have $300 discount for any car. Dec 10 2002 will have $100 discount for any car.
  12. owenyuen

    Normalization .... ?

    Any comment for my Normal form concept is right .... CAR_SALE TABLE (Car #, Date_sold, Salesman#, Commission%, Discount_amt) Assume that a car may be sold by multiple salesman and hence {Car #, Salesman#} is the primary key. Additional dependencies are: Date_sold -> Discount_amt, and...
  13. owenyuen

    SET SERVEROUTPUT ON SET VERIFY OFF

    SET SERVEROUTPUT ON SET VERIFY OFF SET ECHO OFF ACCEPT p_num PROMPT 'Please enter the number of top money makers: ' DECLARE Wrong_Input EXCEPTION; v_num NUMBER(2) := &p_num; v_ename emp.ename%TYPE; v_sal emp.sal%TYPE; v_dept dept.dname%TYPE; tmp_sal emp.sal%TYPE; v_count Number...
  14. owenyuen

    Oracle Command .... ?

    Thanks for your inputs.
  15. owenyuen

    Oracle Command .... ?

    Sorry, it is NT!

Part and Inventory Search

Back
Top