Getting all VARCHAR fields with string length different then x
Hello,
I am trying to get from a table all the rows which contain in a certain varchar field a string length different than x (5 i.e.):
varchar field
treds
fd <-
grgrt
sdfsdfsdf <-
fdsds
the marked rows will been given out.
Thanks!
Term, the Oracle SQL manual contains documentation on the Oracle functions. Most of the functions can be classified as either character functions, number (math) functions, date functions, and conversion functions.
If you are going to work with Oracle you will benefit from looking on the list of available functions to become familiar with what is available.
HTH -- Mark D Powell --
Similar Messages
-
How can I get all users associated with my VSO
I see here: https://www.visualstudio.com/en-us/integrate/api/shared/profiles that I can get my profile info from the API, but can I get all users associated with an account?
Hello!
If you want to see all of that in a single mailbox, you can create a Smart Mailbox from the "file" menu in the top left corner of your screen. It's a bit of trial and error before you get the rules correct, perhaps, but that will work. -
Get all the field's value of addressbook entry using c++ api
How can i get all the field values of address book entry in groupwise using c++ api.
You should be able to do that via the Token API. There is an AddressBookGetEntry method. You could createsome sort of AddressbookEntry class that fetches (via iteration over the defined ABFields) all the innformation.
-
When restoring my backup from my old iphone via my computer to my new iphone, it gets all the way through the restore and then at the end it says there was an error and doesn't restore. Doesn't say what error.
Make sure you have the Latest Version of iTunes (v11) Installed on your computer
iTunes free download from www.itunes.com/download
Also... See Here > Configure security software -
Hi
How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
var a ="Not Applicable"
if (this.getField("Do").value == "Yes")
a=""
if (this.getField("DoNot").value =="Yes")
a=a + ""
event.value=a
say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
thanks for any help I am new to javascriptAre these fields mutually exclusive?
-
How to use a regural expression to get all digit from a string.
Hi All,
Do you know how to use regural expression to get all digits from the following string via ABAP program?
"'Log Attributes 0 ( 0 ) ( 10 % Available )"
Thanks,
AndrewHi,
Try the code mentioned below:
DATA: STR_LEN LIKE SY-FDPOS,
RSTR_LEN LIKE SY-FDPOS,
OFF LIKE SY-FDPOS.
DATA: IDX LIKE SY-FDPOS, "mn B20K054003
CL LIKE SY-FDPOS. "mn B20K054003
DATA: RSTRING(40).
DATA: STRING(40). " value 'A,N,I,L'.
FIELD-SYMBOLS: <NLS_CHAR>. "mn B20K054003
MOVE I_REGUH-ZNME1 TO STRING.
MOVE SPACE TO RSTRING.
STR_LEN = STRLEN( STRING ).
DESCRIBE FIELD RSTRING LENGTH RSTR_LEN.
IF RSTR_LEN < STR_LEN. RAISE TOO_SMALL. ENDIF.
WHILE IDX < STR_LEN. "mn B20K054003
ASSIGN STRING+IDX(*) TO <NLS_CHAR>. "mn B20K054003
IF SY-LANGU EQ '2'. "mn B20K054003
CALL FUNCTION 'NLS_THAI_CHARLEN' "mn B20K054003
EXPORTING "mn B20K054003
THAI_STRING = <NLS_CHAR> "mn B20K054003
CHANGING "mn B20K054003
THAI_CHARLEN = CL. "mn B20K054003
ELSE. "mn B20K054003
CL = CHARLEN( <NLS_CHAR> ). "mn B20K054003
ENDIF. "mn B20K054003
IF IDX NE 0. "mn B20K054003
SHIFT RSTRING RIGHT BY CL PLACES."mn B20K054003
ENDIF. "mn B20K054003
RSTRING+0(CL) = STRING+IDX(CL). "mn B20K054003
IDX = IDX + CL. "mn B20K054003
ENDWHILE. "mn B20K054003
Regds,
Anil
Edited by: Matt on Jul 1, 2009 9:36 AM -added code tags -
Using "Update All Mapped Fields" with multi-value attributes
Is it possible to update a value in a multi-value attribute through the import manager? It appears that if a source value is different then it just gets added as another value to the record.
For example, a product has an attribute of speed which is measured in revolutions/minute. Some products can be rated at two speeds (i.e. 1800/3600).
I created a numeric attribute for speed and enable only nominal rating and selected multi-valued.
In import manager, I set "/" as multi delimiter for source field. This created two entries in destination attribute, 1800 and 3600.
However, if on subsequent imports the speed values changes for this record (i.e. 1200 and 1800) then I will now have 1200, 1800, and 3600 as values for this record.
Would the proper solution be to create two individual numeric attributes that are single valued (i.e. Speed1 and Speed2)?Hi Aaron,
in your example it would make sense to use two different attributes called "Speed1" and "Speed2". Using the multi value option, MDM allows you to store a list of values into a single field. This list is more or less unlimited, you can add as many values as you like. A change of an existing value is not possible. The reason is that Import Manager does not know, which value you've changed! So it simply adds the "new" record (which is the 1200 in your example) to your value list. This is the intended behaviour of the "update all mapped fields option". If you really want to replace the values, you can check if the "Replace" option is useable for you. But note, that the replace will replace the complete existing record with the incoming new one. This means if the product you want to import with the replace option is smaller than the existing one (maybe it does not contain values for all segments), you'll loose data in MDM.
BR Michael -
How to get the search field with API UCM for a specific UCM Profil
We have UCM 10g
For the checkIn we have for exemple the URL : http://xp-ucm1.oth.prs/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=1&dpDisplayLabel=Codification%201&IsSoap=1
To obtain all the field for the checkIn is very simple with this service(IdcService=CHECKIN_NEW_FORM) and RIDC, but for search we don't find the idc service ?
<SOAP-ENV:Envelope>
−
<SOAP-ENV:Body>
−
<idc:service IdcService="CHECKIN_NEW_FORM">
−
<idc:document dRevLabel="1" dUser="sysadmin" dDocName="" dDocTitle="">
<idc:field name="xClbraUserList:isExcluded">1</idc:field>
<idc:field name="xsgti_top_rule:isSetDefault">1</idc:field>
<idc:field name="xlist1:isExcluded">1</idc:field>
<idc:field name="xsgti_g_ll_niv1_1:isExcluded">1</idc:field>
<idc:field name="xsgti_chrono_soc"/>
<idc:field name="xsgti_g_entier4:isExcluded">1</idc:field>
any ideasHi,
In fact, I don't want to send parameters to the search service but to get the fields to display an advanced search form of my own.
Some rules and profiles filters the amount of fields availables and having a service that can do this filtering for me would be very useful.
The check-in service do this for a trigger value (profile), but I can't find how UCM uses services to display the search form with the right fields depending on the rules and rights of the user.
When I call a search form, UCM calls a service : http://xxx.xxx.xxx.xxx:xx/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=xxx&dpDisplayLabel=xxx
But with &IsSoap=1, the values returned are not good, some fields are missing, the field captions are not right... I guess UCM calls sub-services but which ones ?
Thanks :) -
hi,
I HAVE A TABLE IN WHICH ONE FIELD SAY F1 IS OF TYPE STRING
I HAVE CREATED AN ALV REPORT IN WHICH THIS FIELD F1 IS editable
when i press save button it ads the new row in the database
the Problem lies here is that the output length is viewed only to lenght of 15 infact outlen of fieldcatalog is set to 30
and i could only ad 30 character at max infact of being a type string
how can i add data in the table through alv with lenght more than 256 characters(1) How do you build the transparent table with type string field. This type is not allowed in transparent table.
Do you mean CHAR (til 255) or LCHR type (<a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf">BC - ABAP Dictionary</a>)
<i><b>STRING</b>: Character string with variable length This type can only be used in types (data
elements, structures, table types) and domains. It cannot be used in database tables. In ABAP, this type is implemented as a reference to a storage area of variable size.
<b>CHAR</b>: Character string. Fields of type CHAR may have a maximum length of only 255 in tables. If longer character fields are to be used in tables, you must choose data type LCHR. There are no restrictions on the length of such fields in structures.
<b>LCHR</b>: Character string of any length, but with a minimum of 256 characters. Fields of this type must be located at the end of transparent tables and must be preceded by a length field of type INT2. If there is an INSERT or UPDATE in ABAP programs, this length field must be filled with the length actually required. A fields of this type cannot be used in the WHERE condition of a SELECT statement.</i>
(2) Use of long text (in fact that's your need ?) in ALV
<i>1. Declare the internal and the external length of the field to the ALV Grid Control.
For fields with DDIC reference, the ALV Grid Control automatically uses the internal and the external length.
For fields without DDIC reference, you must specify the internal length using field INTLEN and the external length using field DD_OUTLEN of the field catalog (see Parameters for Fields Without DDIC Reference).
2. Specify the conversion exit using field EDIT_MASK of the field catalog (see Formatting Column Contents).
3. Pass the field catalog with method</i>
If you really need long text, you may declare an output length of say 80 in the ALV grid, and provide an icon to edit a very-long text (via a popup screen with a container and a use of class cl_gui_textedit for example)
Regards -
How to get all partner guids with a specific marketing attribute value?
Hello,
is there a method or function module in Standard which i could use in my own coding to get all partners (guids or number) with a specifiic marketing attribute and a specific value of this attribute?
Thank you
Best regards
ManfredHi,
Use the FM: CRM_MKTBP_READ_BP_SEL_ATTR
pass the input parameter in IS_CHARVALUE in the field SEL_ATTR as the attribute name.
Output will be displayed in the table ET_PARTNER_VALUES as partner guid's
Regards,
PP -
Not getting all the fields of MARA by using DDIF_NAMETAB_GET
Hi,
Please to solve the below issue.
I am using the DDIF_NAMETAB_GET FM and trying to all the fields of MARA tabel but i getting only 27 records ie. 27 fields. when i look at DD03L i can 220 records but i am not sure why the output only shows 27records.
Any help is really appreciated.HI,
Chek cthis ..
Function module DDIF_NAMETAB_GET
Import parameters Value
TABNAME MARA
ALL_TYPES
LFIELDNAME
GROUP_NAMES X
UCLEN 00
Export parameters Value
X030L_WA MARA
DTELINFO_WA 00000000000000000000000000000000
TTYPINFO_WA 00000000000000000000000000000000
DDOBJTYPE TRANSP
DFIES_WA 0000000000
LINES_DESCR 22 Entries
Tables Value
X031L_TAB 0 Entries
Result: 231 Entries
DFIES_TAB 0 Entries
Result: 230 Entries -
How to get all signature fields in a .pdf from C#
Does anyone have some sample code that shows how to "iterate" all signatures in a .pdf from C#? Using the SDK and the Javascipt object model I know how to sign a document but I can't figure out how to "get all the signatures". Basically I want to open a .pdf file and then (from C#) find out what persons currently have signed the document. I guess I need to iterate all signature fields and then get the SignatureInfo object, or?
Anyone?
Cheers,
CalleI am afraid this don't help me. How do I get the "data" back to C#? Looping all fields in in JavaScript is probably "easy" but I simply can't figure out how to get access to the data from C#. Any one have a suggestion on the best approach?
Thx,
CJ -
Setting VarChar Variable with String Parameter in Crystal Report Add Command
Setting a VarChar Variable with a String Parameter in a Crystal Report 2008 SP6.3 Add Command is causing an error with a SQL State of 42000. The Error Code depends on which value I select for the parameter. I created the @DateOpt string parameter in the Modify Command window, not in the report. If I comment out line 14 of the SQL the error does not occur.
I have attached the SQL Code and screen shots of the errors. Please tell me what I am doing wrong.Since your parameter is of type STRING, you need to enclose references to it within the Command inside single quotes.
For example, instead of
SET @BeginDate ={?BeginDate}
use
SET @BeginDate ='{?BeginDate}'
hth,
- ido -
BAPI to get all user lists with access rights to particular objects
Hi Experts,
Is there any BAPI to get all input related user lists for input specific object, authorizations, profiles and values?
Thanks,
RohanHello,
BAPI_USER_DISPLAY Display users
BAPI_USER_GET_DETAIL Read User Details
Vasanth -
Java 1.5 get all the resources with dialogs and xp die
Hi installed java 1.5 and get all the windows xp memory resources when try to open some dialogs in netbeans 4.0 and dbvisualizer...
i had to uninstall it to keep working
any idea?
Ty
Brunomore memory
Maybe you are looking for
-
Cannot create new events in iCal - they dissappeaar after quitting
Hello there, I've used iCal for many years with no problem. Recently I noticed that events were dissappearing. I can add events and use iCal as normal as long as I don't quit the program or restart my computer. I can put the computer to sleep and all
-
Ok, I searched the forums in vain and tried every single thing. At work I have a fresh XP Pro over a dual core, but didn't have the cable so I just plugged an USB Bluetooth dongle and then popped PC Suite over. Worked like a charm. At home, however,
-
How to create context break in adavanced java function
I have an array with result list. I'm using result.addValue to collect my result. ex: 00001 213243 00001 214445 00003 324543 00004 456767 I want to introduce (context) split based on another logic and be able see this result which has context break b
-
IPhoto calendar ordering problems
Hi all, I have been having serious problems ordering an iPhoto calendar. First, I ordered it on Monday using express shipping, such that it should have arrived by Friday, and instead on Friday I got a cryptic email saying "Apple is unable to process
-
Faster wi-fi freezes laptop?
I recently upgraded my internet to fibre broadband, going from roughly 2 Mbps to 25 Mbps. Whenever my MacBook Pro is connected to the new internet it freezes after 30 seconds and won't let me open or close programs. The MacBook is only just over thre