Count the continous digit

I have a value as mention below, my requirement is I just want to select those rows where the length of continuous numbers is between 12 to 19 in a string
than means numbers should not be interrupted by any character or special character etc. If only numbers are in continuous then only they should
come as output. I did tried the below mentioned query but here it count the all the numbers present in the string irrespective of whatever position
they are present which I do not want. And also in output it print the length of the continuous digit and the actual values of the continuous digit
I am using oracle 10 g
WITH T AS (
select 'CVIUSD00.00/1234567891097193T/1115/N194940*34739292' str from dual
UNION ALL SELECT 'CCDC123456789109719/0213/A001781' FROM DUAL
UNION ALL SELECT 'C AAA 1234567891234567' FROM DUAL
UNION ALL SELECT 'C OAX 378292999991000' FROM DUAL
UNION ALL SELECT 'MAUIIIIIIIIIINNNNNNNNNNNNNB' FROM DUAL
UNION ALL SELECT 'M O' FROM DUAL
UNION ALL SELECT 'CCVI/1234567891097193D0613/N0000' FROM DUAL
UNION ALL SELECT 'CCVI/1234561234567193D0613/N0000' FROM DUAL
UNION ALL SELECT 'NONREF-YW12345' FROM DUAL
UNION ALL SELECT 'EXT000380801812' FROM DUAL
UNION ALL SELECT 'AX375101123451002/1219/N9999' FROM DUAL
UNION ALL SELECT 'VI4243731234568479/1112*CVA/A411819' FROM DUAL
UNION ALL SELECT 'DC36148812343015/0413/A000743' FROM DUAL
UNION ALL SELECT 'O/CCCA1234567891026547/1215/N1111' FROM DUAL
UNION ALL SELECT 'TP122093123451067/0213/N1111' FROM DUAL
UNION ALL SELECT 'O/CCVI+/VI4925561234569699/1013*CVA/A033292' FROM DUAL
UNION ALL SELECT 'O/EXT+/EXT369395514' FROM DUAL
UNION ALL SELECT 'TV7160BT136726OCTDB' FROM DUAL
UNION ALL SELECT 'FFYCD909255325' FROM DUAL
UNION ALL SELECT 'PP 532453' FROM DUAL
SELECT
STR , REGEXP_REPLACE( STR, '[0-9]', NULL ) AS INTERMEDIATE_STRING ,
NVL( LENGTH( REGEXP_REPLACE( STR, '[0-9]', NULL ) ), 0 ) AS PATTERN_COUNT ,
ABS(NVL( LENGTH( REGEXP_REPLACE( str, '[0-9]', NULL ) ), 0 ) - LENGTH (str))
from
t
;

dbuser wrote:
I would also like to have the value of those continuous digits in my output and just replace except first 6 and last 4 digits with X
WITH T AS (
select 'CVIUSD00.00/1234567891097193T/1115/N194940*34739292' str from dual
UNION ALL SELECT 'CCDC123456789109719/0213/A001781' FROM DUAL
UNION ALL SELECT 'C AAA 1234567891234567' FROM DUAL
UNION ALL SELECT 'C OAX 378292999991000' FROM DUAL
UNION ALL SELECT 'MAUIIIIIIIIIINNNNNNNNNNNNNB' FROM DUAL
UNION ALL SELECT 'M O' FROM DUAL
UNION ALL SELECT 'CCVI/1234567891097193D0613/N0000' FROM DUAL
UNION ALL SELECT 'CCVI/1234561234567193D0613/N0000' FROM DUAL
UNION ALL SELECT 'NONREF-YW12345' FROM DUAL
UNION ALL SELECT 'EXT000380801812' FROM DUAL
UNION ALL SELECT 'AX375101123451002/1219/N9999' FROM DUAL
UNION ALL SELECT 'VI4243731234568479/1112*CVA/A411819' FROM DUAL
UNION ALL SELECT 'DC36148812343015/0413/A000743' FROM DUAL
UNION ALL SELECT 'O/CCCA1234567891026547/1215/N1111' FROM DUAL
UNION ALL SELECT 'TP122093123451067/0213/N1111' FROM DUAL
UNION ALL SELECT 'O/CCVI+/VI4925561234569699/1013*CVA/A033292' FROM DUAL
UNION ALL SELECT 'O/EXT+/EXT369395514' FROM DUAL
UNION ALL SELECT 'TV7160BT136726OCTDB' FROM DUAL
UNION ALL SELECT 'FFYCD909255325' FROM DUAL
UNION ALL SELECT 'PP 532453' FROM DUAL)
select str original,regexp_replace(str,'\d{6}(\d{2,9})\d{4}','XXXXXX\1XXXX') new from t
where regexp_like(str,'\d{12,19}')
ORIGINAL                                            NEW
CVIUSD00.00/1234567891097193T/1115/N194940*34739292 CVIUSD00.00/XXXXXX789109XXXXT/1115/N194940*34739292
CCDC123456789109719/0213/A001781                    CCDCXXXXXX78910XXXX/0213/A001781
C AAA 1234567891234567                              C AAA XXXXXX789123XXXX
C OAX 378292999991000                               C OAX XXXXXX99999XXXX
CCVI/1234567891097193D0613/N0000                    CCVI/XXXXXX789109XXXXD0613/N0000
CCVI/1234561234567193D0613/N0000                    CCVI/XXXXXX123456XXXXD0613/N0000
EXT000380801812                                     EXTXXXXXX80XXXX
AX375101123451002/1219/N9999                        AXXXXXXX12345XXXX/1219/N9999
VI4243731234568479/1112*CVA/A411819                 VIXXXXXX123456XXXX/1112*CVA/A411819
DC36148812343015/0413/A000743                       DCXXXXXX1234XXXX/0413/A000743
O/CCCA1234567891026547/1215/N1111                   O/CCCAXXXXXX789102XXXX/1215/N1111
ORIGINAL                                            NEW
TP122093123451067/0213/N1111                        TPXXXXXX12345XXXX/0213/N1111
O/CCVI+/VI4925561234569699/1013*CVA/A033292         O/CCVI+/VIXXXXXX123456XXXX/1013*CVA/A033292
13 rows selected.
SQL> SY.

Similar Messages

  • Counting the number of digits in a field

    Hello friends,
    does anyone know of any function module by which we can count the number of digits in a field.
    Say i have a priority field which is numc2, and the the user fills in a 5 digit number in it, i was to calculate this and raise an error if the number of digits is more than 2.
    Thanks in advance.
    charu.

    data : text(10),
          len type i.
    text = <your variable which user is passing>
    len = strlen( text ).
    if len gt 2.
    message 'Length incresed' type 'E'.
    endif.
    regards
    shiba dutta

  • Can i count the number of Mondays in a specific month with a formula?

    Hi
    I am looking for a streamlined way of calculating an amount to invoice for a job that I am paid for weekly, but for which I invoice monthly, meaning that I am invoicing different amounts each month, depending on how many Mondays fall in a given month (i.e. 4 or 5).
    So I am wondering if there is a function I can use to calculate the number of Mondays in a given month automatically and then I can use this value to multiply by my weekly charge to calculate the amount to invoice each month.
    Thanks
    Nick

    Responses below apply to my earlier post.
    nick_harambee wrote:
    1. What part of the formula do I need to change to do the same for other days of the week, and for other years?
    No change for other years, as the full date is entered.
    I haven't looked at changes necessary to the version above to show results for other days. See below for a new table that does all days.
    2. Would it be possible to construct one table with the calendar for a whole year, which would generate a count for each day of the week, which I could then use as and when needed? Or would it make more sense to construct a separate table for each day of the week (as I am referring to in question 1)?
    Depends what information you need.
    If you need the count for only one week day, then a table showing only the count for that day of week will avoid having to search it out.
    If you need the number of occurrences of each weekday in each month, then a table showing those, with or without an attached calendar, is in order.
    Here's one that shows the count of each weekday for each month. It uses two formulas, derived from the earlier posts by Yvan and Jerry:
    B1: =DATE($A,COLUMN()-1,1)
    B2: =IF(AND(DAY(EOMONTH(B$1,0))>28,MOD(WEEKDAY(EOMONTH(B$1,0))+7-(ROW()-1),7)<(DAY( EOMONTH(B$1,0))-28)),5,4)
    The formula in B1 is filled right to M1, and the cells are formatted to show only the Month and Year. Note that the cells actually contain Date and Time values, which are used in the second formula's calculations.
    The formula in B2 is filled right to M2 and Down to M8.
    Day names in column A are entered directly and are not used in the calculations.
    The 4 digit year number is entered directly in A1. Change this number to change the year.
    <img src="http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countw eekdaysinMonth.png" border="0" alt="Count of weekdays in month(s)">
    Conditional formatting is used to fill cells whose value is equal to 5 with a yellow background.
    Regards,
    Barry
    Edit:
    Direct address to image for use if not showing above.
    http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countweekday sinMonth.png
    Message was edited by: Barry

  • Counting the number of occurences in a table column

    Hi All
    I have a table with a column that contains approx. 5000 6-digit codes. A number of these codes are duplicted in the column, and I want to count the number of occurences of each code. The column looks a bit like -
    WCID
    940042
    920012
    940652
    940199
    188949
    155146
    155196
    174196
    152148
    151281
    196209
    174015
    182163
    195465
    195318
    182008
    189589
    150675
    There can be mulitple instances of each WCID and I need to count the number of instances of each. I also have access to another table that also has a column of each WCID, but only once - ie no multiple instances. The second table is identical except that there are only single instances of each WCID.
    I thought I could either loop through on the table to be counted, from 100000 to 999999 and count each occurence that way, but it would be very inefficient. The other way I thought would be to perhaps select a WCID from the unique table, count the occurence of that, select the next WCID from the unique table, count that and so on, however I'm not sure how to do it in PL/SQL. Perhaps select the WCID from the unique table into a cursor, loop through that and compare it with the original table and count the instances?
    I hope this makes some sense, any help would be really appreciated
    Thanks
    Bill

    Hi, Bill,
    That sounds like a job for GROUP BY:
    SELECT    wcid
    ,         COUNT (*)       AS num_found
    FROM      table_x
    GROUP BY  wcid
    ORDER BY  wcid
    I hope that answers your question.
    If not, post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that data.

  • How to use PCI-6534 High speed DIO to count the no.of pulses aquired

    HI All
    I have PCI-6534 high speed DIO card. My requirement is to count the no.of pulses coming. Here i have an energy meter which generates pulses with frequency of around 8MHz. i need to cunt the no. of pulses coming in, here i am attaching the VI i am using. I could not really count all pulses coming in. right now i am using single line, but the requirement is to develop for 7 lines. I do not know where i am going wrong. Can any of you help me in this regards.
    Thanks
    Anil Punnam
    Attachments:
    Read Dig Chan-Change Detection_stop.vi ‏120 KB

    Sorry, not near a LV PC so can't look at your vi now.  Are you limited to using only the 6534?  If all you need to know is the count of pulses from each of the 7 ~8MHz sources, it seems like the amount of data storage required with a 6534 is terribly inefficient.  Since the 7 sources are unlikely to be synchronized in any way and they are each at ~8MHz, you're looking at about 100+ million transitions per second with change detection.  I don't think the hw can keep up with that.  Even using a constant sampling rate of 20 MHz (which just barely satisfies the Nyquist minimum of 2x 8MHz), it's questionable whether you can keep up with that rate for several minutes.  Even supposing the hw and your PCI bus and software can keep up, there's still a TON of processing to do.  20 MB/sec for 20 minutes = 24 GB! 
    On the other hand, consider the 6602 counter timer board.  Here you would simply set up 7 edge counting tasks, probably without any buffering at all.  At any leisurely pace you want, you can software query the counts of the # of pulses on each of the 7 channels and have an instant answer.  The only issue to deal with is that the counts will rollover when you reach 2**32.  At 8 MHz, this will happen about every 9 minutes.  However, DAQmx provides a nice way to handle this.  There's a property you can query that will tell you if a rollover has occurred.  It automatically resets itself to False after you read it so it's ready to detect the next rollover 9 minutes later.  See my first post in this thread for example.  (Last I knew, only DAQmx does the automatic reset, not traditional NI-DAQ).
    If you can possibly buy a 6602, I'd highly recommend it.
    -Kevin P.

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • Did I make a mistake upgrading to ML?  Count the costs!

    Talk about your string of circumstances.  All I really needed was to eliminate hum from the soundtrack of an oral-history video recording.  The simplest solution seemed to be to update iMovie.  I was using '09, which has virtually no capability to edit audio.
    Well, when I tried to download iMovie '11 I learned that it would not work with Snow Leopard.  Since I'd been considering upgrading for some time (but NOT read any fine print), I back-tracked and downloaded Mountain Lion.  Then I downloaded and installed iMovie '11.
    THEN, I noticed thosse funny marks in my dock.  When I tried these icons I got the dreaded message "You can't open the application [AppName] because PowerPC applications are no longer supported."
    Apps effected: Adobe CS2; Adobe Bridge; Microsoft Office (2004); Epson Scan.
    This was brand-new news to me.  I have tried to find out what if anything I can do about the loss of these apps (everyone of them legally-purchased items), and apparently I'm just without alternatives.  Current version of CS6, about $600.  Cheapest MS Office, $80.  This is a BAD TRADE for a $20 OS upgrade!
    And Epson Scan?  There's one for the books.  Epson sends me to the Apple Store, saying that is the only place to get an upgrade.  Apple Store sees no problems, and informs me that there are no upgrades available or needed.  System Preferences/Print & Scan sees the scanner, so that's not the problem.
    About the internal optical drive:  Before the OSX upgrade, the drive was working nominally.  I know, because I burned a number of disks within the last week or two.  Now?  The drive appears to recognize music CDs, but it WILL NOT recognize blank disk media.  I have tried both Toast Titanium 7 (most recent) and since that wouldn't work I tried OSX's native disk burning function.  In neither case will the drive admit that it has a blank disk inserted.  I just ruminates for 15-20 seconds and spits the disk out.
    I also have an older Plextor external optical drive.  But Apple Support itself gives completely mixed counsel regarding whether or not Mountain Lion can be used with an external optical drive.  One place says it will work; another place tells you to use a networked computer's optical drive (!); many other places say an external drive won't work at all.  Hey Apple, make up your mind!
    Now, I'm sure somewhere in fine legal print they informed me that PowerPC apps would no longer work with ML.  But that information was well-hidden, and did not surface in any professional reviews I read.  So these behaviors were a complete surprise to me, and not the pleasant sort.
    Needless to say, I'm left feeling really ill-used by Apple.  Sure, I've got an up-to-date operating system, but now I'm left counting the costs.  And so should you.  The technically-oriented in this community will perhaps sneer at my naivete.  But you need to recognize that not all Apple clients are technically up to your standards.  Give us a break!!  [I myself have been using PCs intensively since the second-generation IBM PC in the late 1970's.]
    I'm ticked.  In case it's not obvious.  And feeling let down by Apple.  And I've been a cheer-leader for them for many years.

    I feel your pain!  This happened to me with I replaced my dead iMac G5 with a new Mac Mini in August, 2011 and did not do my usual due diligence on Lion!
    Try Apple's Image Capture application, provided for free in the Applications folder with your Epson.  I use it all the time for my Epson Artisan 810.
    Toast 7 is way too old; I think they are up to 11 or 12 now.  But you should be able to burn discs from the Finder in any event.
    Which iMac do you have; check the Model Identifier in About this Mac, More Info, System Report.
    Since my Mac Mini has no optical drive, I use one that I purchased for $39 from Fry's some years ago to get the ability to burn DL DVDs and it seems to run fine in Lion with Toast 10.
    Here is a "canned" answer I give for many in your situation.  Study all of this and respond with more information so we can guide you to your solution:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PowerPC software or Lion/Mt. Lion;
    3.  Upgrade your software to Intel compatible versions if they are available, or find alternative software that will open your data files, modify them and save them;
    4.  Install Snow Leopard Server (with Rosetta) into Parallels or VMWare Fusion for concurrent use of your PowerPC applications with Lion or Mt. Lion:
                                  [click on image to enlarge]
    Apple has now restarted to sell Snow Leopard Server at a 95% discount over its original price: only $19.99 + sales tax & shipping; telephone orders only, call 800-MYAPPLE (800-692-7753) -  Apple Part Number: MC588Z/A
    NOTE:  Computer games with complex, 3D or fast motion graphics may not work well or at all in virtualization.
    I am surprised that the professional reviews did not mention the lack of Rosetta in Mountain Lion. 
    When one similarly frustrated poster here on this forum expressed his sentiment that Apple should have posted a big red flag about Mountain Lion not having Rosetta, I pulled out my PowerPC version of Photoshop and created the image above! 

  • How can I count the number of values in one column which answer to a condition in another column?

    I'm using Numbers 3.2 and would like to count the names in a column which satisfy a condition in a different column. There are 3 "streams" through which these names have come to me, and I would like to easily identify how many have come from each stream. Any help?

    Hi DirtyDawg,
    COUNTIF is your friend here.
    If your source is in column C and your streams are 1, 2 and 3:
    =COUNTIF(C,"=stream1")
    =COUNTIF(C,"=stream2")
    =COUNTIF(C,"=stream3")
    These need to be in a footer or header row or in a different column than C.
    hope this helps,
    quinn

  • I need to transition my 1st Generation Apple TV from an older instance of iTunes to a new instance of iTunes on my brand new Mac... How do I "switch" from one instance of iTunes to another? How do I get the 5 Digit Code Network to come back on my Screen?

    I need to transition my 1st Generation Apple TV from an older instance of iTunes on my iBook to a new instance of iTunes on my new Mac... How do I get the 5 digit Network code to come back? Is there anyway for 1st Generation Apple TV to be synched to two instances of iTunes or do I have to choose one or the other? I appreciate any advice or suggestions. Thanks!

    The 5 digit code is every time different. That does not matter. Just integrate every device into your network.
    You can connect many computers to Apple TV but syncronisation works exactly with one computer. That's why I use "streaming". But you can sync one computer, then another, and so on. The content on your Apple TV is the content from your computer that has synced last. But you can not mix it.
    The new Apple TV has no syncronisation. Everything is streamed,
    Regards,
    Torsten,
    Germany

  • How do I change the 4 digit passcode to a 5 digit passcode on an iPad?

    How do I change the 4 digit passcode to a 5 digit passcode for an iPad?

    Yes, once you have entered the ID into the passcode, and turned off the simple passcode option, you are then free to set the new password any way you wish, and 5 numeric digits is possible, but so is 15 alphanumeric if that is your desire.

  • Is there a way to count the number of times an array moves from positive to negative?

    I have an array of values, and I need to find the number of times that the array changes signs (from positive to negative, or vice versa). In other words from a graphical standpoint, how many times a certain line crosses the x-axis. Counting the number of times the array equals zero does not help however, because the array does not always equal exactly zero when it crosses the axis (ie, the points could move from .1 to -.1).
    Thanks for you help. Feel free to email me at [email protected] I only have lv 5.1.1 so if you attach any files, they cannot be version 6.0.

    Attached is a VI showing the # of Pos and Neg numbers in an array, with 0 considered as non-Pos. It is easily modifiable to other parameters - including using the X-axis value as your compare point versus only Zero.
    This is a modified VI from LV (Separate Array.vi)
    Compare this with your other responses to find the best fit.
    Doug
    Attachments:
    arraysizesposneg.vi ‏40 KB

  • Count the Records in  an internal table without a loop.

    How do i count the number of records in an internal table without using the loop  statement.
    The Describe statement give the total no. of records in the internal table.But i want the count of the key fields in the internal table
    For eg
    Row Field
    1       A
    2       A
    3       A
    4       B
    5       B
    6       C
    Count of A = 3
    Count of B = 2
    Count of C = 1

    Dilip,
      I think isn't posible. Only 3 ideas:
    1ª, make other table "table2", similar to your actual table.
         table2[] = yourtable[].
         delete table2 where key <> 'A'.
         describe table table2 lines contA.
        But depending the amount of data, you may have problems in performance or memory consumption...
    2ª, make other table, only with the keys fields and a count field,
        data begin table2
           key_field1,
           cont type i.
        end data.
       when you append lines to yourdata, make a collect to this table:
        table2-keys = yourtable-keys.
        table2-cont = 1.
       collect table2.
       But only works if you can modify the program where data is appended, and you may be carefull when data is deleted :-(...
    3ª if your data if filled in a select, you may fill the table2 of point 2ª, making a similar select but:
       select keyfields count( * ) into table table2
      from ...
      where (the same you have to fill your original table...)
       group by keys.
    But you have the same problem is data is deleted later...
    I hope that any of the three is useful for you...
    Edited by: Diego Alvarez on Jan 5, 2010 5:09 PM

  • I recieve my reciepts from all of my Apple purchases via email to my email cllient "MS Outlook 2003" on a Windows 7 Home Premium platform. I cannot format the print appearance of HTML documents within Outlook and the print border cuts of the last digit?

    I use MS Outlook as my email client under Windows 7 Home Premium and when I receive a reciept from Apple for purchases made for my iPhone (Stores or iTunes) the HTML formatting cuts off the last digit of the price paid on my eReceipts (the only receipts I get). Outlook 2003 does not allow for HTML print formatting since they (HTMLs) are formatted from the source (Apple). Can you help me to get Apple to fix this or find a workaround?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • How do I count the number of unread emails in WebCenter ?

    how can I show unread emails counter on webcenter spaces ( I used the default WC Mail task flow )

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

  • How do I count the number of records returned in the CMIS query

    How do I count the number of records returned in the query CMIS?
    SELECT COUNT(*) FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = \'RD_PROJETOS_EXCLUSIVOS\''}
    Euler Homero

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

Maybe you are looking for

  • How to  build a  Calculator in WAB Template  by using  Java Script......

    Hi , I am  trying   to build a dynamic  calculator in WAD which is as  similar to one in Executive view in Cognos. The  problem i am  facing  is,  i can  able to build a normal  calculator  by using  java script  but  i am  unable  to read the  key f

  • Calling a Web Service Through Custom iView

    Hi All, I have to create a Custom iView that would call a Web Service that is available over internet. This web service returns data in form of an XML file and have to display this file. It means that I have to create a Portal Application and call we

  • How do I save a reader enabled form as a "normal" form, or no longer "reader enabled?"

    I made a form for my office to fill out and submit that will be used over and over again. Along the way, I got confused and thought I would need to reader enable it. Our IT guy came in and installed the full version of Acrobat on everyone's computers

  • File Adapter Best Effort...how come?

    Hi ! While reading the File Adapter online documentation, it says that it supports Best Effort as QoS...?? I though that QoS = BE is for synchronous interfaces...in what case the File Adapter could work in sync mode? Tnx, Matias

  • "Connection to Partner Broken" Message

    I have a NW4 preview installation running on Linux.  I get the following message while trying to connect from a W2000 client.  I also cannot connect locally on the linux machine using the Java GUI.  I get a similar message. Here is the Windows messag