How to find no of bytes per character in a word - Urgent need
Hi,
I have some data in the database with chinese characters. I want to know how many bytes per each character in a word and get the total bytes.
Is there any built in Oracle function or anything where i can get no of bytes for each character or a word.
I am not able to find the solution anywhere.
Any help is appreciated.
Hi,
You can use LENGHTB function.
SQL>SELECT LENGTHB(dummy) FROM DUAL;
LENGTHB(DUMMY)
1
1 row selected.
SQL>Regards
Similar Messages
-
How to Find the Unicode of a character(s)?
Dear all,
How to find a unicode of a character in ABAP as we do in c or java,
for: ex: i want to print the unicode of 'a' as: 90. some what like that.
later i want to convert the string of characters in to " byte code stream".
Please do help on this.Hi
You can use FM HR_KR_STRING_TO_XSTRING.
Regards
Yossi.R. -
How to find Database, APPL_TOP and IANA character set on 11i?
Hi,
Could you please tell How to find out Database character set, APPL_TOP character set and IANA character set on existing 11i environment?
This is required to pass the input during R12 upgrade.
Regards,
AVDatabase:
SQL> select value
from V$NLS_PARAMETERS
where parameters='NLS_CHARACTERSET';
Application:
$ echo $NLS_LANG
IANA:
Check the value of "s_iana_cset" context variable in the context file or check the value of "ICX:Client IANA Encoding" profile option.
NLS Frequently Asked Questions [ID 399789.1]
Oracle Applications 11i Internationalization Guide [ID 333785.1]
How autconfig determines the value for Iana Charsets s_iana_cset value set in XML context file [ID 1380683.1]
Thanks,
Hussein -
How to find 12,13 and 15 character products for 10 char product
Hello Experts,
I Hope you are doing good.
I am unable to find solution for the given below,Its very urgent.
I have to find the 10 character products first. For every 10 chars product i have to find all the 12,13 and 15 chars product.for example
0010101213---10 chars product
0010101213S21---13 chars product
0010101213B1225--15 chars product
We can see the products in customs mgmnt->master data->maintain products->display.
It is very urgent, any solution will be appreciated.
Thank you In Advance.
Regards,
Anand.Hi Dave and Aman,
Really Thank you very much for your reply.
Explaining question more clear here.
Every product will have classification right! That is happening the same here that is , I have a object saying that 10 chars product will have some grouping{(Ex: ABCD Z) (this can be seen in the path sap menu legal->customs mgmnt->master data->maintain products->display->legal control tab)} ,for this 10 char prroduct i have to find 12,13 and 15 char products first(for example0010101213 ---10 chars product
0010101213S21---13 chars product
0010101213B1225--15 chars product ) and then check the grouping for these 12,13 and 15 products.
After that if there is no grouping for these 12,13 and 15 products, i have to assign 10 char product grouping to all three types of products.
that is the main requirement.
If not ths is clear please let me know.
My qyestion here is
1) how to find 12,13 and 15 chars product for a 10 char product for example
0010101213 ---10 chars product
0010101213S21---13 chars product
0010101213B1225--15 chars product
Thank you.
Best Regards,
Anand -
How to find the cpu usage per query for a time period
Hi All,
Is there a way to find the cpu used per query for a given time period?
DB:10.2.0.5
OS:AIX
Thanksuser13364377 wrote:
if there are multiple queries starting at the same time, then what to do?Handle: user13364377
Status Level: Newbie (10)
Registered: Jul 5, 2010
Total Posts: 264
Total Questions: 113 (84 unresolved)
why so many unanswered questions?
clarify your question
same SQL multiple times from different sessions?
or
different SQLs from different sessions? -
How to find and remove any special character in filename?
I have a files in various Windows Servers 2003 with a special character at his names, who are causing problem with backup software, i don´t know what character is because in explorer they are not shown and in command line they are shown only as interrogation
mark and for this, i don´t know how i will find and remove then.
Thanks.Hi,
I agree with Dave. We can try using
chkdsk utility to check the file system and file system metadata of a volume for logical and physical errors.
Regarding
chkdsk, the following article can be referred to for more information.
Chkdsk
http://technet.microsoft.com/en-us/library/cc730714.aspx
Best regards,
Frank Shen -
How to find length(in Bytes) of an Inputstream
Hi ,
I have a dynamic InputStream which is coming from a HTTPRequest .
My requirement is to read the data in stream more than once . If i read the data using read(), it will read the entire data and for the subsequent reading it is not allowing .
So, is there any way to read a stream more than once .
Is it possible to get the length(in Bytes) of an InputStreamrajeshreddyk wrote:
My requirement is to read the data in stream more than once . If i read the data using read(), it will read the entire data and for the subsequent reading it is not allowing .
So, is there any way to read a stream more than once .Store the data somewhere on your end, then re-read as often as you fancy.
PushbackInputStream may offer the desired functionality, IF you know the message size in advance (which you should, if it's HTTP). I'm not quite certain it should be used for very large streams, though.
Alternatively (and probably better), write all your data once to a BAOS, and re-read from it (using a BAIS).
Is it possible to get the length(in Bytes) of an InputStreamNo, not as such.
However, a specific protocol may stipulate that the message size should be written to the stream (as data), and thus the recieving end would know how much data there is to read.
In HTTP, this is handled with the Content-Length header parameter. -
How to find lsit of Infoobjects per query in a table
Hi All,
is there a way to find list of all the info Objects per query in a table.
i know there are tables like RSZELTXREF and rszcompdir and rsrrepdir
I am not able to make out the relation between them.
All I want is to know what are the characteristics per query.
I have a list of queries and need to know what are the characteristics in them.
Please reply.
Many Thanks,
JogaUse the below way:
1. Use RSRREPDIR table: Provide your technical name of the Query in COMPID field. Hit F8. Collec the COMPUID of the query here.
2. Use table: RSZELTXREF: Provide the COPMUID from RSRREPDIR table in SELTUID field and hit F8. in Active version. Here collect the element details from the field TELTUID.
3. Use table RSZELTTXT: and provide all the elements list that you hvae collected in step 2 in ELTUID field of this table. Hit F8. Once done you can see the individual object lists in Short text as well as in Long text.
Always use Object version as "A" to get the active object list.
Hope this clarifies your requirement. -
Hi All,
could you please help me on to find the license type of the existing sql server instance ...
I already tried with below queries to find license type but no luck.
SELECT ServerProperty('LicenseType') as LicenseType, ServerProperty('NumLicenses') as ProcessorCount
Thank You,
rupHello,
If you run the following statement, you should be able to get “"Enterprise Edition: Core-based Licensing ..." if the instance
is using a core-based license.
select serverproperty('Edition')
The following post may help you too to determine if you are using Enterprise Core Edition:
http://blogs.msdn.com/b/sql_shep/archive/2012/06/21/sql-server-2012-license-core-limitaion.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Hi friends,
I need to add one horizontal line for the detail section at the end of the page.
I tried to put that line in page footer and i tried with Box also. Both are not properly working. Some space problem is coming.
Is there any feature to find end of the Page.
I want report format like this.
set id | set name | date Name
1 x dddd vijay
dddd sarathi
dddd reddy
(End of the page)
Thanks in advance...
vijay.Do you know how many detail records are showing up per page?
If you do - you could create a Details B section that is suppressed except for on Record N (where N is a counter, and N is the last Detail record that will show up on a page).
The Page footer is indeed built so that it will be rendered at the bottom of your physical page of paper. -
How to find unicode equialent for a dbcs character
I have one requirement from client to display DBCS ( Chinese, Japanese, etc.., ) characters in their equivalent unicode format. Every DBCS character should be displayed like &#xxx; in XML. In our project we create the XML dynamically. When we get the data initially we get it in DBCS. We need to convert that DBCS data character by character to the corresponding unicode values and put it in the XML that we create.
My questions are :
How to find out whether a particular character is a unicode character first ?
I need your help on how to find the unicode equivalent values for each dbcs character ?Hopefully you get that data in some charset. You should not have to deal with low-level character conversion, just read the data into strings using that charset. (You can use the form of InputStreamReader that takes a charset name as the second parameter.) Put the strings into XML and when you write out the XML, the serializer will take care of putting valid and consistent data into the document. (That's assuming you're using a serializer that somebody else wrote and not just plain old Java I/O.)
Looks to me like the hard part will be getting your client to tell you what charset the data is encoded in. -
How to find serial Number for BCC Plugin?
Hi,
How to find serial number for Bcc plugin on FCP?
I need format my Mac so before that I to find the serial number?
Please anyone can help me....The serial number has the format like E-111-aaa-222-bbb-333-ccc-444-ddd-5ee-ffff, it can be found on a piece of paper which has 3 stickers with it inside the box.
-
How to give no of lines per page in alv report
hi
could anybody tell me
how to give no of lines per page in alv report
i need bottom of page too
if possible plz send the code too
it ll be very helpful to me
thanx
kals.Hi,
This is possible, using some of the events in the ALV.
You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
APPEND gw_event TO gt_events.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_events = gt_events[]
and define the form for each event as follows - this would be a dynamic call by the ALV.
*& Form after_line_output
* Form for the After Line Output Event in the internal table
* --> rs_lineinfo
FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
IF sy-linno eq v_linno. "Defaulted value for line count
perform write_footer.
NEW-PAGE.
ENDIF.
ENDFORM. " after_line_output
For lines per page:
rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
Regards,
Anil. -
How to find out about the SMTP Server
Hi,
I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
Thank you and regards,
KatharinaHi Katharina,
you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
Kind regards,
dominik -
Hi ,
How to find out the latest Record in per_all_people_f and per_all_assignments_f
Requirement : Need to find out the latest record in per_all_people_f and per_all_assignments_f to update the attribute column with pre defined value . Its not possible to track only with person_id / assignment_id and effective end date
SELECT pp_id
FROM (SELECT app.person_id pp_id,
asf.*
FROM apps.per_all_people_f app,
apps.per_all_assignments_f asf
WHERE --app.person_id=123568 and
asf.person_id = app.person_id AND
app.effective_end_date = to_date('31-dec-4712') AND
asf.effective_end_date = to_date('31-dec-4712')
GROUP BY app.person_id)
HAVING COUNT(pp_id) > 1
GROUP BY pp_id
This query also returns more than 1 value for person_id .
It would be great if you put comment on this .. Thanks in advance ,
AryaI am getting more records with asf.primary_flag='Y' . If you give ur mail id , i will send the sample data
ASSIGNMENT_ID EFFECTIVE_START_DATE EFFECTIVE_END_DATE BUSINESS_GROUP_ID RECRUITER_ID GRADE_ID POSITION_ID JOB_ID ASSIGNMENT_STATUS_TYPE_ID PAYROLL_ID LOCATION_ID PERSON_REFERRED_BY_ID SUPERVISOR_ID SPECIAL_CEILING_STEP_ID PERSON_ID RECRUITMENT_ACTIVITY_ID SOURCE_ORGANIZATION_ID ORGANIZATION_ID PEOPLE_GROUP_ID SOFT_CODING_KEYFLEX_ID VACANCY_ID PAY_BASIS_ID ASSIGNMENT_SEQUENCE ASSIGNMENT_TYPE PRIMARY_FLAG APPLICATION_ID ASSIGNMENT_NUMBER CHANGE_REASON COMMENT_ID DATE_PROBATION_END DEFAULT_CODE_COMB_ID EMPLOYMENT_CATEGORY FREQUENCY INTERNAL_ADDRESS_LINE MANAGER_FLAG NORMAL_HOURS PERF_REVIEW_PERIOD PERF_REVIEW_PERIOD_FREQUENCY PERIOD_OF_SERVICE_ID PROBATION_PERIOD PROBATION_UNIT SAL_REVIEW_PERIOD SAL_REVIEW_PERIOD_FREQUENCY SET_OF_BOOKS_ID SOURCE_TYPE TIME_NORMAL_FINISH TIME_NORMAL_START BARGAINING_UNIT_CODE LABOUR_UNION_MEMBER_FLAG HOURLY_SALARIED_CODE REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ASS_ATTRIBUTE_CATEGORY ASS_ATTRIBUTE1 ASS_ATTRIBUTE2 ASS_ATTRIBUTE3 ASS_ATTRIBUTE4 ASS_ATTRIBUTE5 ASS_ATTRIBUTE6 ASS_ATTRIBUTE7 ASS_ATTRIBUTE8 ASS_ATTRIBUTE9 ASS_ATTRIBUTE10 ASS_ATTRIBUTE11 ASS_ATTRIBUTE12 ASS_ATTRIBUTE13 ASS_ATTRIBUTE14 ASS_ATTRIBUTE15 ASS_ATTRIBUTE16 ASS_ATTRIBUTE17 ASS_ATTRIBUTE18 ASS_ATTRIBUTE19 ASS_ATTRIBUTE20 ASS_ATTRIBUTE21 ASS_ATTRIBUTE22 ASS_ATTRIBUTE23 ASS_ATTRIBUTE24 ASS_ATTRIBUTE25 ASS_ATTRIBUTE26 ASS_ATTRIBUTE27 ASS_ATTRIBUTE28 ASS_ATTRIBUTE29 ASS_ATTRIBUTE30 LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE TITLE OBJECT_VERSION_NUMBER
931510 7-Nov-08 31-Dec-12 122 (null) (null) (null) 3978 1 (null) 14402 (null) 220150 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 2 E Y (null) 100035417-2 (null) (null) (null) 45948739 (null) (null) (null) (null) (null) (null) (null) 868007 (null) (null) (null) (null) 449 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
797386 26-Aug-08 26-Aug-08 122 (null) (null) (null) 3980 3 (null) 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 E Y (null) 100035417 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) 740071 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
916076 26-Aug-08 31-Dec-12 122 (null) (null) (null) 3980 1 4 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 B Y (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
797386 25-Feb-08 25-Aug-08 122 (null) (null) (null) 3980 1 (null) 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 E Y (null) 100035417 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) 740071 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
Maybe you are looking for
-
Report developed in 6i and open and run in 10g, Web Layout is not working
Hi, Initially reports were developed in Reports 6i now we need to convert into 10g. I just opened the .rdf in Reports10g. Report is successfully running in paper layout and showing the data. But when i try to run the report in Web Layout im getting a
-
Photo in folder doesn't appear in import dialogue
Hi there, I have LR 3.6 and have created a catalog of pictures from a ski trip I took last year. All of these pictures and the LR catalog are in one folder on my hard drive. After sorting, deleting and retouching quite a few pictures I now notice t
-
Emsg:was terminated by signal 11
Hi All, In an existing rdf, I have added a query block and joined a data link with existing main query. When I submitted the report as a concurrent program I am getting the below error. stat_low = B stat_high = 0 emsg:was terminated by signal 11 If I
-
How to handle ORA-12053: this is not a valid nested materialized view
Hi, I've been trying to create nested MV's for a while and encountered with this error and not able to find a solution even after spending lot of time on this. Here is the problem. --> I've 3 base tables Tab1, Tab2, Tab3, which r not having pk's on t
-
Help with password InputDialog
Trying to create a InputDialog that will have a password input (*). String s1 = JOptionPane.showInputDialog("Enter Password:"); and how to retrieve the password? Thanks