SQL & PL/SQL :: Initcaping Names With Internal Capital Letter

Jun 22, 2010

I need a sql/function that formats employee names in Initcap including names with internal capital letters.For example:

Mark VanTassel should be Mark VanTassel and not Mark Vantassel
McGowen should be McGowen
O'Neil should be O'Neil.

found this on the web but didn't quiet understand and didn't work for me.

CREATE OR REPLACE FUNCTION cul_initcap(input_val text) RETURNS text AS
BEGIN
SELECT
REPLACE(
REPLACE(
REPLACE(
REPLACE(
[code]....

View 11 Replies


ADVERTISEMENT

SQL & PL/SQL :: Letter Generation In Word?

Jul 2, 2012

i need to write to word doc from pl/sql . these are letters which needs to printed . Can i use the same UTL_FILE and will i be able to control the font etc from pl/sql

View 6 Replies View Related

SQL & PL/SQL :: How To Select A Name Starting With First Letter Caps

Jul 30, 2010

how to select the name that starts with first letter caps.

Eg:

Emp_Name Emp_id
Raga 101
Purnima 102
Vicky 103
ragu 104
raman 105
Santhosh 106

output should like as following:

Emp_Name
Raga
Purnima
Vicky
Santhosh

4 row(s) affected.

View 39 Replies View Related

SQL & PL/SQL :: How To Retrieve First Letter Of Every Word From String

Oct 4, 2013

I want to retrieve first letter of every word from the string.

For ex. if string is "Computer Science Engineering (New)" then I want "CSE" or if string is "Mechanical Engineering" then "ME".

how to do this..

View 18 Replies View Related

SQL & PL/SQL :: Find All Column Names In All 20 Tables That Have Same Names?

Jul 7, 2010

I have 20 tables. In all 20 tables, some of column names are same and some are different. I need to find all column names in all 20 tables that have same names.

create table t1 (
col1 varchar2(10),
col2 varchar2(10));
create table t2 (
col1 varchar2(10),
col3 varchar2(10));
create table t3 (
col1 varchar2(10));

View 1 Replies View Related

Field Constraint For Days Of Week Using Single Letter Representation

Jul 6, 2013

I know I can add a check constraint for m,t,w,r,f,s,u How can I add a constraint that will allow any combination of the above. For example it would allow m or mf, or mwf Someone said it could be done with trim but I can not figure it out.  

View 1 Replies View Related

Forms :: FRM-40734 Internal Error?

Dec 13, 2012

Problem is one form that i have to migrate from version 6 throu 6i I got very difficult (for me) error FRM-40734. Happens In WHEN-NEW-FORM-INSTANCE trigger when i try do go_block('NAVI');NAVI block is NOT database block (property set NO)

Database Oracle Database 10g Release 10.2.0.4.0
Forms 11.1.2.0.0,

Below i post some code

When-New-Form-Instance trigger
....some other code
navi_pck.link_activated();
... some other code
navi_pck.Init();
... some other code

Navi_pck is a package added to program modules

PACKAGE BODY navi_pck IS
type t_navi_data is record
( name varchar2(64),
primary_item varchar2(64),

[code]...

When When-New-Instance-Form fires on line navi_pck.link_activated(); we go to init(); in navi_pck packageeverything is ok - that mean it is executed without any errorthen when we hit navi_pck.Init();we got error at Bold line => go_block(g_block); that is error not exception (because adding begin... exception when others ... end; does not catch it)

Of course its needed to be done -> mean that go_block, because after it we clear block and work on it.I got 5 triggers on that block NAVE - but tried already to NULL theirs code but didnt solve the problem (didnt try to remove them...)

View 7 Replies View Related

Forms :: Frm-40734 Internal PL/SQL Error

Oct 3, 2006

I am using forms 6i. In my program..i am using win_api_dialog.select_printer.I am getting this error frm-40734.

View 5 Replies View Related

SQL & PL/SQL :: Getting ORA-00600 / Internal Error Code

Aug 29, 2011

If i try to execute the below code i go the ora:00600 error. what is wrong in the query.

select FCT.* from (SELECT
NVL(DD.DATE_KEY,1855) AS DATE_KEY,
DP.PRODUCT_KEY AS PRODUCT_KEY,
DP.VENDOR_KEY AS VENDOR_KEY,
DP.VENDOR_CODE AS VENDOR_CODE,
COUNT(DISTINCT FPL.PO_NO) AS PO_ASSIGNED,
SUM(FPL.PO_TOT_QTY) AS UNIT_ASSIGNED,
COUNT(DISTINCT FVL.PO_NO) AS PO_RECEIVED,
SUM(VO_TOT_RECD_QTY) AS UNIT_SHIPPED,

[code]....

View 3 Replies View Related

FRM-40734 / Internal - PL/SQL Error Occurred

Mar 27, 2004

I'm trying to call an help file with the following

BEGIN
Win_API_Shell.WinHelp
('C:eindwerkorainfo.hlp' ,
null ,
WIN_API.HELP_INDEX ,
TRUE );
END;

DK2KWUTIL.pll is attached to the form, info.hlp is an existing file in the path C:eindwerkora.

But it keeps giving me the following error:

FRM-40734: Internal error: PL/SQL error occurred.

View 3 Replies View Related

PL/SQL :: Find Common And Internal Calls?

Jul 19, 2013

create table call(id number(15) primary key, calling_no varchar2(15), called_no varchar2(15), calldate date, calltime timestamp, duration number(10) ,calltype varchar2(10));  1. CALL DETAILS OF 9891826547insert into call (id,calling_no,called_no,calldate,calltime,duration,calltype) values (1, 9891826547, 9891210785, to_date('01-Jun-13','dd-Mon-yy'), to_date('19:12:00','hh24:mi:ss'),10,'OUT'); insert into call (id,calling_no,called_no,calldate,calltime,duration,calltype) values (2,9891826547, 9899985476, to_date('01-Jun-13','dd-Mon-yy'), to_date('22:10:12','hh24:mi:ss'),50,'OUT'); insert into call (id,calling_no,called_no,calldate,calltime,duration,calltype) values (3, 9891826547, 9818415767, to_date('02-Jun-13','dd-

[code]...

View 3 Replies View Related

TNS-00510 / Internal Limit Restriction Exceeded

Aug 23, 2011

TNS-12540: TNS:internal limit restriction exceeded

TNS-12560: TNS:protocol adapter error

TNS-00510: Internal limit restriction exceeded

DEC OSF/1 AXP Error: 28: No space left on device

View 4 Replies View Related

Archive Error - Connect Internal Only Until Freed

May 6, 2013

10g

Our database is hanging with the above error.

I already freed everything in the flash_recovery_area . all archive logs and backupset. But still the error persist :(

I even alter system set recovery desc to 100G. still error.

View 8 Replies View Related

Application Express :: 4.2 - Can't Go To (INTERNAL) Manage Instance

Oct 16, 2012

I upgraded my APEX instance from 4.1 to 4.2 and now I can't go to (INTERNAL) Manage Instance->Instance Settings I see only ORA-28817: PL/SQL function returned an error.

View 5 Replies View Related

ORA-00600 - Internal Error Code / Arguments

Jan 21, 2013

Recently i have faced the error ora-600[kcbgtcr_12]. oracle suggested in the note (5523799.8) to flush the buffer cache by executing below command. My database version 9.2.0.8

1) to flush the buffer cache: alter session set events 'immediate trace name flush_cache level 1'

is this command for flushing the buffer cache ? if so what will be the impact if we flush the buffer cache ?

View 7 Replies View Related

ORA-00600 / Internal Error Code - Arguments (12235)?

Feb 7, 2006

==> linux advance server 2
==> Oracle 9.2.0.1

I received this error in my alert logfile.

ORA-00600: internal error code, arguments: [12235], [], [], [], [], [], [], []

TRC file out:
====================================
Oracle program name: oracle@ABCxxx
*** 2006-02-07 09:08:01.340
ksedmp: internal or fatal error

[code]...

View 3 Replies View Related

Client Tools :: SQL Plus Is Not Recognized As Internal Or External Command

Feb 16, 2011

1) I mistakenly changed my 'oracle_home' some days ago, as below: my computer --> environment variable ...

2) Then i realised that and edit the oracle home and saved as below: C:oracleproduct10.2.0db_1

But i am now not able to open sqlplus. it shows me the below error. 'sqlplus' is not recognized as internal or external command.

View 5 Replies View Related

Server Administration :: ORA-00600 Internal Error Code

Mar 6, 2012

i am receiving ora-00600: internal error code, arguments :[729], [163624], [space leak], [],[], [], about this error and what can damage it can cause .we have one issue that is our application is slow for some time and then get normalk

View 3 Replies View Related

SQL & PL/SQL :: Merge Statement In Procedure - Internal Error Code

Feb 9, 2011

I have a merge statement in one procedure , this job runs on daily . It is running successfully since Jan-19-2010 and giving the below error now.

ERROR at line 1:
ORA-00600: internal error code, arguments: [kcbgcur_9], [4224596], [1],
[4294967250], [2], [], [], []

It is giving error in the beginning of the MERGE statement.

View 11 Replies View Related

Methods To Check Index - How To Control Internal Integrity

Jun 28, 2012

How to control internal integrity (lack of self-reference keys in an index) without using regular validation and rebuilding ?

I'm using 10.2.0.5.

View 7 Replies View Related

Application Express :: Error In Mru Internal Routine ORA-20001

Jan 28, 2013

I have a tabular form, when salve at data, works fine. But when update at data following error occurs: Error in mru internal routine: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum.

View 4 Replies View Related

Oracle Error ORA-00600 - Internal Code Arguments?

Apr 4, 2013

i have oracle database 10g with RAC. Before this, we upgrade our storage and completed the process. After bring up our database and it's ok.

But the problem is, when i try connect our database using ODI then database hang and i got error closed connection. When i checked details in alert.log, i got error - ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], [].

View 3 Replies View Related

Forms :: 91120 Internal Error - Unable To Load NLS Character Set?

Jun 3, 2011

I'm facing this error: FRM-91120: Internal Error: Unable to load NLS character set

when I try to run command runform50.

I've set my NLS_LANG to American_America.WE8ISO8859P1 (which the the same as my DB),
I've set the ORA_NLS33, ORA_NLS32 and ORA_NLS vars to /usr/oracle/OraHOme1/ocommon/nls/admin/data
I've set the NLSPATH to /usr/lib/nls/msg/%L/%N

If I run runform50 command without any options, it shows me the help file, so I think it is correctly installed..

I guess the same thing as you're probably thinking .. that I'm missing some charset ... but where ? they should be in ocommon/nls dir ? if so, I've already installed pretty much everything of the developer2000 cd

View 6 Replies View Related

SQL & PL/SQL :: Using Bulk Collect For Insert Into Table - Internal Error Code

Sep 29, 2011

Using the Bulk collect for insert into table,it's raising the below error.

ORA-00600: internal error code, arguments: [25027], [130], [1], [], [], [], [], [], [], [], [], []

View 5 Replies View Related

Server Administration :: ORA-00600 - Internal Error Code - Arguments?

Sep 27, 2011

After googling a lot, I really don't know what may have caused this problem when I'm shutting the DB,I'm running oracle on version 10.2.0.3.0 on Win Server 2003 Enterprise SP2.

Part of the alert.log:

Mon Sep 26 07:00:49 2011
Starting background process EMN0
EMN0 started with pid=27, OS id=5192
Mon Sep 26 07:00:49 2011

[code]...

Part of the file teste_ora_5000.trc:

FREELIST CHUNK COUNT:3192 OBJECT SIZE:36
LATCH:1 TOTAL SPACE: 114912
FREELIST CHUNK COUNT:3190 OBJECT SIZE:36
LATCH:2 TOTAL SPACE: 119016

[code]...

View 4 Replies View Related

Server Utilities :: Getting Localconfig Is Not Recognized As Internal Or External Command

Dec 30, 2010

While i like to start CSS service to create new ASM instance in my own pc for testing purpose gettting the below errors "'localconfig' is not recognized as an internal or external command, operable program or batch file.".

View 1 Replies View Related

Backup & Recovery :: Rman-0600 Internal Error (9018)?

Jul 24, 2012

Version of Oracle: 9.2.0.8.0 Enterprise edition
Running on Windows 2003 Server
No catalog
Backup controlfile and database work great.

Cannot run backup archivelog all command. I did check metalink but was not able to find this error / bugggh.

RMAN-03002 failure of backup command at 07/24/2012
Rman-00600 internal error, arguments [9018] [7] [] [] []

View 10 Replies View Related

Reports & Discoverer :: REP3335 - Unhandled Internal CA Error Depep 2

Aug 28, 2004

I work with Developer 2000/Report Builder Oracle 8i...When I try to save a report in any format whether RTF or HTML it says:PDE-PER001 Internal error (REP3335: Unhandled Internal CA Error depep 2) ...Some reports can be saved,some not,especially those reports that have a PARAMETER FORM

View 3 Replies View Related

Performance Tuning :: Speeding Up Scanning Of Internal Temporary Table

Apr 3, 2012

I have a query like following

WITH v_results as
(
Select /*+ materialize full(t1) parallel(t1) */
col1,
col2
col3
col4
[code].......

Now I have 2 issues here

1) The query inside the WITH clause returns more than few 100k rows in 3-4 seconds (with parallel hint) it accesses 425984 blocks

But then the hash join starts (as observed from (longops) and it literally crawls for 2-2.5 hours

Of course the tables with which the results of WITH query are joined, are big, too . But is there any workaround to speed up the hash join in such situation? when observed from logops it reads almost block by block

How do I know why the hash_join is slow? memory or /and something ?

My another question pertains to the WITH clause
We can execute the query in WITH clause using parallel hint but can we later scan the internal temporary table (as created using materialize hint) in, parallel mode?

View 7 Replies View Related

ORA-01041 / Internal Error Hostdef Extension Doesn't Exist

Dec 12, 2012

When i am compiling the form11g this error came "ORA-01041: internal error hostdef extension doesn't exist "

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved