Query on Pattern Option
Hi folks...........
Can any one tell me how to use pattern option in select query...??
Thanks & Regards........
Rajeev
Hi
Using the wildcards "%" or "_".
*Eg: Select * from <table> where name LIKE 'M%'.*
*Eg: Select * from <table> where name LIKE '____'.*
Hope it helps.
Murthy
Similar Messages
-
Query or Profile Option to find Current logged in user in oracle apps R12
Query or Profile Option to find Current logged in user in oracle apps R12.
I want to get value of current user who is logged in to that particular session, based on the value of user_id or user_name returned i have to do a Forms Personalization.
Plz help.
Regards,
Sadiya P.Hi Sadiya,
do you have the answer for this? please send it to me because i am also have same requirement. so plz post it here.... -
Bug in Illustrator CS6 pattern options palet
I found out that it was not possible to create a patern swatch with a single copy of 1x1. The preview window kept showing at least a 3x3 version and if you drag the swatch from your swatches pallet it copies 3x3 swatch.
Does any one else experienced the same issue and knows a work around??Hi Wayne,
I'll show you in 5 steps what I mean (see images):
1 I create a shape with some text or other shapes in it
2 I drag it into the swatches panel
3 I double click on the new swatch and make the number of copies 1x1 and click on "Done" (the preview next to the tile type shows more!)
4 I drag the swatch edited in "Pattern options" from the swatch panel onto my Artboard and it creates multiple shapes
5 Is an example of dragging the same swatch from the Swatches pallet without editing it in "Pattern options" -
FR 11.1.1.3 "export to query ready mode" option not working
Hi All,
We have a scenario where few users are not able to use the "export to query ready mode" option after running an FR report.
For some reason the save dialog box doesnt open or doesnt pop up when this option is ticked.
Note that this issue comes only on running FR Essbase reports. (for FR HFM reports it works fine)
Does any body have any resolution to this.
Kindly advise.Hi,
Can anybody explain me the option of this *"Export in Query ready mode"*???
Is there any document through which I can understand???
Thanks
Sourabh
Edited by: CM on May 11, 2011 6:32 AM -
How to query a DHCP option field?
I am able to successfully define various DHCP Option codes for use with Apple's DHCP server and indeed I am the person who wrote a GUI utility to make it much easier to generate the data values needed to do this. The following is a typical example of what you need to (manually) add to /etc/bootpd.plist
<key>dhcpoption66</key>
<data>
CgBklg==
</data>
I am also able to query specific DHCP option codes (as provided by Apple's DHCP server as above) using IPNetMonitorX from Sustainable Softworks. However it should I believe be possible to do the same tests via the command line in Terminal using the ipconfig getoption command, please see the "man ipconfig" page.
While as an example "ipconfig getoption en0 router" works fine, I cannot seem to get the right syntax for querying a specific DHCP option code, despite the man page suggesting this should be possible. Unfortunately like nearly all man pages, the information is very skimpy and the examples practically non-existant.
Could anyone reply with the correct syntax to query as an example DHCP option code 66?
I suppose (gasp!) Apple could have a bug in ipconfig preventing the ability to query option codes. (Shock, horror!)MrHoffman wrote:
When in doubt, use the source.
The DHCP [client.c source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/ipconfig.tproj/client.c] might be interesting here.
The core of the option-related code looks to be over in the [dhcp_options.c source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/bootplib/dhcp_options.c ?txt] and what looks to be the option tag table mapping is over in the [gendhcp_parsetable.h source code|http://www.opensource.apple.com/source/bootp/bootp-198.2/bootplib/gendhcp_parsetable.h].
A quick read of the source files and particularly the routines command_info and Sgetoption and the tag table implies that the +ipconfig getoption en0 66+ command might work. Or maybe +ipconfig getoption en0 tftpservername+ will work.
When I test this syntax, I get +ipconfiggetoption failed, (os/kern) failure+ and which obviously doesn't bode well for this syntax, but then I likely don't have any of the related stuff enabled on this test network. (And I'm only very quickly reading the C code here...)
I have not found and viewed the source but I had tried that exact syntax (as per your example) and got the exact same error hence my comment that maybe (gasp!) there is a bug here.
I have submitted a bugreporter entry and will have to wait and see if Apple reply.
Thanks for the apparent confirmation. -
Photoshop "Fill" Dialog Box is missing "Scripted Pattern" option..
Photoshop "Fill" Dialog Box (using the most current Creative Cloud) is missing "Scripted Pattern" option which is supposed to be at the very bottom. Instead, in the middle of the box I have the option to check the word "Script" which brings up only six fill patterns (such as Brick, Sprial, etc). In the tutorials I see that by using Scripted Patterns (the tree option for one) brings up many, many choices.
Big changes made in Fill between CC and CC 2014. CC Fill dialog on top CC2014 Fill dialog bottom. Picture Frame and Tree moved from Fill to Render Filter and new Flame pattern added into render filter grouped with Picture Frame and Tree.
-
NX-OS EEM command/pattern option
Hello,
In IOS under EEM action we have command and pattern options to provide an imput based on specific pattern. I can not find that option in NX-OS. Is there any other syntax in NX-OS for similar application? Basically on a specific track down event I need to telnet to other NX-OS sytems and am trying to get it done using EEM on NX-OS. Any suggestions are appreciated.
Thank you.Unfortunately, this is not possible on NX-OS. EEM on NX-OS is EEM by name only. The feature is very different than it is on IOS. What you could do is use an IOS box as a proxy. That is, send a trap using EEM from your NX-OS box, then have IOS do the telnet to the other NX-OS box to perform the necessary commands.
-
Query Time out option in OpenRowSet
Team,
My requirement is to loop through around 100 SSAS Instances and run an MDX query and get response from SQL Server.
To achive this , I used openrowset solutions
SET @sqlquery =N'SELECT @LastScanperiod = [[Measures]].[Last Scan Date Internal]]]
FROM OPENROWSET(''MSOLAP'', ''DATASOURCE=' + @CubeServername +';Initial Catalog=' + @CubeDBName +';Timeout=10''
,''SELECT {[Measures].[Last Scan Date Internal]} ON 0
FROM [' + @CubeName +']''
SET @params = N'@LastScanperiod INT output';
EXEC sp_executesql @sqlquery,@params,@LastScanperiod = @LastScanPeriodKey OUTPUT
But few of the servers might be down or may take longer time to respond. I would like to Timeout after a specified period of time instead of waiting until server responds. Even though I specified Timeout option as 10 sec , still
its not working. Any idea how to solve this?
Thanks,
PrathapReading about the connection-string properties for MSOLAP on
http://msdn.microsoft.com/en-us/library/dn140245.aspx
it appears that you should specify "Connect Timeout" rather than "Timeout". Timeout is the command timeout, that is for how long you permit a command to run once you are connected.
Erland Sommarskog, SQL Server MVP, [email protected] -
Query variable : selection option with no interval
Hello,
Is it possible to define a query variable as selection option, with no interval (like in abap).
I am in 3.X version.
Many Thanks in advance,
ManuelHi Manuel,
This should be possible through multiple single value variables, but to ensure that the user has not in input the same charateristic value for exclusion and selection you may choose to write customer exit at the background.
I think interval and select option would allow 'To values'.
So I was wrong in what I said before. SORRY
However multiple single value would not allow exclusion, I think.
Your scenario would only be possible by excluding multiple single values in variable type select option and process the variable using customer exit, to trmove all to Values.
But you are right, you cannot have your scenrio handled , I think.
( ie multiple exclusion in from values with no To Values )
One more way is restrict your characteristic by two input ready variables, one select option for exclusion and have a customer exit to delte all inclusion that were input accidently and one multiple value ready for input variable.
But, all in all, there would be no straight drive through this I think.
Hope it helps,
Regards,
Sunmit. -
Selection screen for SAP Query: OR between options
Hi,
I have a SAP Query and I need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants.
ThanksIn abap you can do it, but not sure how you do it in query.
if s_matnr[] is initial or s_werks[] is initial.
Do something
endif. -
Query on –m option of iptables command
I have a query on the use of the –m option of iptables command in RHEL 6.0. I have seen commands like:
iptables –A INPUT –m state --state ESTABLISHED,RELATED –j ACCEPT
which makes quite good sense but the below command:
iptables –A PREROUTING -s 10.101.17.34 –d 10.101.15.84 –p tcp –m tcp --dport 443 –j REDIRECT –to-ports 30080
does not seem to be useful as tcp is already given against the –p option then what is the use of specifying –m option again with tcp. I am be wrong on this.
I hope my query is clear.
Please revert with the reply to my query.
RegardsHi,
When we see the man command for iptables which is the manual reference.
# man 8 iptables
-m, --match match
Specifies a match to use, that is, an extension module that tests for a specific property. The set of matches make up the condition under which a target is invoked. Matches are evaluated first to last as specified on the command line and work in short-circuit fashion, i.e. if one extension yields false, evaluation will stop.
For more information, look at this URL.
The match can be: account , comment , connbytes , connlimit , ipv4options , osf, recent, set, tos, tcp, udp
For more information, look at this URL.
I hope this can help you
Best Regards -
Possibe to query for pattern when creating view?
Hi all,
As title, I would like to know if it is possible to screen out some patterns from typing queries in View?
Since I get no result even I use "LIKE 'pattern'"
Thanks.Hey! Thank you for the quick responds from you guys!! Impressed =]
Hmmmm.. I think I am not familiar with database/SQL, forgive me on asking silly questions.
The prob was like the post last time, that is, I have fields for users to entry text descriptions, what I have to do is to find out all text having that sequence and list it out by creating a view.
Last time I got the TRANSLATE method works, however, we are not able to control users' input and there are always some exceptions to be handled.
Say, last time, I have to find out pattern of alphanumeric with digit first followed with a character. I discover that there are users which might input them, for example, having a space between them. (e.g. 99A (ideally) -> 99 A 79 B)
when I try to use the TRANSLATE scheme to include this situation, the result contains many unrelated records.
I am just not sure if I am able to create that view in TOAD in the VIEW page by entering a query, as it seems that whenever I use "[]" or "REGEXP_LIKE ''", I was warned of the use of operators.
I am just wondering if I could just use those operators in functions / procedures, or if there is some way that I am able to use those operators in the query of VIEW..?? Currently in my mind, if those functions don't work, I think substring of substrings would be able to handle some of the case, but the query would be very very very very long tho.
THANKS!!
I have some info to update here!
The version of ORACLE I use is 9i (9.2.0.5.0), ty =]
Edited by: user8644821 on Jul 21, 2009 11:12 PM -
How to query using 3 optional inputs and case insensitive using SQL?
Hi Folks,
I am having trouble with the following query:
select *
from t1
where (1=1)
and lower(fname) like lower ('%mary%')
and lower(lname) like lower ('%smith%')
and lower(status) like lower ('%%')
I need all three statements in the where clause to be completely optional and case insensitve.
if I just write the following:
(1=1)
and lower(fname) like lower ('%mary%')
and lower(lname) like lower ('%%') <-- Need to ignore this line
and lower(status) like lower ('%%') <-- need to ignore this line
nothing is returned. How do I ignore the 2nd and third lines using SQL only. I know about the ask TOM Article using procedures, but I need to do this using SQL only
thanks in advance
Edited by: user2184537 on Oct 16, 2009 9:40 AM
Edited by: user2184537 on Oct 16, 2009 10:10 AMHi,
Is this query generated dynamically? (That's the only reason I can see for saying "WHERE 1 = 1".)
If so, test the parameters for NULL, and only add them if a value was given.
Failing that, you can explicitly test for NULL parameters
where ( lower(fname) = '%' || lower (:p_fname) || '%'
OR :p_fname IS NULL
and ( lower(lname) = '%' || lower (:p_lname) || '%'
OR :p_lname IS NULL
and ( lower(status) = '%' || lower (:p_status) || '%'
OR :p_status IS NULL
)Did you really mean to have all those '%''s? '%' is a wildcard in LIKE operations, but not when using =.
Perhaps you should be saying:
where ( lower(fname) = lower (:p_fname)
OR :p_fname IS NULL
and ( lower(lname) = lower (:p_lname)
OR :p_lname IS NULL
and ( lower(status) = lower (:p_status)
OR :p_status IS NULL
)You're already handling case-sensitivity, by using LOWER in all the comparisons.
Unfortunately, you can't just say something like:
WHERE LOWER (fname) = LOWER (NVL (:p_fname, fname))because that would discartd rows where fname IS NULL when :p_name is also NULL.
Edited by: Frank Kulash on Oct 16, 2009 12:54 PM -
Hi
I have a cube with measure Sales and one of the dimensions is product which has got a hierarchy
So when I query the cube like
select sales, dim_product
from sales_cube
where dim_time= '2008'When I get the results it looks like
product1_parent 10000
product1_child1 2500
product1_child2 7500
product2_child1 4500
product2_child1 4500
product2_child2 2500
product2_parent 2500so my question here is is there any pattern in which the olap returns this query. does the result depend on the hierarchy order in the dimension table ?
How can I ask the cube to return the results like
product1_parent
product1_child1
product1_child2
product2_parent
product2_child1
product2_child2The 'hierarchy view' contains a HIER_ORDER column, so you can join this to the fact and order accordingly. For example
select sales, dim_product
from sales_cube s, product_hier_view p
where p.dim_key = s.dim_product
and dim_time= '2008'
order by p.hier_orderObviously you will need to replace 'product_hier_view' with the appropriate view in your schema. -
Create Pattern option in JDev 10.1.3.2 preview mode
I've put my JDeveloper 10.1.3.2 in preview mode by adding the following line to the jdev.conf file:
AddVMOption -Dpreview_mode=true
Now I can see a new icon appearing in some of my scopes in the BPEL processes. Click on the link to see a screenshot:
http://www.siteminds.nl/img/bpel/bpel_create_pattern.jpg
If I click it, the following dialog opens:
http://www.siteminds.nl/img/bpel/bpel_create_pattern_dialog.jpg
Can anyone tell me what this option is for, or where I can find some documentation on it?
TIA,
BasWithout the preview mode turned on it's not there in 10.1.3.3..... With the preview mode on, it's also there in 10.1.3.3. It doesn't appear to do anything though.
Cheers,
Bas
Message was edited by:
Bastiaan Schaap
Maybe you are looking for
-
Can you have more than three ipods registered to a itunes account?
Everyone in our family has a ipod video. so we have a total of 5 in the house. The question I am wondering about is.. can more than 3 ipods be registered to an itunes account? and if not..can we make a new account for the other two? when my son is at
-
MB GUI locking up when waking from sleep
This doesn't happen every time, but sometimes when I wake the MB, the screen will freeze. The OS is still operating, I can ssh in to the machine. The cursor still responds, but I can't click on anything. The clock will be frozen at the time when the
-
SOAP to RFC Scenario - Error at Sender Communication channel !!
Hi Experts , I am trying to execute a SOAP to RFC scenario . At SOAP sender channel level I am getting the error in RWB . My findings :- 1. Error at RWB 9/24/09 4:24:10 PM error occured 9/24/09 4:24:06 PM request receive
-
What can I do to connect to chatroulette?
I have uninstalled and reinstalled flash player 17 and chatroulette continues to not work. What is the issue?
-
Is it possible to play java runtime machine videos on firefox mobile?
A video lesson is on a website as a java video. When I try to pull it up, it says I am missing the extension.