How to select number field starting with 99
Hi Freinds-
I have to pick values for a number field but i want only those values which starting with 99
how i can put code in select query for this ?
Regards
Meeta & Ruby
Hi,
Use the query as:-
select
<field1>
<field2>
from <database_table>
into table <internal_table>
where
<field_name> like '99%'.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Similar Messages
-
How to select rows which starts with
In the below example I want only the rows which starts with the word CERTIFICATE.
How do we do?
create table full_text(text clob);
insert all
into full_text values('CERTIFICATE OF SERVICE')
into full_text values('APPLICATION FOR CERTIFICATE')
into full_text values('CERTIFICATE OF LIABILITY')
into full_text values('CERTIFICATE OF TITLE')
SELECT * FROM DUAL ;
COMMIT;
CREATE INDEX CTX_INDX_TEXT ON full_text (TEXT) INDEXTYPE IS CTXSYS.CONTEXT;
SQL> select * from full_text where contains(text,'$CERTIFICATE')>0 ;
TEXT
CERTIFICATE OF TITLE
CERTIFICATE OF LIABILITY
APPLICATION FOR CERTIFICATE
CERTIFICATE OF SERVICE
The 3rd row show not appear.
ThanksI understand what Roger is saying. Since it is past his bedtime there in the UK and still sunny here in California, here is an example for you:
SCOTT@orcl_11g> create table full_text(text clob)
2 /
Table created.
SCOTT@orcl_11g> insert all
2 into full_text values('CERTIFICATE OF SERVICE')
3 into full_text values('APPLICATION FOR CERTIFICATE')
4 into full_text values('CERTIFICATE OF LIABILITY')
5 into full_text values('CERTIFICATE OF TITLE')
6 SELECT * FROM DUAL
7 /
4 rows created.
SCOTT@orcl_11g> CREATE OR REPLACE PROCEDURE your_proc
2 (p_rowid IN ROWID,
3 p_clob IN OUT NOCOPY CLOB)
4 AS
5 BEGIN
6 FOR r IN
7 (SELECT text
8 FROM full_text
9 WHERE ROWID = p_rowid)
10 LOOP
11 DBMS_LOB.WRITEAPPEND (p_clob, 8, 'XXSTART ');
12 DBMS_LOB.APPEND (p_clob, r.text);
13 DBMS_LOB.WRITEAPPEND (p_clob, 6, ' XXEND');
14 END LOOP;
15 END your_proc;
16 /
Procedure created.
SCOTT@orcl_11g> SHOW ERRORS
No errors.
SCOTT@orcl_11g> BEGIN
2 CTX_DDL.CREATE_PREFERENCE ('your_datastore', 'USER_DATASTORE');
3 CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'PROCEDURE', 'your_proc');
4 CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'OUTPUT_TYPE', 'CLOB');
5 END;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE INDEX CTX_INDX_TEXT ON full_text (TEXT) INDEXTYPE IS CTXSYS.CONTEXT
2 PARAMETERS ('DATASTORE your_datastore')
3 /
Index created.
SCOTT@orcl_11g> select * from full_text where contains(text,'XXSTART $CERTIFICATE')>0
2 /
TEXT
CERTIFICATE OF SERVICE
CERTIFICATE OF LIABILITY
CERTIFICATE OF TITLE
SCOTT@orcl_11g> -
Our benefit administrator keeps getting an error on adding a social security number that starts with a 9, that is a valid SSN for a spouse, How do we allow this to go through?
To attempt a new chat session...
For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
http://helpx.adobe.com/x-productkb/global/service1.html -
Can Check Number be start with zero?
Dear all,
I knew that check number on SBO is numeric but check number of my country some number can start with zero and it effected to check number printing form. So, I'm not sure whether we can set check number to be charactor or not. Or how to apply for this issue, pls. suggest.
Thanks you very much.
AngnamHi,
It is not possible to set check number as alphanumeric, you can use remarks field to enter check number or any other filed that you think is not required and can be used as check number.
it is not possible to add UDF in checks for payment . if you are using payment method checks tab, you can use UDF.
Thanks,
Neetu -
How can I make textedit start with a new (blank) document?
How can I make textedit start with a new (blank) document?
Instead of it starting up with a dialogue box to select an existing or start a new document.@Alley_Cat thanks for the ideas.
I turned off System Preferences > iCloud > Documents&Data - problem solved.
I'll use DropBox instead - it provides the options for a better experience. I hope Apple keep working on iCloud so that it doesn't go the way of Moble Me. -
How to return all columns starting with E?
How to return all columns starting with E in emp table?
My attempts (below) were unsuccessful.
SQL> SELECT E* from emp;
SELECT E* from emp
ERROR at line 1:
ORA-00936: missing expression
SQL> SELECT E.* FROM EMP;
SELECT E.* FROM EMP
ERROR at line 1:
ORA-00904: "E": invalid identifier
SQL> SELECT EMP.E* FROM EMP;
SELECT EMP.E* FROM EMP
ERROR at line 1:
ORA-00936: missing expressionYou need to do it dynamically:
SQL> var cur refcursor
SQL> declare
co varchar2(40);
begin
for c in (select column_name from cols where table_name = 'EMP' and column_name like 'E%') loop
co := co || c.column_name || ',';
end loop;
open :cur for 'select '|| rtrim(co,',') || ' from emp';
end;
PL/SQL procedure successfully completed.
SQL> print cur
EMPNO ENAME
7369 SMITH
7499 ALLEN
7521 WARD
7566 JONES
7654 MARTIN
7698 BLAKE
7782 CLARK
7788 SCOTT
7839 KING
7844 TURNER
7876 ADAMS
7900 JAMES
7902 FORD
7934 MILLER
14 rows selected. -
Problem with MAIL, when select names that start with "E" the mail freeze. Can't fix it.
Now I checked the materials that I got from AT&T Yahoo and
port 25 is used as the outgoing mail port, 110 for incoming.
This is for the POP type account provided by AT&T, not necessarily for an email account and SMTP server not provided by AT&T.
Sounds like AT&T blocks using an SMTP server that is outside of their network or not provided by AT&T on Port 25.
Try the following first.
Go to Mail > Preferences > Accounts and under the Account Information tab for your .Mac account preferences at the SMTP server selection, select the Server Settings button below for the .Mac SMTP server.
Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
If this doesn't work, we will go to plan B. -
Dialing a number that starts with "#".
Does anyone know how you dial a number that starts with a "#" symbol?
You can often call some places such as radio stations from your cell by just dialing # and then 4 digits - ie. #4567
Thanks...Tommy
Solved!
Go to Solution.during the phone call,
if you want to type : #4567 you have to type the keys QSDFZ (as if the SYM key was locked)
if you want to type : A4567 you have to type the keys Alt-Q SDFZ (as if the SYM key was locked)
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
Trying to install Elements 13 and it asks for a serial number. The instructions say the number should start with 1057 but there is no code on the disks, box or envelopes the disks came in that start with 1057. I cannot activate the software without this code and it is a Christmas gift to my wife. HELP!
I had this problem. There are actually two boxes. The outside one with the photos and stuff and glued into it is another box containing the disks. That box has the serial number. Adobe was NO help with this as if no one else ever could not find it. I had to rip open the outer box.
-
Australian phone number that starts with 07 54** *...
Is it possible to get an australian phone number that starts with 07 54** ****?profile.language=en
Hi,
I am facing the same issue - has anyone got a resolution to this?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^(\*7\d{2})
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^01[1-9]\d{7,8}\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^02[03489]\d{8}\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^03[0347]\d{8}\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^05[56]\d{8}\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^08((4[2-5]\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^070\d{7}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^0(45464\d))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^(00)?((1[2-9]\d\d[2-9]\d{6})
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^([2-9]\d{6,14}))(\D+\d+)?
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^1([\*\#][\*\#\d]*\#
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^([\*\#][\*\#\d]*\#
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^([\*\#][\*\#\d]*\#
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^([\*\#][\*\#\d]*\#
0319134958|utilm|4|00|Failed to Convert MicroSoft Dial plan: ^([\*\#][\*\#\d]*\#
0319134958|utilm|4|00|Failed to Convert all the MicroSoft(Lync) Dial plans
thanks
jack -
Selected NUmber doesnot agree with transfer N
Hi GUrus,
When I am trying to load data from R/3 to 0PM_C01.I got a below status in RSMO
In processing Tab :
Transfer shows yellow - Idoc throws missing messages
Extract shows yellow - Some of the package shows the error like Selected NUmber doesnot agree with transfer N
Processing shows Green Status.All infopackages shows green status.(Even yellow status infopackage also)
In status Tab:
Overall status and technical status shows yellow.The job was triggered yesterday, but still it is running.
Total Tranfer record is less than Added recorf(I have checked in the update rule and transfer rule ther is no any routine)
In mange tab of data target the request shows the red tatus.
Kindly anticipate your reply
With regards
SivaHi,
Check the IDocs status in BI and source system in BD87 T-code.
If they are in red process manually.Also check in SM58 for TID error and process the LUWs manually.
Hope this helps.
Rgs,
I.R.K -
Select fom table for all entries where field starts with value
Hello
I want to write a select like this
select * from bsis
into lt_bsis
for all entries in lt_itab
where xblnr like lt_itab-belnr%
I want to select all the entries from bsis where the field xblnr starts with the values found in lt_itab-belnr.
for example
ls_itab-belnr = 5100000028
bsis-xblnr = 510000002810001
510000002810002
510000002810003
520000002810001
and i want to select only the entries that start with 5100000028 in this case
Can anybody help?
ThanksHi,
I hope below example code will help you to fix your issue,
REPORT ytest.
TYPES : BEGIN OF ty_typ1,
val TYPE i,
END OF ty_typ1.
TYPES : BEGIN OF ty_typ2,
val1 TYPE hrobjid,
val2 TYPE hrobjid,
END OF ty_typ2.
DATA : int_typ1 TYPE TABLE OF ty_typ1,
int_typ2 TYPE TABLE OF ty_typ2,
wa_typ1 TYPE ty_typ1,
wa_typ2 TYPE ty_typ2,
int_1001 TYPE TABLE OF hrp1001,
wa_1001 TYPE hrp1001.
REFRESH : int_typ1, int_typ2, int_1001.
CLEAR : wa_typ1, wa_typ2, wa_1001.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500002.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500003.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
SORT int_typ1 ASCENDING BY val.
DELETE ADJACENT DUPLICATES FROM int_typ1 COMPARING val.
LOOP AT int_typ1 INTO wa_typ1.
wa_typ2-val1 = ( wa_typ1-val * 100 ) + 1.
wa_typ2-val2 = wa_typ2-val1 + 98.
APPEND wa_typ2 TO int_typ2.
CLEAR : wa_typ1, wa_typ2.
ENDLOOP.
SELECT * FROM hrp1001 INTO TABLE int_1001
FOR ALL ENTRIES IN int_typ2 WHERE
plvar EQ '01' AND
otype EQ 'S' AND
sclas EQ 'O' AND
begda LE sy-datum AND
endda GE sy-datum AND
objid GE int_typ2-val1 AND
objid LE int_typ2-val2.
LOOP AT int_1001 INTO wa_1001.
WRITE : / wa_1001-objid.
ENDLOOP.
Thanks & Regards,
Harish Kumar N -
HP Officejet 8600 scan - How to force scan number sequence starting with a number of my choice
Using HP Officejet 86XX on WIn7 - with ADF.
I scan a lot of docs via the ADF and all docs scanned has a number in sequence noted at the documents.
Is there any way to decide which number the HP scan software shall start its numbered sequence? Eg. prefix "Document-" and then force the sequence-number to start at 00200, on order for the next file sequence number to be 00201 and then 00202 and so on??Hi , I may be able to help you with your scan settings, but I want to make sure I understand what you are trying to accomplish - so let me know if this isn't what you are looking for. Click on the HP Printer Assistant icon on your desktop (It will look like your printer, and be labeled to match)In the HP Printer Assistant click on Scan a Document or PhotoChoose the shortcut you are selecting on the front panel of the printer (ie Save as PDF)Click on Advanced Settings You can modify your scanner settings, I believe you want to change the settings on the Destination tab.Base File Name: First part of the file name, so in your example "Document-", the scanner will automatically number it after each scan.. eg. Document-0001 will be your first scan, Document-0002, will be the second.Save Location: You can even setup a new folder for the scans After you change the settings, try the scan from the front panel of your printer. Please let me know if these steps resolved your issue, or if there is anything else I can do to help. I look forward to hearing from you! Thanks,
-
How to have a sequence start with specific number in mapping
Hi,
I can not find a way in the mapping to specify the "start with" attribute for sequence. Currently I have to execute this from sqlplus; select max(id) from tableA, then create sequence start with max(id)+1. I would like to integrate this step into owb. I'm using 9ir2. Thanks.You can do this from a stored procedure that you invoke from your pre-mapping trigger:
- Scan the source and get the max_id
- execute immediate 'drop sequence; create sequence ... start with '||max_id+1
Etc.
Good luck, Erik Ykema -
How to select and field from an table with similar value
Hi Gurus,
I got an requirement where i need to capture some values from an table whose value start with "vmr*"
could anyone tell me the syntax to be used with this?
My table contains valies like "lrt", "vmr'" nut i need only values starting with "vmr"*
RaviHi,
In where clause, you can write,
where field like 'vmr%'.
Hope this helps.
Reward if helpful.
Regards,
Sipra
Maybe you are looking for
-
Need help in migrating MSSQL 2008 database to Oracle 11g
Hi everyone, So, as stated above I want to migrate our apps database from mssql to oracle as it is what the client wants.. I have absolutely no experience working with Oracle. My computer is running windows 7 32 bit, our DB people installed a 9i clie
-
Fastest way to convert flv videos to a compatible ...
Hi. Which is the fastest way to convert flv videos to a compatible format for the E71?
-
PS cc Output module not loading
i have downloaded it twice and still isn't working can anyone advise?
-
HT4498 when i change ios to ios7 i get this error 4013 what can i do ?
when i change ios to ios7 i get this error 4013 what can i do ?
-
Just been notified I've got 7 app updates in iTunes. When I click to Download All Free Updates and enter my password it says:- 'Could Not Purchase "". An unknown error occurred (3027). There was an error in the iTunes Store. Please try again later. I