473,396 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

getting error : PLS-00553: character set name is not recognized

Hi

I am getting the following error when I tried to run the code given below

ORA-06550: line 1, column 29:
PLS-00553: character set name is not recognized
ORA-06550: line 0, column 0:
PL/SQL: Compilation unit analysis terminated

can anyone explain me why am getting such error and how to resolve it...

Please help me, Urgent...

Thanks in Advance

Prakash


declare
cursor c1 is select distinct Table_name
from all_tab_columns where column_name ='ACCOUNT_ID' and
OWNER ='Table_owner';
TNAME ALL_TAB_COLUMNS.TABLE_NAME%TYPE;
nrows number(3) := 0;
sQuery varchar2(500) ;
BEGIN
sQuery := '';
OPEN C1;
loop
FETCH C1 INTO TNAME;
EXIT WHEN c1%NOTFOUND;
sQuery := 'Select count(*) from ' || TNAME || ' where Account_id like ''BE%''';
EXECUTE IMMEDIATE sQuery into nrows;
-- nrows := Sql%rowcount;
dbms_output.put_line ('Table_name :' || tname ||' ' ||'has '|| nrows || ' rows');
end loop;
end;
/
May 26 '06 #1
1 5517
Hi

I am getting the following error when I tried to run the code given below

ORA-06550: line 1, column 29:
PLS-00553: character set name is not recognized
ORA-06550: line 0, column 0:
PL/SQL: Compilation unit analysis terminated

can anyone explain me why am getting such error and how to resolve it...

Please help me, Urgent...

Thanks in Advance

Prakash


declare
cursor c1 is select distinct Table_name
from all_tab_columns where column_name ='ACCOUNT_ID' and
OWNER ='Table_owner';
TNAME ALL_TAB_COLUMNS.TABLE_NAME%TYPE;
nrows number(3) := 0;
sQuery varchar2(500) ;
BEGIN
sQuery := '';
OPEN C1;
loop
FETCH C1 INTO TNAME;
EXIT WHEN c1%NOTFOUND;
sQuery := 'Select count(*) from ' || TNAME || ' where Account_id like ''BE%''';
EXECUTE IMMEDIATE sQuery into nrows;
-- nrows := Sql%rowcount;
dbms_output.put_line ('Table_name :' || tname ||' ' ||'has '|| nrows || ' rows');
end loop;
end;
/
I have the same problem and can't find a solution for in on the internet, did anybody solve this issue?

hans
Oct 11 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: anuradha.k.r | last post by:
hi, i have written a simple socket program in python to connect to a windows machine.On the server side i am running a windows socket program which works perfectly fine,my server program waites at...
2
by: William Gower | last post by:
I am trying to display a page that has a data grid on it. I get this message Description: An error occurred during the processing of a configuration file required to service this request....
1
by: joseph pattom | last post by:
Hi all i am using <customErrors mode="On" defaultRedirect="ErrorDisplay.aspx"/> in my web.config file and getting redirected to "ErrorDisplay.aspx" in almost all the unhandled exceptions but in...
5
by: velu | last post by:
Problem in getting value from textbox & radiobuttonlist to a valuable inside a datagid. I want to insert a record into a table thru datagrid. Here is the code (see below) Private Sub...
1
by: sethuganesh | last post by:
HI, i have ported vc++ 6.0 code to visual studio 2005. During batch build in debug mode i din't get any error.But if i build the same in release mode i am getting the following error. ...
3
by: MuZZy | last post by:
Hi, I'm trying to run Windows Communication Foundation examples included with .NET 3 SDK and I'm getting error: The requested service, "http://localhost/servicemodelsamples/service.svc"...
2
by: soma.gunasekaran | last post by:
Hi All , I've stored the Image file..... But i want to retriving the Image files from MSACCSS 2003 (JPEG,bmp,Gif and etc....) So Pls help me........ help me............... Thanking you,...
2
by: dine123kumar | last post by:
Pls help me, Give me code for getting the data from MS Access to combo box which is using in VB6, I tried i in many ways but it giving the error msg (data convertion....) I am doing the project...
1
by: siddu | last post by:
Hi All, I have to do one task. First i need to copy files from vss and run bat files.i have a document with all steps. step 1: we have to take files from vss by using getlatestversion...
4
by: nani2717 | last post by:
HI ALL, I m currenly working with a visual basic 6 project.i m new to VB.wen i tried to comile a file i got the error "user defined type not defined".i don know wat appropriate reference to add.i m...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.