Determine if the result of the query begins with a number

I have the results of the query like this

123PKM
AAPL
WB
9865W
FC
QRST

How can I determine if the result of the query begins with a digit?
As 123PKM and 9865W do not start with a number.

But others did not.

The refind() would make this task very easily. Not tested, but I think that
It would be the idea.

#refind('^[0-9]',myQuery.aField,1,false) #.

ColdFusin documentation in all directions will define completely the
refind() function capabilities. It will give even some basics
the syntax of the regular expressions used by this function.

Tags: ColdFusion

Similar Questions

  • Oracle Text returns no results when the string begins with two consecutive vowels

    Hello

    I hope someone can shed some light on a strange problem, that we face.

    Oracle Database 11 g R2 (11.2.0.4) EE 64 bit running on Windows 2008 Server R2.

    When I create an index of context on a column varchar2 (surname), it works fine when the surname begins with a consonant or a vowel. But when the family name starts with two vowels, that it fails to return the file?

    Please see example below:

    create table t1 (surname varchar2(50));
    
    insert into t1 values ('OURS');
    insert into t1 values ('JOURS');
    insert into t1 values ('ONES');
    
    commit;
    
    -- sync every 10 mins
    CREATE INDEX PERSON_SURNAME_IDX ON t1
    (SURNAME)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('MEMORY 50M sync (every "SYSDATE+10/1440")')
    NOPARALLEL;
    
    -- no rows
    SELECT surname 
    FROM t1
    WHERE CONTAINS(surname, 'OURS') > 0;
    
    -- 1 row
    SELECT surname 
    FROM t1
    WHERE CONTAINS(surname, 'JOURS') > 0;
    
    -- 1 row
    SELECT surname 
    FROM t1
    WHERE CONTAINS(surname, 'ONES') > 0;
    

    Any help or advice greatly appreciated.

    Thank you

    Ours is in the list of default stoplist (list of words that are ignored)

    http://docs.Oracle.com/CD/B19306_01/text.102/b14218/astopsup.htm#CEGBGCDF

  • Mail crashes when the address begins with 'j '.

    Hello

    When I opened a new mailwindow in AppleMail and start typing that address whitch starts with the letter j, the program crashes.

    Any other letter works very well.

    It is possibel to trigger the crash over and over again.

    So far, only solution is to copy and paste the address.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • DataPump the QUERY parameter with string values? -SOLVED

    All,

    I'm trying to specify a query to the datapump API parameter but can't seem to get my correct single/double quotes so that it can work. I can successfully use the QUERY parameter with something like QUERY = table: '"number_column = 6" ' but NOT with something like QUERY = table:'"string_column ="value"" "

    I tried different versions of the single/double quotes, but all fails with slightly different errors. Someone at - it an example where a string value is used with success?

    Thanks in advance. Oracle 10.2.0.3.0 - AIX 5.3

    So after reading some other reviews on another thread - I tried this and it worked:

    QUERY = table:------"where string_column = 'value\' \' \

    Looks like you have escape all single/double quotation marks for this parameter

    Published by: potter_geek on August 31, 2009 10:47

    Hello

    Use the parameter file or if you run expdp command-line use escape character '-' (backslash) in this case.

    Concerning
    Anurag Tibrewal.

  • I bought a genuine product Adobe Creative Suite 6 Design Standard about 3 years ago. After the initial installation (with serial number) applications worked well (Photoshop, Illustrator, Acrobat, etc.). However, I could only use Acrobat to a fe

    I bought a genuine product Adobe Creative Suite 6 Design Standard about 3 years ago. After the initial installation (with serial number) applications worked well (Photoshop, Illustrator, Acrobat, etc.). However, I could only use Acrobat a few weeks before the software did not react more. After this time all pdf files can be manually opened with Adobe Reader, but not with Acrobat. Because Acrobat seems to be the default program to open pdf files, nothig happens if I double click on a pdf file, or if a pdf file to be generated from a site Web etc. At the beginning, I was able to reinstall Acrobat from the CD and it would work for a few weeks yet. This has been the case for the past three years. Now, even the resettlement option no longer works and the error message "Is not a real product from Adobe" is displayed during installation. As I said, all the other parts (Illustrator, Photoshop...) work fine and I don't have a product code, serial number etc. What could be the problem and how can I solve this problem? When I uninstall Acrobat, all PDFs open automatically via the Adobe Reader software. But I need more than just to read a PDF file. Help, please!

    Hi Andreas,

    Try the fix mentioned in the KB: https://helpx.adobe.com/creative-suite/kb/acrobat-failed-launch-30-days.html

    Kind regards
    Rave

  • On a PC using Windows and Adobe Reader, I sent 10 PDF files in a zip file and each label of the PDF file with a number from 1 to 10, so that they appear in the order I want. Numbered 1 to 9 records fell in sequence automatically, but number 10

    This is my first time using this forum. I hope that my question made its appearance and that this space is to respond to the answers possible, but just in case, here's my question again:

    On a PC using Windows and Adobe Reader, I sent 10 PDF files in a zip file and each label of the PDF file with a number from 1 to 10, so that they appear in the order I want. Numbered 1 to 9 records fell in the sequence automatically, but the number 10 appears under the number 1 instead of below the number 9. I googled the problem, do not see addressed. I called Microsoft, and they said it's a matter of Adobe. If anyone can help I would be grateful.

    Thank you.

    Not an Adobe issue at all. If you want your files to a single digit (1-9) to appear before the 10, you must add a zero at the beginning.

    01

    02

    03

    04

    05

    06

    07

    08

    09

    10

  • Why can't I create a table or a column whose name begins with a number?

    Why can't I create a table or a column whose name begins with a number?  I can't seem to find an answer when I Googled it.

    Thank you

    Yoann

    Hello

    jimmy437 wrote:

    Why can't I create a table or a column whose name begins with a number?  I can't seem to find an answer when I Googled it.

    Thank you

    Yoann

    You can;  Simply enclose it quotation marks name whenever you use it.

    For example:

    CREATE TABLE '3-26.
    (
    'name 1' VARCHAR2 (10)
    );

    INSERT INTO '3-26' ('1 St Name') VALUES ('FUBAR');

    SELECT '1 name '.
    "3-26;

    Remember, what inside quotes is case-sensitive, so you can't refer to that column as "1st NAME.

    Using quotation marks (and capitalizing exactly as expected) is such a pain that most people don't bother.

  • Results of the query variant with unused table in the from clause

    Hi all

    I (processing_table2) table specified in the FROM clause in the SQL query , but I have not used any of its value in the SQL statement , but it still affects the results of the query. Please help me out here I'm naïve.

    This is the provided query

    SELECT SUM((CREV.sadc_extd*CSSP.redit_pcnt)/100)

    OF crev revenue_lines,.
    cssp sales_split,
    processing_table2
    WHERE crev.order_num = '7631090072'

    Results of the above query : 344028065018.359



    SELECT

    Sum((CREV.sadc_extd*CSSP.redit_pcnt)/100)

    OF crev revenue_lines,.
    sales_split PCSS

    WHERE crev.order_num = '7631090072'

    Results of the above query : 26463697309.1046


    Someone here suggest me pls!

    924804 wrote:
    Hi all

    I (processing_table2) table specified in the FROM clause in the SQL query , but I have not used any of its value in the SQL statement , but it still affects the results of the query. Please help me out here I'm naïve.

    This is the provided query

    SELECT SUM((CREV.sadc_extd*CSSP.redit_pcnt)/100)

    OF crev revenue_lines,.
    cssp sales_split,
    processing_table2
    WHERE crev.order_num = '7631090072'

    Results of the above query : 344028065018.359

    SELECT

    Sum((CREV.sadc_extd*CSSP.redit_pcnt)/100)

    OF crev revenue_lines,.
    sales_split PCSS

    WHERE crev.order_num = '7631090072'

    Results of the above query : 26463697309.1046

    Someone here suggest me pls!

    CARTESIAN PRODUCT of the changes result set

  • Query based ViewObject does pull not all attributes, when the query has 'WITH' clause

    Hello

    12.1.2 and 12.1.3 JDeveloper

    When we try to create a custom query based ViewObject, and the query clause of "with."

    So not all the columns selected in the query are appearing as attributes of the View object in the wizard.

    This is the query. And it performs very well in Toad.

    WITH dept_count AS)

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id)

    SELECT e.first_name AS employee_name,

    DC1.dept_count AS emp_dept_count,

    m.first_name AS manager_name,

    DC2.dept_count AS mgr_dept_count

    E employees,

    dept_count dc1,

    m employees,

    dept_count dc2

    WHERE e.department_id = dc1.department_id

    AND e.manager_id = m.employee_id

    AND m.department_id = dc2.department_id;

    Only the EmployeeName attribute is extracted from the query. It does not show the rest of the attributes in the VO Wizard.

    VO.png

    (I also tried to create a VO from the EntityObject class and make it editable as false, even in this case all attributes are not displayed.)

    I was wondering if something changed in 12 c?

    It works in 11.1.1.7

    (A friend of mine just asked me this).

    Thanks for any help.

    Sameer

    Jdev dislikes the syntax

    You can rewrite as

    SELECT e.first_name AS employee_name,

    DC1.dept_count AS emp_dept_count,

    m.first_name AS manager_name,

    DC2.dept_count AS mgr_dept_count

    E employees,

    (

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id) dc1,.

    m employees,

    (

    SELECT department_id, COUNT (*) AS dept_count

    Employees

    GROUP BY department_id) dc2

    WHERE e.department_id = dc1.department_id

    AND e.manager_id = m.employee_id

    AND m.department_id = dc2.department_id

    who must work and give you the same result.

    Timo

  • Window of the query editor with Microsoft SQL Server Management Studio DO NOT scroll

    In my view, that it is a question more of a Microsoft SQL Server Management Studio number... apologies if you think I might be in the wrong place of Windows...

    When you work in Microsoft SQL Server Management Studio, my cursor is common in my part of the query editor window. When I try using my scroll wheel it to review some SQL code, instead the scroll on my mouse wheel is controlling the pane objects in the Solution Explorer window and NOT the glass query editor.
    Some of our partners appear to be well with their ability to scroll using the mouse scroll wheel while others seem to be in the same boat I am, and nobody here seems to know why it is.
    I hope for some comments and I am hopeful for an answer. Thanks in advance.
    PSULionRP

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    http://social.technet.Microsoft.com/forums/Gu-in/sqldatawarehousing/threads

    Hope this information helps.

  • How can I set the default value of a selection in the Query Panel with table.

    Hi Experts,

    JDev 12.1.3.0.0

    I have a view Criteria (contains a attribute with LOV). and the named criteria is dragged as a query with Table Panel.

    In the user interface, the LOV is now visible in the query Panel. Suppose that the LOV has 3 values: 'Manual', 'Other' and 'portfolio '.

    How can I set a default value for the choice of a select. ?

    Thank you

    Roy

    refer to:

    Andrejus Baranovskis Blog: Dynamic value by default for the field in query ADF search

    but rather to express as in the bellows of the image, choose literal and let 2

  • IsDefined dislikes the names of variables beginning with a number. Unless they are defined...

    Hello

    I detected a strange (for me) behavior of the IsDefined function. I have something like:

    < cfif IsDefined ("url.vose") > < cfset = "value" unevariable > < / cfif >

    < cfif IsDefined ("url.3d") > < cfset = "value" unevariable > < / cfif >

    * If url.3d is set, all right. All work as expected.

    * If url.3d is not defined, CF throws an error "Parameter 1 of function IsDefined, which is now url.3d, must be a syntactically valid variable name".

    * If I use structKeyExists (url, "3d") instead of IsDefined("url,3d"), works as expected.

    I have tried different combinations of variable names and extended (EP, url.5d, or form.3d) and the problem seems to be the number at the beginning of the name of the variable.

    This is the expected behavior? I found it very strange that it works if the variable exists and only generates an error if not. Can it be considered a bug and should be reported?

    TIA,

    It doesn't matter if the language is CF or JavaScript or PHP-HTML - variable names are considered invalid if they do not begin with a letter or underscore.  You must friezer prefix a variable name with a number.

    Also, I have heard many developers complain IsDefined().  Use rather StructKeyExists().

     blah blah blah 
    
     blah blah blah 
    

    V/r,

    ^_^

  • Wait for the event begins with SQL * Net message from client-time wait 178577 units

    Hello

    I'm watching events waiting for a request from long time in TOAD.
    I start the query on an instance of TOAD, and open the browser to log on to another instance.
    But I am surprised to see that in "TOtal expected" on the RIGHT part->
    SQL * Net message from client is the longest time and is already - > 178577 units while I just to start the query.

    Considering that, in the current waiting she shows DB file scattered read correctly for a few seconds.

    Please suggest.

    user8941550 wrote:
    Hello. No explanation for this... :-(

    Hello

    people work here, you don't know?
    I think Tom Kyte explains it well enough. This wait event is linked to your session database waiting for the guest to say to do something.

    So it is not related to the database, but to your application.
    Also as it is a wait of session event you might have had your session inactive for some time (do nothing)

    If you want to check the waiting events correctly I suggest using tkprof and start a new session in SQL more as shown by Tom Kyte in the link I posted.

    Then, run your query in sqlplus setting track and pull it out as soon as your statement is completed.
    that is to say:

    -- myest.sql
    alter session set events '10046 trace name context forever, level 12';
    SELECT ... -- your query here
    exit
    

    Run in sqlplus in this way:

    sqlplus user/password@db @mytest.sql
    

    Then check with tkprof.

    Kind regards.
    Al

  • Install the CS6 on the new PC with serial number for update

    I installed CS6 Design Standard on PC new with serial number for update (after deactivation on old). The serial number is valid but no product eligible on the PC. I don't find it in the list. Do I need to install the previous version?

    Please see:

    https://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-qualifying-product.html

    I hope this helps.

    Concerning

    Megha Rawat

  • Use the CS6 (active with serial number) on a single computer and CC (enabled by CC app) on another?

    Authentication of CC plays havoc with me.

    I have a valid complete installation disk with serial number for CS6 Master Collection. Recently, I also started a subscription to CC.

    I want to use CC by its terms of use on my main machine (a Mac with Windows in parallels) which, in my view, will be taken into account that the two facilities of my CC license. I also have a second PC where I would use my valid serial number perfectly to install and run CS6.

    When I connect the second (CS6) machine, I am not allowed to run my programs CS6 because I am considered a Subscriber CC. There is no possibility to enter a serial number: machine, which has run the CS6 for years, refuses to let me continue to use it. For example, I start Acrobat. I'm alerted that my trial has 00 days left. I wonder to connect and enter a serial number. I connect, but before I can enter the serial number, I said ' welcome, wear "authroization window goes. And it REAPPEARS immediately with the same message on my trial with 00 days left.

    I got a lot of anguish on broken activation Adobe and my opinion on them as a company has suffered considerably.

    I was wondering if I should do an Adobe ID separated for CS6 installing. Will be Adobe let me enter this serial number via a new Adobe ID, or he will not oppose the reason that serial number is associated with my Adobe ID main?

    Re-record the perpetual license with a different Adobe ID and use the CS6 installation on this ID.  This will keep the system to blend during activation.  Don't forget to disable the CS6 (if she will allow this option) if possible.  This is the best option for now.  If you have any problem with the re-setup, use the Adobe cleaner on the CS6 machine.

Maybe you are looking for

  • Reboot hangs with hard drive led blinking.

    My E6430 Latitude has been win10pro win7pro upgrade - no WOOD setting have been changed. It has 8 GB of ram, inspected, reinstall and test. It crashes with a disc hard blinking led that requires the power to complete on a restart button. No problem s

  • Where "select all" option in Windows Live Mail?

    Where is the "select all" in Windows Live Mail. It used to be in the Edit drop-down menu?

  • BBM EXTREEMLY URGENT - please help ASAP

    Hi, please help. This isn't a matter of life or death... but close enough. I have a Samsung Galaxy S4 and tried to e-mail 1 large cats bbm history for me and my bbm crashed. Now, I don't see no bbm conversations. I don't see my contacts, but not cats

  • How can I get recent files (in the workspace start) working?

    He never shows anything? It would be very convenient. Last Indesign CC on MacOSX El Capitan.Thanks in advance!

  • App tab shows a spinning wheel

    Hello, I took yesterday a subscription for the plan of the creative cloud photography. Opens the creative cloud but downloading Photoshop or Lightroom does not. What do I have to wait a few days until the subscription is activated?