Prevent wildcard in queries

Is it possible to prevent the use of the % wildcard by end users of a Forms application? In addition, the ability to query must be restricted to a fixed length.
For example, in a form field of a fixed length of 9 characters, how can one require them to supply all 9 characters when querying while also preventing the use of the % wildcharacter?
Must this be done programmatically?
If applicable, the environment in question is Forms 10g.
Thanks,
Chris

Hi Francois,
Thanks for the response. That's pretty much what I thought, and is what I meant by a "programmatic" solution. It looks like this restriction cannot be implement using just the item and block properties, but will require a trigger and a bit of code.
Thanks!
Chris

Similar Messages

  • Wildcard search queries

    Oracle 10g 10.2.0.4
    Linux
    we are having some queries where users are using wildcard for searching data in varchar2 fields. when they use like 'text%" the results are returning fast as it's able to use index. But queries are slow when they use like '%text%' or even like '%text'.
    Kindly suggest.
    check below for explain plan.
    SQL> select * from t_invoice_header where invoice like 'REIM113%';
    Execution Plan
    Plan hash value: 1419012284
    | Id  | Operation                   | Name                  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                       |    75 | 26175 |    68   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_INVOICE_HEADER      |    75 | 26175 |    68   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | T_INVOICE_HEADER_IDX2 |    75 |       |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("INVOICE" LIKE 'REIM113%')
           filter("INVOICE" LIKE 'REIM113%')
    SQL>  select * from t_invoice_header where invoice like '%REIM113%';
    Execution Plan
    Plan hash value: 717214792
    | Id  | Operation         | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                  |  2620K|   872M|   418K  (2)| 01:37:42 |
    |*  1 |  TABLE ACCESS FULL| T_INVOICE_HEADER |  2620K|   872M|   418K  (2)| 01:37:42 |
    Predicate Information (identified by operation id):
       1 - filter("INVOICE" LIKE '%REIM113%')
    SQL>

    Think of how an index would be used. An index on INVOICE will be sorted according to the INVOICE, i.e. alphabetically. If you don't specify the first few characters of the INVOICE value, Oracle can't search the index. And it has no idea how selective the condition will be (if you've specified the first few characters, Oracle can get a reasonable guess on selectivity). So Oracle would either have to do a full scan on the index and then do an unknown series of lookups or it would have to do a table scan. The optimizer expects that the table scan is the more efficient plan-- without more information, I have no reason to expect that the optimizer is incorrect.
    Depending on what the INVOICE column contains, you could potentially create an Oracle Text index and use a CONTAINS operator rather than using LIKE to search for strings within the string. But that assumes that the invoice data can be parsed reasonably in building the Text index.
    Justin

  • Prevent internal Ldap Queries

    What is the best method to prevent internal domain users (Non Administrators) to query my AD for any info.
    Running any Powershell or other queries against the Active Directory from domain joined computer by a non administrative user must be blocked.
    Thank you,
    Darshan

    Darshan,
    By design, everyone has read-only access Active Directory information.  Anyone who knows how can initiate an LDAP query to pull information if they have the fortitude to create a query.  Most folks wouldn't know where to begin.  However, if
    folks have administrator rights on their pc's, then they could download and install the RSAT package and browse AD using ADUC. 
    There are some things you can do to make it more difficult though. You should remove local admin rights to the users PC's using Group Policy to strip it off.  This prevents the loading of
    some tools.  Not all. You can prevent PowerShell from running queries through Group Policy.  We have this in place and it works well.  With all that said, from an LDAP perspective, you can't restrict or prevent it on a global basis.  It
    is baked into sauce so to speak.  You can put up roadblocks, but these usually affect other capabilities that you would want to leave alone.
    Additional reading:
    http://technet.microsoft.com/en-us/library/aa996205(v=EXCHG.65).aspx
    http://windowsitpro.com/active-directory/hiding-data-active-directory
    Hope that helps.
    Gary
    Gary G. Gray
     MCP, MCTS, MCITP, MCT Alumni
    Please remember to mark the replies as answers if they are helpful.
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • Cisco 877W acting a a DNS server. Does it answer external DNS queries coming from the WAN

    Hello,
    I have a Cisco 877W running on my ADSL2+ service at home.
    It is setup to act as a DNS server to answer DNS queries for my LAN and has the below commands as part of its configuration
    ip dns server
    ip dhcp pool LAN
       network 192.168.2.0 255.255.255.0
       default-router 192.168.2.254
       dns-server 8.8.8.8
    My question is, when I scan my WAN IP for open ports, port 53 (DNS) is open. Does this mean my router will be acting as a DNS server for anyone on the internet who directs DNS queries to my WAN IP?
    If so, am I able to turn off port 53 towards the Internet, or do I need to add an an access-list to only accept queries from my internal network.
    Thanks for your feedback.

    That's correct. The "ip dns server" command will answer queries on any interface.
    Given that your DHCP server is telling your clients to use Google DNS and not your router, I would just turn the router's DNS server off with the "no ip dns server" command.
    Setting up an ACL (and/or inspection or zone-based firewalling) on your Internet-facing interface is the best practice to protect your network in general, not just to prevent external DNS queries.

  • Is it OK to Switching Undo Tablespaces without DB stop ?

    We use Oracle11g R2.
    I read Oracle Doc and It looks OK.
    But, how could I make sure UNDO tablespace mode(ONLINE,PENDING OFFLINE) ?
    Switching Undo Tablespaces
    You can switch from using one undo tablespace to another. Because the UNDO_TABLESPACE initialization parameter is a dynamic parameter, the ALTER SYSTEM SET statement can be used to assign a new undo tablespace.
    The following statement switches to a new undo tablespace:
    ALTER SYSTEM SET UNDO_TABLESPACE = undotbs_02; 
    Assuming undotbs_01 is the current undo tablespace, after this command successfully executes, the instance uses undotbs_02 in place of undotbs_01 as its undo tablespace.
    If any of the following conditions exist for the tablespace being switched to, an error is reported and no switching occurs:
      The tablespace does not exist
      The tablespace is not an undo tablespace
      The tablespace is already being used by another instance (in an Oracle RAC environment only)
    The database is online while the switch operation is performed, and user transactions can be executed while this command is being executed. When the switch operation completes successfully, all transactions started after the switch operation began are assigned to transaction tables in the new undo tablespace.
    The switch operation does not wait for transactions in the old undo tablespace to commit. If there are any pending transactions in the old undo tablespace, the old undo tablespace enters into a PENDING OFFLINE mode (status). In this mode, existing transactions can continue to execute, but undo records for new user transactions cannot be stored in this undo tablespace.
    An undo tablespace can exist in this PENDING OFFLINE mode, even after the switch operation completes successfully. A PENDING OFFLINE undo tablespace cannot be used by another instance, nor can it be dropped. Eventually, after all active transactions have committed, the undo tablespace automatically goes from the PENDING OFFLINE mode to the OFFLINE mode. From then on, the undo tablespace is available for other instances (in an Oracle Real Application Cluster environment).

    After you switch the UNDO_TABLESPACE parameter to the new tablespace, at the minimum, you have to wait for active transactions to complete (commit/rollback) before you can take the old Undo Tablespace offline.  Note that if you take the old Undo Tablespace  offline too quickly, you may prevent long running queries from reading from the old Undo Tablespace and may cause them to error with ORA-01555.  So you need to wait a reasonable time (e.g look at MAXQUERYLEN in V$UNDOSTAT) before you take the old Undo Tablespace offline.
    Hemant K Chitale

  • LDAP over SSL

    A hosted service wants to authenticate against our AD.  They recommend using LDAPS. 
    What is best practice?  Install a public certificate on a DC. 
    For instance on DC1.contoso.com.  Then would I open up 443 on the firewall to that DC and allow from that IP? How would that affect other local LAN clients authenticating to that DC?

    A hosted service wants to authenticate against our AD.  They recommend using LDAPS. 
    What is best practice?  Install a public certificate on a DC. 
    For instance on DC1.contoso.com.  Then would I open up 443 on the firewall to that DC and allow from that IP? How would that affect other local LAN clients authenticating to that DC?
    If its hosted services & if its supports ADAM/AD LDS, then its much safe to use them instead of RWDC or RODC. Enabling LDAP over SSL enhances the security of the information how information is transmitted when client tries to contact DC for the information(authentication/authorization).
    Normally w/o LDAPs being configured in the environment, when client queries a DC in the domain, the information is transmitted in the plain text which ca be read by the hacker using tools available for free. The reason is simple the information on transit
    is not encrypted, but enabling LDAP over SSL prevent the unencrypted queries & provide more security.
    You can't simple implement LDAP over SSP, but it needs PKI infrastructure, planning & designing which is comprehensively listed into the document URL posted by Justin. You can also use ldap over SSL using AD LDS.
    http://blogs.technet.com/b/pki/archive/2011/06/02/implementing-ldaps-ldap-over-ssl.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • Online-Printing with Documaker

    Hello,
    I've installed IDSServer, IDSShared and IDSClient in version 2.2 on my Windows 7 pc to play with it.
    Because of that I've selected http as queuing mechanism.
    Now I want to print a dummy hello world-pdf via the java messaging mechanism.
    I have written a java client along the provided MsgClient-sample.
    I have also found out, that I have to use the PRT request-type.
    Now I get the following message:
    log4j:WARN No appenders could be found for logger (http.debug).
    log4j:WARN Please initialize the log4j system properly.
    Message variables
    IDSGUID=2D0FB991-FC80-EA7A-D1F6-F65DCF6C6C2D
    IDSHOSTNAME=BSG-N0244
    RESULTS=DPR0019
    SERVERTIMESPENT=0.000
    Rowsets
    DPR0019
    Row 1
    CARID=
    CATALOGKEY=TEST
    EXTENSION=
    FILE=BEBD61F6-0F9D-BFB7-99AC-A9B7B58B80D4-0-IDS-1-BL.pol
    ERRORS
    Row 1
    CODE=DPR0019
    The form I created simply consists of a static label "Hello world".
    What am I doing wrong?
    Regards
    Florian

    895099 wrote:
    thanks for your reply. I'm trying the SCH-request type now.
    However it requires a variable named fields which filters the results as i understand its function.
    Could you please give me an example how I could query all records?Sure.
    You need the following attachment variables:
    CONFIG=<name of the configuration which should be found in your DAP.INI>
    USERID=<you should have this already>
    PARTIALMATCH=Y <use this to match part of a string, example: FLO will find FLOWER and FLORIAN. Omit this value if you do not want this feature.>
    FIELDS=<list of fields,comma-delimited, which you will search. These should be found in the APPIDX.DFD that is defined in your configuration.>
    Example request:
    CONFIG=MyConfig
    USERID=DOCUMAKER
    FIELDS=KEY1,KEY2,KEYID
    KEY1=MyKey1
    KEY2=MyKey2
    KEY3=MyKeyID
    REQTYPE=SCHIf you are unsure as to the fields in your appidx.dfd, or where to find the appidx.dfd, you'll need to check your INI files. The definition of the APPIDX location can be anywhere in the set of INI files used on the system, but generally it is in the FSISYS.INI. Note that if the paths are not absolute then they are relative to the execution of your system, usually the docserv or fap\mstrres\<mrl_name> directories.
    DAP.INI
    [Configurations]
    Config=MyConfig
    [Config:MyConfig]
    INIFile=c:\some\path\fsiuser.ini
    FSIUSER.INI
    [Environment]
    FSISYSINI = c:\some\path\fsisys.ini
    FSISYS.INI
    [ ArcRet ]
    AppIdxDfd = arc\appidx.dfdHere is a sample of the appidx.dfd, which defines the record layout of the archive:
    < FIELDS >
    FIELDNAME = KEY1
    FIELDNAME = KEY2
    FIELDNAME = KEYIDIf you just want to query all records, then omit the KEYID from the FIELDS= attachment variable. I do not recommend using that for any production application however - you will always want to limit a search as best you can to prevent open-ended queries which can be detrimental to performance.
    ~Andy
    Edited by: Andy Little on Nov 8, 2011 10:29 AM

  • Finding and killing runaways in Oracle

    I am very new to the DBA side of Oracle.
    I have several "Power Users" that are constantly kicking off outrageous queries without joins and then just killing their telnet sessions and reconnecting to correct the mistake and then complaining about performance. I think that this is leaving the query running in the background.
    Since neither removing their keyboards nor removing their fingers are options is there any way to check out resources and who is running what in the database and kill/or any runaway processes or queries?
    Any help would be appreciated,
    Chris S.

    The problem with resource limits is that you prevent ligitimate large queries.
    So the problem becomes identifying the large queries that cause the problems.
    I am currently looking at statistics so I do not have all the answers yet. One place to start looking for the sinners is v$session, v$sesstat and v$statname(?).
    Run this query every 5 minutes check the large queries and users with many queries. Users with more than one session are the ones you would be interested in. This is not perfect, but it is a start.
    If you are on Unix you can set this up in Crontab and create a shell script that checks for specifics in the result and send you an email.
    One thing I have found to cause big problems is when we use "default" for parallelism, one user can pretty much kill the server that way, if accessing a large table spanning many files I have seen up to 30 parallel queries running at once. If all the parallel processes are busy everybody else will be running non-parallel.

  • NTP ACL on IOS-XE (4500-X) bugged?

    Hi,
    for obvious reasons the protection of NTP servers exposed to the Internet is currently getting some reinvestigation. On a fresh 4500-X running IOS-XE 03.04.03.SG (aka 151-2.SG3) I encountered that
    access-list 12 permit x.y.z.123access-list 12 permit a.b.c.123
    access-list 12 deny   any
    ntp access-group peer 12ntp server x.y.z.123
    ntp server a.b.c.123
    will not prevent certain control queries from getting answered by the switch. For instance, ntpq peer list queries (ntpq -p device-ip) from any source still get a reply, even though the deny any ACE counter (and only that) will increment. Legitimate control queries (from the configured sources) will work as well, but increment the appropriate permittive ACE counters. On other switches (non-XE, like 4900M), the exact same configuration works as expected and denies ntpq control queries. Now those queries (there are more than just peer list queries that bypass the ACL on XE, I haven't checked all of them) aren't as dangerous an amplification tool as monlist is, but there still is amplification - and even without amplification, there's at least an information leak, if not a capability for remote control.
    Has anyone else encountered this issue? Is it present in XE generally, or specific to this platform? I don't have much hardware to test against currently
    BTW, the ACL successfully blocks pure time queries, but in the context of NTP amp attacks, they are of least concern.
    BTW^2, adding a pure deny-all ACL to the three other NTP ACL classes makes no difference - they increment counters, but answers still come back.
    TIA,
    Andre.

    I have 6 devices where the ntp access-group is not working:
    5 x ASR1002 - IOS-XE 03.07.03.S 15.2(4)S3
    1 x 4500X-32 - IOS-XE 03.04.02.SG  15.1(2)SG2
    I have a few older ASR1000's running 03.04.05.S IOS-XE 15.1(3)S5, that do not have the problem.
    Open TAC case. No resolution yet.

  • Inconsistencies between CR wildcard (* and ?) and SQL std queries (% and _)

    Certain queries built using Crystal Reports do not return a full result set of data as expected, compared to using standard SQL wildcards in an interactive native SQL tool.
    Does anybody know if any of these are bugs in Crystal Reports?
    See example data and queries with their associated results below.
    Example:
    Table name: customer
          Column definitions:
              lname char(20)
              state char(2)
          Relevant rows from our demo database, queried from the native interactive SQL tool are shown below.  For the purposes of illustration, I modified some of the state fields so that there were examples of 'N ', ' N' and 'N' (space in front of the letter N, space after the letter N, and just the letter N with no spaces). I have also added the single quote characters in the query results for those rows to highlight where the spaces exist or do not exist in the data:
    1 > select id,lname,city,state from customer
          where state like '%N%' or lname like '%en %'
    Col.    id      lname                   city                    state
    [ 1]    101     Devlin                  Rutherford              'N ' < was NJ
    [ 2]    102     Reiser                  New York                'N'  < was NY
    [ 3]    104     Mason                   Knoxville               NN
    [ 4]    105     McCarthy                Carmel                  IN
    [ 5]    107     Colburn                 Raleigh                 NC
    [ 6]    108     Goforth                 Chattanooga             ' N' < was TN
    [ 7]    111     Ricci                   Syracuse                NY
    [ 8]    112     McDonough               Brooklyn Park           MN
    [ 9]    113     Kaiser                  Minneapolis             MN
    [ 10]   114     Chopp                   St Paul                 MN
    [ 11]   115     Phillips                St Paul                 MN
    [ 12]   116     Gugliuzza               Mamaroneck              NY
    [ 13]   118     Sanford                 Raleigh                 NC
    [ 14]   120     Stein                   Elmsford                NY
    [ 15]   121     Elkins                  Carmel                  IN
    [ 16]   129     Fahrvergnugen           Baltimore               MD
    [ 17]   131     Sinnot                  Bohemia                 NY
    [ 18]   132     King                    Fort Wayne              IN
    [ 19]   135     Clarke                  New York                NY
    [ 20]   136     Wooten                  Plymouth                MN
    [ 21]   137     Morfek                  Ft. Wayne               IN
    [ 22]   138     Patoff                  Burlington              ON
    [ 23]   141     Pyper                   Fort Wayne              IN
    [ 24]   147     Lela                    Wood Bridge             NJ
    [ 25]   150     Mason                   Don Mills               ON
    [ 26]   152     Jones                   Austin                  NY
    [ 27]   160     Nette                   Port Washington         NY
    [ 28]   163     Peese                   Mississauga             ON
    [ 29]   165     Mournen                 Ft. Wayne               IN
    [ 30]   169     Terlemezian             Matthews                NC
    [ 31]   177     Zubenko                 Raleigh                 NC
    [ 32]   179     Nguyen                  Miramar                 FL
    [ 33]   180     Peros                   Rochester               NY
    [ 34]   181     Teeven                  Washington              DC
    [ 35]   198     Chen                    San Ramon               CA
    [ 36]   199     Mentary                 Rochester               NY
    [ 37]   202     Murphy                  White Plains            NY
    [ 38]   208     Suess                   Albany                  NY
    [ 39]   221     Johnson                 Santa Fe                NM
    [ 40]   331     Johansen                New Orleans             LA
    [ 41]   550     Antolini                Fargo                   ND
    [ 42]   552     OToole                  Nashville               TN
    [ 43]   665     Thompson                Manchester              NY
    43 rows Affected.
    Several queries perform as expected between Crystal Reports and the native SQL query tool.  However, in some cases, the results are different.  Crystal Reports does not return as much data as the native SQL query tool.  I'm not implying which one is correct, I'm merely stating that there is a difference between them.
    In the cases below, the 'Crystal Reports record selection formula' is obtained by navigating the Crystal Reports menu: Report -> Selection Formulas -> Record...
    Single quotes are not specified in the results below - refer above for the actual data in those rows.
    The following cases are inconsistent between the native SQL query tool and Crystal Reports designer:
    Case 1:
    Length of field to be searched: Short (2 chars)
    Wildcard description: letter 'N' + any single character
    Native interactive SQL query and results:
    1 > select id,lname,city,state from customer where state like 'N_'
    Columns:        id      lname   city    state
    [ 1]    101     Devlin                  Rutherford              N
    [ 2]    102     Reiser                  New York                N
    [ 3]    104     Mason                   Knoxville               NN
    [ 4]    107     Colburn                 Raleigh                 NC
    [ 5]    111     Ricci                   Syracuse                NY
    [ 6]    116     Gugliuzza               Mamaroneck              NY
    [ 7]    118     Sanford                 Raleigh                 NC
    [ 8]    120     Stein                   Elmsford                NY
    [ 9]    131     Sinnot                  Bohemia                 NY
    [ 10]   135     Clarke                  New York                NY
    [ 11]   147     Lela                    Wood Bridge             NJ
    [ 12]   152     Jones                   Austin                  NY
    [ 13]   160     Nette                   Port Washington         NY
    [ 14]   169     Terlemezian             Matthews                NC
    [ 15]   177     Zubenko                 Raleigh                 NC
    [ 16]   180     Peros                   Rochester               NY
    [ 17]   199     Mentary                 Rochester               NY
    [ 18]   202     Murphy                  White Plains            NY
    [ 19]   208     Suess                   Albany                  NY
    [ 20]   221     Johnson                 Santa Fe                NM
    [ 21]   550     Antolini                Fargo                   ND
    [ 22]   665     Thompson                Manchester              NY
    22 rows Affected.
    Crystal Reports record selection formula and results:
    {customer.state} like "N?"
                            id  lname                 city                  state
                           104  Mason                 Knoxville             NN
                           107  Colburn               Raleigh               NC
                           111  Ricci                 Syracuse              NY
                           116  Gugliuzza             Mamaroneck            NY
                           118  Sanford               Raleigh               NC
                           120  Stein                 Elmsford              NY
                           131  Sinnot                Bohemia               NY
                           135  Clarke                New York              NY
                           147  Lela                  Wood Bridge           NJ
                           152  Jones                 Austin                NY
                           160  Nette                 Port Washington       NY
                           169  Terlemezian           Matthews              NC
                           177  Zubenko               Raleigh               NC
                           180  Peros                 Rochester             NY
                           199  Mentary               Rochester             NY
                           202  Murphy                White Plains          NY
                           208  Suess                 Albany                NY
                           221  Johnson               Santa Fe              NM
                           550  Antolini              Fargo                 ND
                           665  Thompson              Manchester            NY
    Note that the first two rows are not present here.
    Case 2:
    Length of field to be searched: Short (2 chars)
    Wildcard description: letter 'N' + one space 
    Native interactive SQL query and results:
    1 > select id,lname,city,state from customer where state like 'N '
    Columns:        id      lname   city    state
    [ 1]    101     Devlin                  Rutherford              N
    [ 2]    102     Reiser                  New York                N
    2 rows Affected.
    Crystal Reports record selection formula (menu: Report -> Selection Formulas -> Record...) and results:
    {customer.state} like "N "
                            id  lname                 city                  state
    No data is displayed.
    Case 3:
    Length of field to be searched: Long (20 chars)
    Wildcard description: 0 or more + 'en' + space + 0 or more
    Native interactive SQL query and results:
    1 > select id,lname,city,state from customer where lname like '%en %'
    Columns:        id      lname   city    state
    [ 1]    129     Fahrvergnugen           Baltimore               MD
    [ 2]    136     Wooten                  Plymouth                MN
    [ 3]    165     Mournen                 Ft. Wayne               IN
    [ 4]    179     Nguyen                  Miramar                 FL
    [ 5]    181     Teeven                  Washington              DC
    [ 6]    198     Chen                    San Ramon               CA
    [ 7]    331     Johansen                New Orleans             LA
    7 rows Affected.
    Crystal Reports record selection formula (menu: Report -> Selection Formulas -> Record...) and results:
    {customer.lname} like "*en *"
                            id  lname                 city                  state
    No data is displayed.
    Case 4:
    Length of field to be searched: Long (20 chars)
    Wildcard description: 0 or more + 'en' + any 7 chars
    Native interactive SQL query and results:
    1 > select id,lname,city,state from customer where lname like '%en_______'
    Columns:        id      lname   city    state
    [ 1]    129     Fahrvergnugen           Baltimore               MD
    1 rows Affected.
    Crystal Reports record selection formula (menu: Report -> Selection Formulas -> Record...) and results:
    {customer.lname} like "*en???????"
                            id  lname                 city                  state
    No data is displayed.
    Case 5:
    Length of field to be searched: Long (20 chars)
    Wildcard description: 0 or more + 'en' + seven spaces
    Native interactive SQL query and results:
    1 > select id,lname,city,state from customer where lname like '%en       '
    Columns:        id      lname   city    state
    [ 1]    129     Fahrvergnugen           Baltimore               MD
    1 rows Affected.
    Crystal Reports record selection formula (menu: Report -> Selection Formulas -> Record...) and results:
    {customer.lname} like "*en       "
                            id  lname                 city                  state
    No data is displayed.

    Clint,
    Yes, I think that would probably work fine. 
    The point here is that I think there is a bug in the way Crystal Reports processes wild card strings and passes the sql to the downstream database.  Crystal Reports should translate the wild card strings into the corresponding sql standard syntax, and pass the wild card string to the database, but it does not appear to be doing this.
    At this point, I am only interested in notifying the SAP / Business Objects engineering department of this bug, or in posts that point me to a fix to the bug, rather than a work-around.
    Thanks . . .
    - Jay

  • Using wildcard parameters for MDX and RSQL queries

    Hi,
    Passing parameters to MDX and RSQL queries works,but is there a way we can pass wildcard(%) parameters to MDX and RSQL
    Thanks,
    Hari Devarapalli

    Hari -- Try this Instr function -
    http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.dwe.cubemdx.doc/mdx_instr.html
    Thanks,
    Venkat

  • Prevent BeX Analyzer from stealing focus while executing several queries

    Hi all,
    we have a vba program that runs several 3.5 queries in Excel (SAPBEXrefresh)
    Does anyone knows a solution to prevent BeX Analyzer from stealing the focus each time a new query starts or completes.

    I too am trying to find solution to this very same problem.
    I created a Excel VBA program to batch process BEx reports, which works great, but the users are finding that they can't work on anything else while the process runs, as BEx always returns the focus to the Excel window as each BEx report run is completed!
    In our googling, we ran across the following thread, which I've found so far to have the most detailed discussion of this problem:
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/sapbex-takes-focus-1188178?cv=expanded
    Unfortunately, no final resolution was provided there, and the thread is over 2 years old, and it looks like the poster who was closing in on the solution hasn't logged in to that particular forum in 2 years as well.
    But why don't you take a look at the link anyway, as it may give you some ideas. I will also continue to use that poster's ideas to try to work out a solution, and if I come across one, I will certainly share it with you.

  • Prevent Queries When Page First Loads

    Hi,
    How to Prevent Queries When Page First Loads: in this case #{!adfFacesContext.initialRender}
    didn’t works. and Jdeveloper 11.1.1.2.0.
    Please help me ..
    Thanks
    Anup

    Hi Mohammad Jabr,
    I have also set refresh property but not working..
    i have follow the link refer https://blogs.oracle.com/shay/entry/preventing_queries_when_page_f
    I want to prevent user to search without selecting any criteria.
    but this is not working..
    Please give any other solution..
    Thanks
    Anup
    Edited by: 888679 on Mar 13, 2013 10:46 PM

  • Wildcard queries

    I am trying to do a simple query where I select from one table.
    I need to select vins and they are 17 digit vins.
    so I need to select where vin position 8 is either an:
    'Z', 'K', 0, 3, 'W'
    well I'm able to do that with a simple like query.
    select * from vehicle where
    vin like (('_______Z_________')
    or .... etc etc....
    but here is my struggle.
    I need to select those based on the 8th position of the vin and then I need to select based on each of those where the 3rd position is either a number or a letter.
    e.g
    select * from vehicle
    where vin like ('_______Z_________')
    and vin like ('__X______________')
    where X is the wildcard which restricts it to either a number or a letter.
    Is there a wildcard in oracle sql for just numbers or just letters.
    I really don't want to write out all 10 digits from 0 to 9 and all letters from A to Z.

    In Oracle 10G you can use regular expressions.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_regexp.htm#ADFNS1003
    Example(I'm not good with regexps but you can have an idea):
    SQL> ed
    Wrote file afiedt.buf
      1  with t as(
      2  select '1234567890' as vin from dual union all
      3  select '12$4567Z90' from dual union all
      4  select '1234567K90' from dual union all
      5  select '12A4567X90' from dual union all
      6  select '12B4567W90' from dual union all
      7  select '12Y4567090' from dual union all
      8  select 'abcdefghij' from dual union all
      9  select '1234567390' from dual)
    10* select *  from t where regexp_like(vin,'^.{7}[ZK03W]')
    SQL> /
    VIN
    12$4567Z90
    1234567K90
    12B4567W90
    12Y4567090
    1234567390
    5 rows selected.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as(
      2  select '1234567890' as vin from dual union all
      3  select '12$4567Z90' from dual union all
      4  select '1234567K90' from dual union all
      5  select '12A4567X90' from dual union all
      6  select '12B4567W90' from dual union all
      7  select '12Y4567090' from dual union all
      8  select 'abcdefghij' from dual union all
      9  select '1234567390' from dual)
    10  select *  from t where regexp_like(vin,'^.{7}[ZK03W]')
    11* and regexp_like(vin,'^.{2}[A-Z|0-9|a-z]')
    SQL> /
    VIN
    1234567K90
    12B4567W90
    12Y4567090
    1234567390
    4 rows selected.Message was edited by:
    Delfino Nunez looking for a job

  • No wildcard in boundary match queries?

    In SharePoint 2013, when I try to submit the following FQL query:
    QUERYTEXT = managedproperty:STARTS-WITH("n*")
    I get this error:
    Microsoft.Ceres.SearchCore.Services.Query.QueryServiceId error: Microsoft.Ceres.SearchCore.FastServer.FastServerException: IndexComponent1-f5d8be27-3653-41ea-8f40-f37341a6d9b3-SP8a064cb15f50.I.0.0: WILDCARD not allowed in boundary operation
    Is this a known, and expected behavior?  The same query works fine in FS4SP.  And I know, they are completely different products and a "Best of both" approach was taken when merging SPSearch and FAST Search.  But I keep running
    into undocumented limitations of search in SP2013 and it's getting annoying and looking more like a "some of both" approach was taken.

    Hi tatersnacks,
    According to your description, my understanding is that you want to create a scope to match all items which have a managed property starting with “n” in SharePoint 2013.
    From the MSDN article for SharePoint 2013:
    More information:
    https://msdn.microsoft.com/EN-US/library/office/ff394606(v=office.15).aspx
    so, for your issue, please remove the “*” from the query, like: QUERYTEXT = managedproperty:STARTS-WITH("n").
    And, the query is also for SharePoint 2010, more information about SharePoint 2010 FAST query START-WITH, please refer to the link:
    https://msdn.microsoft.com/EN-US/library/office/ff394462(v=office.14).aspx#fqloperator_starts_with
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • How to rename the column field names

    hello guys, i am retrieving my field names from the database and i view it thru HTML. When i view it,the column names are those which are given while creating tables. Ex.. fname,lname,phno, i want it as First Name,Last Name,Phone Number etc ...<% try

  • How can i sycronize my ipod mini 2nd generation with itunes 11.1.5.5.

    Hi, I found my old ipod mini 2nd generation and I would like to update it my current version of itunes is 11.1.5.5 and my operating system is windows 7 the original cd doesn´t work anymore. can anybody please help? Thanks Ull

  • Keynote View During Projection

    I recently purchased a mini-DVI to VGA adapter for my MacBook. When I went to play my presentation, it came up on the projector in Rehearse View. Also, as I went back to the Desktop to try and reopen the application, but that didn't work either. Also

  • Signal booster that works ???

    my signal was not bad here at my home, but lately I am dropping calls like crazy.  Is there a signal booster that really works ?

  • Policy agent fot apache tomcat opensso

    Hi, I am looking for policy agent fot apache tomcat opensso 8 u2. Can anyone post the url for the same