Alpha Numeric Values
Hi
IS it supported in GL code combinations to have a alpha numeric values in key segment values .. we have a project segment in our chart of accounts and need the aplpha numeric values eg PRT001 , ADT001 etc . We do have some customizations and wondering if code combinations would have any impact
Thanks
Veda
Yes you can have alpha numerics.
Regards,
Gareth
Similar Messages
-
BEx report hangs- selecting Alpha numeric values
I am working on the existing customer report
customer is the selection parameter for my report.
Issue is Customer has numerical and alpha numerical values.
If i give parameter rangs of value is numerical
01 - 500 query works fine
01-50cust1
50 cust1 - 195 cust2
query hangs.
Is their any way we can improve the query performance .
for searching alphanumerica values.
I have a workbook is built based on the query.
morethan 6 queries attached in the sheet 1....sheet2
each sheet has it is own query with values.
when I refresh and execute the workbook with the customer alphanumerica values it hangs.
Query is built based on the multiprovider.
Please help me onthisHello,
Try exporting in the 'fully formated grids and text'. It shouldl give you the 'member alias' used in the report.
Looks like if you export in the 'querry ready grids and text' it will show the 'member name' as in database although the report may have used the 'member alias'.
Regards -
How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).
How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).
-
How to display 'Alpha numeric values' in lower character?
Hi,
We have 'Alpha numeric value' in one column and i need to display alphabets in lower character.
I tried but throwing error.
SQL> select * from a439487.ora_dev_inventory;
HOST_NM HA INV_DT
SMMK94 - 21-AUG-08
SQL> select to_lower(HOST_NM) from a439487.ora_dev_inventory;
select to_lower(HOST_NM) from a439487.ora_dev_inventory
ERROR at line 1:
ORA-00904: "TO_LOWER": invalid identifier
I want 'HOST_NM' to be displayed in lower value.
I need o/p like 'smmk94'.
Any idea?Where did you find the TO_LOWER function? Can you
show us?I would guess it was just an assumption based on the fact we have to_char, to_date, to_number...
;) -
How to Return only alpha-numeric Values
In my query, I want to return only records for which data in a specific column is alpha-numeric. Any records having this field as NULL, or containing symbols, I want to exclude. What's the best way to do this?
Thanks,
Briceselect str from tab1
where str is not null
and translate(str, '_0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','_') is null
/Regards
Dmytro -
How to generate password alpha numeric value
dear friends,
i have written a simple pl/sql to generate a password.
declare
cursor c1 is select * from passwd;
begin
for I in c1
loop
if I.pfno < 3000 then
update passwd set pwd=I.pfno where i.pfno=pfno;
ELSe
update passwd set pwd=lpad(round(I.pfno/20520),4,'0') where i.pfno=pfno;
commit;
end if;
end loop;
end;
In this the pfno is 8 digit alpha numeric. I get password generated when it is only numeric but how could i get if pfno is like 04MAS155.
Kindly help as i have to generate the same as early as possible. I have already been given with procedure to generate random password by our guys but still as i had already generated password to some employees in my concern based on querries like above i request your help to generate for alpha numeric 8 digit number.-- get a random string
FUNCTION string (opt char, len NUMBER)
/* "opt" specifies that the returned string may contain:
'u','U' : upper case alpha characters only
'l','L' : lower case alpha characters only
'a','A' : alpha characters only (mixed case)
'x','X' : any alpha-numeric characters (upper)
'p','P' : any printable characters
RETURN VARCHAR2; -- string of <len> characters (max 60)
PRAGMA restrict_references (string, WNDS); -
Exporting alpha numeric values using File Export Excel option
Hi,
When we export the report output to excel using the option file /export/excel/fully formatted grids and text, the text where we have alphanumeric characters, only the number component is getting exported. An example is 'Switch - Cisco 3750 (Goa) '. When the report data is exported, we can see only 3750 in the excel file. How do we fix this issue. Any help is highly appreciated.
PHello,
Try exporting in the 'fully formated grids and text'. It shouldl give you the 'member alias' used in the report.
Looks like if you export in the 'querry ready grids and text' it will show the 'member name' as in database although the report may have used the 'member alias'.
Regards -
Convert Alpha-Numeric to Numeric values
Hi,
I have a requirement like there is a doc.no. which has alpha -numeric values (Eg:DA 112333).
When i extract this value i should be able to get only 112333 as the final output.
How can i achieve this?
Its not a fixed thing that only first two values will be alphabets it can occur anywhere in the sequence.
Thanks in advance
MerlinHi,
Check if you can make use of this sample code..
Report xyz.
DATA: l_str TYPE c LENGTH 10 VALUE '3D5X12YZ35',
l_str1 TYPE c LENGTH 10,
l_alpha TYPE string VALUE 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
c TYPE c.
DO 10 TIMES.
c = l_str.
IF c CA l_alpha.
c = space.
ELSE.
CONCATENATE l_str1 c INTO l_str1.
ENDIF.
SHIFT l_str LEFT.
ENDDO.
CONDENSE l_str1.
WRITE l_str1. -
Random alpha numeric generation.
i have a requiremnt where i need to generate a random alpha numeric values with the combination of
a - z (lower case)
A - Z (Upper case)
0-9
with out using the dbms_random.string
please help me to get the complete script
Prashant Ki used dbms_random.string('X',6) statement but it generates the alphanumeric with upper case. i wanted the combination of lower,upper and digits. as shown below.
e.g aB3cdFE88
to get the above i did some thing like this.
select dbms_random.string('L',4)||dbms_random.string('X',6) as rand_alphanumeric from dual
here i am concatinating the two strings.
i want to know is there any way other than this to geneate random alphanumeric values ? -
Hi all,
Can anyone help me getting validation on not allowing special character on field. I need just alpha numeric to be entered in the field. I have a field with datatype varchar2, which is allowing user to add special chars also. Please let me know the validation which i can apply on that item to restrict user to not add special chars. Seek help. thanks in advance
regardsHi
you can use javascript for this, use this function and change the ascii values according to your need
function number_chk(e) { //only numbers
var k;
document.all ? k = e.keyCode : k = e.which;
return ((k > 47 && k < 58) || (k < 96 && k > 123) || k == 8);
This function is allowing only the Numbers to be entered in the field.
Call this function from your textfield's HTML form element attributes like this:
onkeypress = "return number_chk(event)" -
Removing Non-numeric characters from Alpha-numeric string
Hi,
I have one column in which i have Alpha-numeric data like
COLUMN X
+91 (876) 098 6789
1-567-987-7655
so on.
I want to remove Non-numeric characters from above (space,'(',')',+,........)
i want to write something generic (suppose some function to which i pass the column)
thanks in advance,
MandipThis variation uses the like operators pattern recognition to remove non alphanumeric characters. It also
keeps decimals.
Code Snippet
CREATE FUNCTION dbo.RemoveChars(@Str varchar(1000))
RETURNS VARCHAR(1000)
BEGIN
declare @NewStr varchar(1000),
@i int
set @i = 1
set @NewStr = ''
while @i <= len(@str)
begin
--grab digits or (| in regex) decimal
if substring(@str,@i,1) like '%[0-9|.]%'
begin
set @NewStr = @NewStr + substring(@str,@i,1)
end
else
begin
set @NewStr = @NewStr
end
set @i = @i + 1
end
RETURN Rtrim(Ltrim(@NewStr))
END
GO
Code to validate:
Code Snippet
declare @t table(
TestStr varchar(100)
insert into @t values ('+91 (8.76) \098 6789');
insert into @t values ('1-567-987-7655');
select dbo.RemoveChars(TestStr)
from @t -
Removing alpha numeric characters
Hi,
Can anybody please tell me how can I remove the alpha numeric characters, inluding spaces from a column value.
Thanks in advanceThanks for the help. But this extracts the alpha
numeric characters and and print those. What I need
is i want all those column values without these alpha
numeric characters.You said...
Can anybody please tell me
how can I remove the alpha numeric characters, inluding spaces from a column value.So I showed you to to remove alpha numeric characters and spaces from a column value.
So I think you need to be clear in your requirements.
Do you want all rows where there are values that only have alpha numerics in them i.e. don't show the rows that have non-alpha numeric or spaces in a particular value?
or
Do you want all rows, but you want to strip out non alpha-numerics and spaces from particular values?
Perhaps if you give an example of your data and what you expect the result to be that may give us a better idea, because what I gave you as a solution was correct for the requirement you specified. -
What is faster to search an alpha numeric primary key or number datatype
hi all,
I am looking for the answer to a question. What provides a faster and or efficient search for a primary key in any RDBMS is it alpha numeric or number? and why?I would appreciate you replies please.Several years ago an Oracle support analyst posted the results of a test for a single column PK with where he compared the results for using a number data type verse a character data type. The analyst results showed you needed more than 100K accesses to measure any significant difference where the number data type showed a small performance advantage. Note that Oracle stores the number data type internally as a form of scientific notation and library math is necessary to work with the numbers. Most of the claims for using a number instead of character go back to the days where native binary words were used as the key. The test only covered signle column keys.
Use the data type that matches your natural business keys and call it a day. If you try to substitute an artificial numeric key you are likely to have to go through a business character value to locate the artificial key so any performance benefit you think you can get by using a numeric key will be imaginary due to increased overhead of maintaining multiple indexes.
You can set up and run your own tests.
HTH -- Mark D Powell -- -
ADD COMMAND-link 2 fields where numeric value matches
I have a Add Command that looks like this.
SELECT *
FROM "AS400"."MTMODBC"."#MTMTRP" "_MTMTRP"
LEFT OUTER JOIN (
SELECT CHGTRP, CHGFCD, Max(CHGDTE) As Max_CHGDTE, Max(CHGTIM) As Max_CHGTIM
FROM "AS400"."MTMODBC"."#MTMTCHG" "_MTMTCHG"
WHERE CHGFCD= '076'
GROUP BY CHGTRP, CHGFCD
) C1
ON
TRIP#=CHGTRP
LEFT OUTER JOIN "AS400"."MTMODBC"."#MTMGAS" "_MTMGAS" ON (TRIP#=GTRIP#)
LEFT OUTER JOIN "AS400"."MTMODBC"."#MTMMBR" "_MTMMBR" ON (TCSTKY=MCSTKY)
LEFT OUTER JOIN "AS400"."MTMODBC"."#DMSFAC" "_DMSFAC" ON (TDELZP=DFZIP and DFADDR1=TDELVA)
LEFT OUTER JOIN (SELECT TRIP# AS NTRIP#, THCPCS
FROM "AS400"."MTMODBC"."#MTMND" "_MTMND") N1
ON TRIP#=NTRIP#
WHERE TINSCD= '0342' and
(TRPFLG Like 'S%' OR
TRPFLG in ('X1','X2','X3')) and
TREASC not in ('53','81') and
TAPTDT>=20101001 and
TAPTDT<=20110331
The bolded fields are Alpha numeric and I would like to match them on values
EX: DFADDR1 has a value 123 High St
and TDELVA has a value 123 High St
How do I match them on the first 3 digits?
Thanks!
Achett13Hi,
What about using substing function in the join.
(TDELZP=DFZIP and substr(DFADDR1,0,3)=substr(TDELVA,0,3))
I have assumed that numeric filed length is fixed.Which is the database?
Regards,
Bilahari M -
Query only non numeric values in a column
How to query only non numeric values in a cloumn.
For example:
Table1 has a column1(col1)
Values:
Row Value
1 27376
2 47D99
3 83039
4 DKFI*
5 3J6
Query should retrieve only rows(2,4,5).
Thanks! for help
MuraliVersion 2(PL/SQL) above is not clear enough, It can be tuned to the following:
-- Create a function
Create or replace function IsVARCHAR(pCol VARCHAR2) return VARCHAR2
AS
vNumber NUMBER := 0;
begin
vNumber := to_number(pCol);
RETURN NULL;
Exception
When Others Then
RETURN pCol;
End;
-- To See VARCHAR values (alpha-numeric) only!
SELECT col1 FROM tab1
WHERE IsVARCHAR(col1) IS NOT NULL;
-- To See NUMBER values only!
SELECT col1 FROM tab1
WHERE IsVARCHAR(col1) IS NULL;Versatility here with PL/SQL, but I personally like SQL versions.
Thx,
SriDHAR
Maybe you are looking for
-
Have you ever happened? Basically I don't want to lose time coping and pasting, doing much work to do something simple. I want to have sync my contacts from gmail account with iCloud account. I used to have Lion Mac OS 10.7.4 which was allowing me sy
-
Screen Sharing and VPN functionality with ARD
Can somebody with ARD tell me if the following setup is going to work? There's no demo version so I can't tell if it's going to be worth 300 dollars. I have a number of local machines in a network and a couple external machines in other parts of the
-
Dynamically changing the functions in a menu based on the user (in SSHR)
Dear All, I have a requirement to change the functions in a menu dynamically. For Ex: An employee is allowed to apply Advance only in the first one month of his/her joining. I created it as an EIT and attached the function, to the menu. Now, i want t
-
My ResultSet won't update (EMERGENCY)
I'm busy trying to write a database app (first time using java.sql). I use the jdbc:odbc bridge to connect to an Access 97 database (not my choice). Problem is I have written few thousand lines and have dialogs that can DISPLAY the data, but when I t
-
Best practices with managed bean
Hi, I have 7 jsf which have 4 listaschoice and checkbox all use the same. the difference is that when running the action of the button, going to run a different, now I have one for the 7 jsf bean and the only thing that changed is the method of actio