Hi All,
I have a table with the following content:
TableB
ColumnA
1034%
2900%
3444%
10%
(the percent signs in the tables are wildcards)
I have a value 103459 (its a variable) and i want to check if this exists in the table; this value exists in the table because we have a value in the table...
Hi,
There is a misinterpretation. In my case T4= T3
Couldn't we use
ORDER BY T1, decode(substr(t3,1,1), '0', 1, 2)
Because T3 contains always 0001, 0002, 0003 ... till 0010 and GHAL.
Will this issue solved with
ORDER BY T1, decode(substr(t3,1,1), '0', 1, 2)
TIA
Could you also please explain what this function exactly does(DECODE)? The t1 column can also contain characters like 'GE10023', does this function work ok?
Hi all,
I have a table with the following content:
TABLEA
T1 | T2 | T3
123 1231243 GHAL
123 0003423 0001
123 3242342 0002
488 2342344 0001
456 3333444 0001
456 6526545 GHAL
I want to to order this table by T1 and T3, but the order of the T3 must be:
0001...
Hi all,
I have an application which communicates with MySAP 2005. I can query to get some information. Do you know where i can find the FI document number and the MM document number? I have the invoicenumber, suppliernumber, invoice date and company, can i find the FI document number and the MM...
Hi,
I hope this will be the last quesion for today. I have a table with streetnames and housenumbers. I want to update this column with only the streetname and put the housenumber in another column. The table which i have is look like:
TableA
street | supplement
My street 123 |
StreetABC 56...
Hi Dagon thanks for your reply. THe table is very huge. What if i have the following content:
XX_TABLEB
T1 USER_NAME
10% ZARGO
11% ZARGO
20% OTHER
53% ZARGO
8776% ZARGO
I want to build the where clause more flexible then INSTR(x.t1,y.t1) = 1, how to...
SantaMufasa thanks for your reply. My table is very huge, and in this example i can use WHERE INSTR(x.t1,y.t1) = 1 but in the live situation i would like to use the data in the table with the wilcards. Do you know another way to get the right result. To make it more difficult in my application i...
Dagon and Mufasa, thanks so many for your reply. Dagon you understand me correctly, the table literally contains '10%' and i want to use the percent sign as a wildcard. When i use your statement i will get the following error message:
ORA-01427: Single-row subquery returns more than one row...
Hi all,
SELECT * FROM XX_TABLEA WHERE T1 LIKE (SELECT T1 FROM XX_TABLEB WHERE USER_NAME = 'ZARGO')
The tables are look like:
XX_TABLEA
T1
1100023
1012132
2012121
And the other table:
XX_TABLEB
T1 USER_NAME
10% ZARGO
11% ZARGO
20% OTHER
I want to get these...
Hi,
I have a table like this:
tableA
ColumnA
NK232341234B01
111234556
JHJLKJKJLB01
SDFKSDJFLKASB01
How can i update these records to change the substr(columnA,-3,1) from B to 8 if this position has a B?
When the value is like NK232341234B01 it must be NK232341234801
Hope somebody can help...
Sorry i forget to add this. I have another table with the actual values:
Table3
columnA
A1
A7
A8
So i only will get these values in tableB:
TableB
ColumnA ColumnB
566677 A1
566677 A7
566677 A8
and so on...
Hi all,
I have a table with 3 columns
TableA
ColumnA ColumnFrom ColumnTo
566677 A1 A6
341334 TEST TEST
234333 000023 000150
I must put this information into another table with all values between ColumnFrom and ColumnTo
TableB
ColumnA ColumnB
566677 A1
566677 A2
566677 A3...
Hi,
Thanks AlexCuse, but it doesn't give the results. What i want to know is(it is an huge table) from that table all docsid's which has first a LINDEX 6007 and after this for the same docsid a LINDEX 1005. Docsid 112334 is an example. How can i find all the docsid's with the same criteria?
Hi all,
Does anybody know how i must create a query to get the following result:
TableA
DOCSID DATE LINDEX
112334 14-12-2006 20:18:00 6007
112334 14-12-2006 20:23:00 1023
112334 14-12-2006 20:54:00 1005
112334 14-12-2006 20:56:00 1058...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.