Impossible to apply the functional base index
Hi gurus
For my learning, I am applying the functional index of basic but looks like I'm doing something wrong, see below for my code and appreciate your answers.
Code example
DROP TABLE my_table;
CREATE TABLE my_table
(
AA: PRIMARY KEY number 4
aa_desc VARCHAR2 (30),
aa_type VARCHAR2 (10)
) ;
CREATE INDEX first_name_idx ON my_table (aa > 10 and upper (aa_desc) = "SA" and aa_type is null).
Thanks in advance
Concerning
Shu
SQL> create table my_table1 2 ( 3 aa number(4) primary key, 4 aa_desc varchar2(30), 5 aa_type varchar2(10) 6 ) ; Table created. SQL> create or replace function my_table_check 2 ( 3 p_aa in my_table.aa%type 4 , p_aa_desc in my_table.aa_desc%type 5 , p_aa_type in my_table.aa_type%type 6 ) 7 return number 8 deterministic 9 as 10 begin 11 if (p_aa > 10 and upper(p_aa_desc) = 'SA' and p_aa_type is null) then 12 return 1; 13 else 14 return 0; 15 end if; 16 end; 17 / Function created. SQL> create index my_table_idx on my_table1(my_table_check(aa, aa_desc, aa_type)); Index created. SQL> explain plan for 2 select * 3 from my_table1 4 where my_table_check(aa, aa_desc, aa_type) = 1; Explained. SQL> set linesize 130 SQL> set pagesize 200 SQL> SQL> select * from table(dbms_xplan.display); PLAN_TABLE_OUTPUT ---------------------------------------------------------------------------------------------- Plan hash value: 3962327877 -------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | -------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 37 | 1 (0)| 00:00:01 | | 1 | TABLE ACCESS BY INDEX ROWID| MY_TABLE1 | 1 | 37 | 1 (0)| 00:00:01 | |* 2 | INDEX RANGE SCAN | MY_TABLE_IDX | 1 | | 1 (0)| 00:00:01 | -------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 2 - access("V195588"."MY_TABLE_CHECK"("AA","AA_DESC","AA_TYPE")=1) Note ----- - dynamic sampling used for this statement 18 rows selected. SQL>
Tags: Database
Similar Questions
-
How the batch of photos of change in Version 2.0 of Photos... impossible to find the function. If it has been deleted to "improve" the Photo experience?
Lot, what exactly will change?
Titles, Descriptions and capture date - Yes.
Select the images you want to change the title or the description and to set-up the info (command-i) pane. Enter the title or the description in the appropriate field and he will be assigned to all selected pictures.
If you want to batch, change the title with sequential use attached many Applescripts provided by users in the Photos for Mac user tips section.
Batch change/correction of dates is provided by the Image ➙ setting Date and time menu option:
-
Impossible to apply the update
Automatic updates of Windows using these 4 security updates continually fails when you try to update - KB973705 KB974554, KB972580 KB974771.
I used the automatic Windows update successfully for years.I was directed DIRECTLY download each update security - individually.
I went to-http://www.microsoft.com/downloads/en/results.aspx?displaylang=en&freetext=security%20update
and KB973705 KB974554, KB972580 KB974771 added one at a time
in the search engine, then downloaded successfully on my desktop.I tried to use each installation file, and had all the programs are closed including antivirus programs.
Every time that crosses the entire patch update process, and then at the end, I get this error message.
IMPOSSIBLE TO APPLY THE UPDATE
I try next?
Hello
Welcome to Microsoft Windows 7 answers Forum!
You can try the steps below and check if the problem is resolved.
This problem may occur if some of the windows update components are corrupt, so we will try to reset the windows update components and find the number.
You must follow the link provided below to run the fixit which will automatically fix the problem if you find problems with the fixit, then you can follow the procedure to manually reset Windows component update.
How to reset the Windows Update components?
http://support.Microsoft.com/default.aspx/KB/971058
Also, visit the following link for more reference.
Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update
http://support.Microsoft.com/kb/910339/
Hope this information is useful.
Thank you, and in what concerns:
Suresh Kumar-Microsoft Support.
Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.
-
Hi all!
need help - creating an application in Application Express 4.2.4.00.08 and got this error when you click Create:ORA-01654: impossible to extend the APEX_040200.WWV_FLOW_ROW_TEMPLATE_PK index by 8 in the APEX_APP_USER tablespace
everything worked perfectly before...
installed on the local computer on Oracle 11 g...
all solutions?
Hello
You can find APEX schema tablespace and data file using for example query
SELECT f.tablespace_name ,f.file_name FROM dba_data_files f WHERE EXISTS ( SELECT 1 FROM dba_users u WHERE u.username = 'APEX_040200' AND u.default_tablespace = f.tablespace_name );
Then increase the size of the data file or add the new data file. In addition, you can activate the automatic extension.
If you use database 11g XE and you have installed APEX SYSAUX tablespace, you may have worn size the system tablespace (s) max.
Kind regards
Jari
-
Impossible to apply the resource DRS settings on host.the of object has already been completely created this can drastically reduce the effectiveness of the DRS
host is having above mess on summer please help on this
I found the correct solution
ESXi 5.1 U3 is the permanent fix for this issue
U3 is fix
-
Reg - Index of the functional basis
Hi all
In our application, we have a clue of the type below
And when I view its details in ALL_INDEXES noted as NORMAL of BASIC FUNCTIONAL index, from my first glance I misread it as SUBSTR, but I'm not able to represent something of the syntax.CREATE INDEX sme_idx ON sme_tbl(sme_col,1,2)
What does '1.2' mean here? What is the use of having this kind of clue?
Please help me.He held a function-based index, because the right-hand columns are constants.
If it is not uncommon to have a constant leak like that to be sure that nulls in SME_COL are included in the index, I don't understand why you would have two constant end. I would have thought that it was an error, typo, or just a complete misunderstanding.
-
What is the purpose of the function Array Index in the example attached?
Hello
I'm fighting with the Array Index function. I found the attached VI on the OR site which was exactly what I wanted to do, but rather than simply accept that it works and use it, I wanted to understand.
What is the purpose of the function Index of table inside the while loop? If I put a probe on part and on the other, the values are the same, but if I remove the service and connect directly to the > function, I get an error.
I do not understand the tables but I don't understand what is happening here. Any help would be appreciated gratefully.
Thanks in advance.
It is just picking the first reading of the table in the waveform. If it's good enough (I'd take at least the average of N samples), why not cela?
-
Impossible to apply the resource of DRS
The VI interface I have a yellow box on this node within a message saying:
Impossible to apply settings of resource of DRS on the host 'XXXXX' (reason: a general error occurred: failure). This can drastically reduce the effectiveness of th DRS
Here are my logs to vmkwarning (the end of the file):
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.482 cpu4:1041) WARNING: ScsiDevice: 3731: ABILITY to READ on device "vml.02000b000060060e8005488c000000488c0000074e4f50454e2d56" Plugin "legacyMP" failed. Not supported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.483 cpu4:1041) WARNING: ScsiDevice: 3362: failed to vml.02000b000060060e8005488c000000488c0000074e4f50454e2d56: unsupported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.483 cpu4:1041) WARNING: ScsiDevice: 3731: ABILITY to READ on device "vml.02000b000060060e8005488c000000488c0000074e4f50454e2d56" Plugin "legacyMP" failed. Not supported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.484 cpu4:1041) WARNING: ScsiDevice: 3362: failed to vml.020009000060060e8005488c000000488c000007284f50454e2d56: unsupported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.484 cpu4:1041) WARNING: ScsiDevice: 3731: ABILITY to READ on device "vml.020009000060060e8005488c000000488c000007284f50454e2d56" Plugin "legacyMP" failed. Not supported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.484 cpu4:1041) WARNING: ScsiDevice: 3362: failed to vml.020009000060060e8005488c000000488c000007284f50454e2d56: unsupported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.484 cpu4:1041) WARNING: ScsiDevice: 3731: ABILITY to READ on device "vml.020009000060060e8005488c000000488c000007284f50454e2d56" Plugin "legacyMP" failed. Not supported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.485 cpu4:1041) WARNING: ScsiDevice: 3362: failed to vml.020009000060060e8005488c000000488c000007284f50454e2d56: unsupported
31 Mai 15:06: 20 GQV00500 vmkernel: 82:05:12:21.485 cpu4:1041) WARNING: ScsiDevice: 3731: ABILITY to READ on device "vml.020009000060060e8005488c000000488c000007284f50454e2d56" Plugin "legacyMP" failed. Not supported
2 Jun 03:01:29 GQV00500 vmkernel: 83:17:07:32.631 cpu2:1036) WARNING: FS3: 3495: status bad003f cleaning HB
Did you try this KB
vcbMC - 1.0.6 Beta
Lite vcbMC - 1.0.7
-
Impossible to apply the swf police embedded in the text in text layout
Hello
We have created a SWF for a police given (e.g., Calibri.swf) that contains all the styles (Regular, Italic, Bold, BoldItalic).
We have created an xml that lists the name of the font and the path of the swf file. The names of xml is loaded into a drop-down list box in the application.
When we try to apply the font selected in a text under text layout, it does the same. It sets the font to the font "Times" by default.
Here is a snippet of code to apply the font for the text:
private void selectFont(fontXML:XML):void {}
var path: String = fontXML.@source;
var myEvent:IEventDispatcher = styleManager.loadStyleDeclarations (FlexGlobals.topLevelApplication.url.substring (0, FlexGl obals.topLevelApplication.url.lastIndexOf("/"))+"/"+path);)
myEvent.addEventListener (StyleEvent.COMPLETE, {function(event:StyleEvent):void}
var editManager:EditManager = textFlow.interactionManager as EditManager;
var itextLayout:TextLayoutFormat = new TextLayoutFormat();
itextLayout.fontSize = 20;
var fontName:String = fontXML.@name;
Alert.Show (FontName);
itextLayout.fontFamily = fontName;
Alert.Show ("itext =" + itextLayout.fontFamily);
editManager.applyFormat (itextLayout, itextLayout, itextLayout);
var flowLeafElement:FlowElement = textFlow.findLeaf (editManager.anchorPosition) as element FlowElement.
editManager.changeStyleName (fontName, flowLeafElement);
});
}Can someone please let us know what is missing in the implementation?
Thanks in advance.
Vikram
Did you put the fontLookup in ITextLayoutFormat? It must be set to search for the police as an embedded policy. I think that, by default, it will consider it as a device font.
-robin
-
Apply the function of a column of a Ref Cursor
Hello
I have a stored procedure that returns a refcursor. Is it possible to apply a function as for example SUBSTR LPAD and a custom on a column in the refcursor function returned? The problem is that I can't change the existing stored procedure and I was wondering if it would be possible to write somewhat a wrapper procedure (or an anonymous PL/SQL block) that would actually apply a scalar function and only then return the result to the client?
Thanks and regards,
Sweardo you want after retrieve you records of Ref Cursor
SQL> create or replace 2 procedure rc_test (p_rc out sys_refcursor) 3 is 4 l_rc sys_refcursor; 5 begin 6 open l_rc for 7 select dummy from dual; 8 p_rc := l_rc; 9 end; 10 / Procedure created. SQL> declare 2 r sys_refcursor; 3 v varchar2(1); 4 begin 5 rc_test (r); 6 fetch r into v; 7 dbms_output.put_line (lower (v)); 8 close r; 9 end; 10 / x PL/SQL procedure successfully completed.
-
Impossible to apply the skin in Media Player
original title: Media Player
I downloaded the skin KENWOOD_MPXP 05/12/2012 to my Media Player but when I try to apply it to help the skin to apply using the selector appearance, it does not work. However, if I go to my downloads folder and open it from there, he will work until I go full screen. Then it still does not work and I have to repeat everywhere in the download process. What can I do to apply the skin of my Media Player?
Hi TJ.
Welcome to the Microsoft Community and thanks for posting the question.
According to the description, it looks like you are facing a problem while applying a skin for Windows Media Player.
It would be awesome if you could answers to these questions in order to help you further.
1. what version of Windows Media Player do you use?
2. which version of the Windows operating system is installed on your computer?
3. have you made changes on the computer before this problem?
I suggest you to see the steps in the following Microsoft article.
Windows Vista: Change the appearance of Windows Media Player by using skins: http://windows.microsoft.com/en-US/windows-vista/Change-how-Windows-Media-Player-looks-using-skins
Windows 7: change the appearance of Windows Media Player by using skins: http://windows.microsoft.com/en-US/windows7/Change-how-Windows-Media-Player-looks-using-skins
Reference:
If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.
-
Impossible to apply the behavior to an image - behaviors panel is dimmed
I have a photo gallery set up with thumbnails and a large image. In the past, it was easy to select the tile and add the behavior of the swap on the thumbnail image to have a big image change as you hovered over the tile. Now, if I select the thumbnail image, the behaviors panel is grayed out, not allowing me to apply the behavior. Help!
Hi Jon,
Code is clean. Good news - I got it to work. I uninstalled Dreamweaver, reinstalled, double checked the above suggestion of Nancy O and own the behaviors panel.
Thank you all!
-
Impossible to apply the hyperlink to text
I am new to Muse. Can someone tell me what I need to (see attached image). I want to apply the hyperlink to text elements and I do not understand how to change the text block to not require framing. Help, please.
Chris
The police or the police that you use in the paragraph where you try to make a hypertext link is a system font and not a "police Safe Web" or a police Tyepkit taken in charge.
Unless you use a Web safe font or install that a Muse supported TypeKit fonts when designing or on your web page - Muse will turn these words into images in order to preserve their appearance (because not everyone has this font you like as above, installed on their computers), and since they have been transformed into images they can be used to make hypertext links.
Secure Web fonts:
http://www.speaking-in-styles.com/web-typography/Web-safe-fonts/
http://www.WPDFD.com/issues/87/knowing_about_web_safe_fonts/
Fonts taken Typekit support for Muse
http://museinsider.com/how-to-add-Typekit-fonts-to-your-Muse-site.html
http://TV.Adobe.com/watch/Adobe-inspire-magazine/using-Typekit-with-Adobe-Muse/
-
Impossible to apply the Animation of the title
First Elements 8 don't apply animation title to a certain title.
The same track contains a few other titles, to which I was able to apply the animation of the title without problem.
I tried dragging the problematic title (in fact, problematic titles) to a separate track, but this does not solve the problem.
Is there a solution/workaround?
Is this a known issue?
Where the problem comes not from?
Two thoughts:
(1.) you try to add a fade-in and an Animation of bland-out title to a title? If so, use Ctrl-K to cut your title into two pieces in the middle right. Add your choice of fade-in for the first, then your bland-out per second.
2.) you have more than one line of text? Title Animations would apply ONLY to the line above. The way around this is to make a separate title for each line and place them above the other on different video tracks. Jose a limitation of entertainment title.
Good luck
Hunt
-
How Oracle called the hidden for the function-based index columns?
I came across an interesting problem today. Statistics object for a schema that have been created on the basis of data X have been imported into a 'identical' to the database schema Y.The problem is that, on the basis of data X a group of hidden columns associated with index based service (FBIs) were named SYS_NC00182$ to SYS_NC00191$ and on the basis of data Y the same hidden columns were named SYS_NC00183$ to SYS_NC00192$! The consequence was that statistical column for an FBI data base X have been used for a totally different FBI on the database Y.
Now, of course, if this was g 11 or 12 c I could just create virtual columns and those of the index. In this way the names of the columns would be compatible on databases. However, it is a 10g database, and I do not have this option.
I am curious to understand how Oracle generates these hidden column names. I'm also curious if, in 10g, there is a way to identify the name of a column hidden for an FBI that doesn't involve a statement explain plan running on a query that uses all the expressions of the FBI for the table.
The names of $ SYS_NCnnnnn are based on the internal column id - what is loosely based on the order of creation of the FBI. If you delete a column the column internal ids (after this column), which means the names for the SYS_NCnnnnn$ the change. An opportunity to explain your results is that a (real) column on the X data table fell, but the column still exists on the database Y.
If you want to get the link between the current internal name and expression, then you can start with dba_ind_expressions - and create a customized version of the view - e.g @.
Select c.intcol #, c.name, io.name, idx.name, bo.name, base.name, c.default$, ic.pos #.
of sys.col$ c, sys.obj$ idx, basis of sys.obj$, sys.icol$ ic.
sys. User$ io, sys.user$ bo, sys.ind$ I
where bitand(ic.spare1,1) = 1 / * expression * /.
and (bitand (students, 1024) = 0) / * not bmji * /.
and ic.bo # c.obj = #.
and ic.intcol # c.intcol = #.
and ic.bo # base.obj = #.
and io.user # idx.owner = #.
and bo.user # base.owner = #.
and ic.obj # idx.obj = #.
and idx.obj # i.obj = #.
and however # (1, 2, 3, 4, 6, 7, 9)
/
The first two columns in the select ones that I added to the initial view definition.
Concerning
Jonathan Lewis
Maybe you are looking for
-
End of 2008 MBP 15 inch 2.4 Ghz SSD disorders!
I've really hit a wall with this and was wondering if its worth even more of my money and time or if I should return the SSD I bought & just save for a Mac Mini. I used a Sandisk 960 GB SSD (which since I traded for a 960 GB PNY because Sandisk appea
-
Desktop Pavilion: Identification of the usb ports 3/2 on HP desktop computer
Office details: Model No.: 550-029Product #: L9L16AA #ABLSerial No.: [personal information]Software update #: 15AM2RRA604 #SABL #DABLPCBRAND #: HP Need to know what usb3 ports are usb2 (with illustration)
-
External hard drive WD 5000 is no longer Visible
I got WD5000 USB JEP configured as my backup on my Mac disk, and then it suddenly doesn't work as much as the Mac abruptly stopped seeing her. When I connect to my PC, I can locate the drive through Device Manager (and apparently everything is norma
-
How to remove program files x 86 folder supremo
Hello Please see the attachment and help me remove this file. Thank you.
-
Horizon View Client 2.2 cannot solve the short hostname to connect to the server
Not sure if it worked in previous versions, but version 2.2 client view Horizon doesn't seem to be able to resolve the short hostnames to connect to the server. The FULL domain name or the IP address works fine however. Here is my config:VMware vCe