Determining in which tablespace the indexes are imported to
Hello all,
Often, the tables are in one tablespace and the indexes of these tables are on another tablespace.
If we have a DMP file done on a schema-level. Is there a way to import this DMP by specifying in the IMP that the tables of the exported schema are to be placed in one Tablespace and the indexes of these table are to be put on another tablespace?
Thnx for the replies.
Good day,
Sam
Basically, when you do import, oracle try to look for the same tablespace as source to import tables. If not found, then it quits with errors.
If the ignore=y parameter is specified with import command and when there is no tablespace as source tbs in the target, oracle will try to import in the default tablespace of the user/schema.
However, there is no command that gives the flexibility to import table in one tablespace and index in another tablespace.
Why dont you create the same tablesspaces in Target database as in source database?
You can always move index to another tablespae after import.
Jaffar
Similar Messages
-
Finding which tablespace the index is using
Hello,
How do I find the tablespace in which the indexes of a particular schema are present. like getting the tablename , table , columname and tablespace present .
I found this in the OEM but did not know how to generate the SQL for that.
Thanks for any help.
Message was edited by:
user558362I would use dba_indexes instead of dba_segments if you are not interested in physical storage information. The dba_indexes view provided the index_name and owner as well as the table_name and table_owner. The table and index owner might be different and this view will allow you to find all indexes for a table where you do not know the index names. You can join dba_indexes to dba_ind_columns for the index column list.
HTH -- Mark D Powell -- -
How i can access system tables to know the indexes are properly done
Hello Friends,
I have created a table with partitions and a iindex on some columns ..
Using system tables I want to find out whether the indexes are also having partitions implemented .
Please let me know what might be the query using system tables.
using the following query I can findout what all partitions are their in a particular table.
SELECT FROM ALL_TAB_PARTITIONS ORDER BY TABLE_NAME, PARTITION_NAME;*
I want the same on indexes ..
CREATE TABLE X_FA_REV_MNTH_AGG
X_FA_REV_MNTH_AGG_RK NUMBER(10) NOT NULL,
X_AS_OF_DT DATE NOT NULL,
FINANCIAL_ADVISOR_RK NUMBER(10) NOT NULL,
FINANCIAL_ADVISOR_ID VARCHAR2(6 BYTE),
X_FA_UNIV_PRODUCER_ID VARCHAR2(6 BYTE),
X_REVENUE_TYPE_CD VARCHAR2(6 BYTE),
X_MNTH_REV_AMT NUMBER(18,5),
PROCESSED_DTTM DATE
TABLESPACE KAW_DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
NOLOGGING
PARTITION BY RANGE (X_AS_OF_DT)
PARTITION P200712 VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200801 VALUES LESS THAN (TO_DATE(' 2008-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200802 VALUES LESS THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200803 VALUES LESS THAN (TO_DATE(' 2008-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200804 VALUES LESS THAN (TO_DATE(' 2008-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200805 VALUES LESS THAN (TO_DATE(' 2008-06-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200806 VALUES LESS THAN (TO_DATE(' 2008-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200807 VALUES LESS THAN (TO_DATE(' 2008-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200808 VALUES LESS THAN (TO_DATE(' 2008-09-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200809 VALUES LESS THAN (TO_DATE(' 2008-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200810 VALUES LESS THAN (TO_DATE(' 2008-11-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200811 VALUES LESS THAN (TO_DATE(' 2008-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200812 VALUES LESS THAN (TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
CREATE UNIQUE INDEX XPKX_FA_REV_MNTH_AGG ON X_FA_REV_MNTH_AGG
(X_AS_OF_DT, X_FA_REV_MNTH_AGG_RK, FINANCIAL_ADVISOR_RK)
INITRANS 2
MAXTRANS 255
NOLOGGING
LOCAL (
PARTITION P200712
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200801
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200802
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200803
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200804
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200805
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200806
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200807
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200808
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200809
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200810
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200811
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION P200812
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
PARTITION PMAX
NOLOGGING
NOCOMPRESS
TABLESPACE KAW_DATA
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT
)NOPARALLEL;Try ALL_IND_PARTITIONS :)
You should give the Reference Guide a read at http://tahiti.oracle.com for your Oracle version. It gives information for all views that you may or may not be aware of. -
Sir,
i am running a matlab code in mathscript of labview but getting an error
Error -90032 occurred at Error in function centref at line 5 column 8: The indexes are out of bounds for the variable you specified
this code running successfully in matlab
please help me in this regard
a .vi format file is attached named as mfcc_new.vi
Attachments:
mfcc2.vi 35 KB
mfcc_new.vi 111 KBMay I see you have 6 inputs to your Mathscript Node. When you test it in Matlab I suposse that you're using some values for this inputs and everything work as expected. Then, run it in Labview using highlight execution, retaining wire values and using single stepping. Check the values which are being inserted to your Mathscript Node and ensure that they are correct. You're having an "indexes out of bounds" mistake, so it probably means that there is something wrong with the inputs according to your expectations. You can also put the MathScript alone in another VI and insert the inputs you're expecting manually and check in the same way.
Good luck! -
Which of the following are true about abstract methods in EJB 2.0
Hi guys I'm beginner to EJB and i got some unanswered questions.
Can any one of you please.. give answers?
Thanks if you do...
Which of the following are true about abstract methods in EJB 2.0
CMP?
Choose all correct answers:
1. Abstract accessor methods should not be exposed in the EJB
component's interface
2.Abstract accessor/mutator methods are used to access and modify
persistent state and relationship information for entity objects
3.Abstract Accessor/Mutator methods do not throw exceptions
4.The EJB developer must implement the Accessor/Mutator methods
5.Abstract accessor methods may or may not be exposed in the EJB
component's interface
2.Which ONE of the following is true?
Choose the best answer:
1.Local interfaces cannot have a relationship with other Entity
components
2.Local interfaces cannot be used for Stateless Session EJB
3.Local interfaces can be a part of Object's persistent state
4.Local interfaces have the same functionality as that of a
stateless Session EJB
3.Which of the following describe the <cmr-field> in a EJB 2.0
descriptor?
Choose all correct answers:
1.A Local interface/Entity can be a value of a <cmr-field>
2.There is no <cmr-field> in EJB 2.0 descriptor
3.It is used to represent one meaningful association between any
pair of Entity EJBs, based on the business logic of the Application
4.It provides a particular mapping from an object model to a
relational database schema
5.It allows the Local Entity interfaces to participate in
relationships
4.Which of the following are the advantages of using Local interfaces
instead of dependent value classes?
Choose all correct answers:
1.Local Entity Interfaces can participate in Relationships
2.The life cycle of Local Entity Interfaces is managed by EJB
container, intelligently
3.Local Entity Interfaces can be used in EJB QL Queries
4.Local Entity Interfaces can be a part of the <cmp-field> but not
<cmr-field>
5.Which of the following are true about Local interfaces
1.A local interface must be located in the same JVM to which the EJB
component is deployed
2.Local calls involve pass-by-reference.
3.The objects that are passed as parameters in local interface
method calls must be serializable.
4.In general, the references that are passed across the local
interface cannot be used outside of the immediate call chain and must
never be stored as part of the state of another enterprise bean.
6.Which of the following specifies the correct way for a client
to access a Message driven Bean?
Choose the best answer:
1. via a Remote interface
2. via Home interface
3. Message driven bean can be accessed directly by the client
4. both 1 & 2
5. none of the above
------------------------------------------------------------------------7.Which of the following statements are true about message-driven
bean Clients?
------------------------------------------------------------------------Choose all correct answers:
They can create Queue and QueueConnectionFactory objects
They can create Topic and TopicConnectionFactory objects
They can lookup the JNDI server and obtain the references for
Queue and Topic and their connection Factories
Only 1 and 2 aboveHi guys I'm beginner to EJB and i got some unanswered
questions.
Can any one of you please.. give answers?
Thanks if you do...
Which of the following are true about abstract methods
in EJB 2.0
CMP?
Choose all correct answers:
1. Abstract accessor methods should not be exposed
d in the EJB
component's interfacefalse
2.Abstract accessor/mutator methods are used to
access and modify
persistent state and relationship information for
entity objectstrue
>
3.Abstract Accessor/Mutator methods do not throw
exceptionstrue
>
4.The EJB developer must implement the
Accessor/Mutator methodsfalse
5.Abstract accessor methods may or may not be exposed
in the EJB
component's interfacetrue
2.Which ONE of the following is true?
Choose the best answer:
1.Local interfaces cannot have a relationship with
other Entity
componentsfalse
2.Local interfaces cannot be used for Stateless
Session EJBfalse
3.Local interfaces can be a part of Object's
persistent statefalse
4.Local interfaces have the same functionality as
that of a
stateless Session EJBtrue
3.Which of the following describe the <cmr-field> in a
EJB 2.0
descriptor?
Choose all correct answers:
1.A Local interface/Entity can be a value of a
<cmr-field>true
2.There is no <cmr-field> in EJB 2.0 descriptorfalse
3.It is used to represent one meaningful association
between any
pair of Entity EJBs, based on the business logic of
the Applicationtrue
4.It provides a particular mapping from an object
model to a
relational database schematrue
5.It allows the Local Entity interfaces to
participate in
relationshipstrue
4.Which of the following are the advantages of using
Local interfaces
instead of dependent value classes?
Choose all correct answers:
1.Local Entity Interfaces can participate in
Relationshipsis
2.The life cycle of Local Entity Interfaces is
managed by EJB
container, intelligentlyis
3.Local Entity Interfaces can be used in EJB QL
Queriesnot
4.Local Entity Interfaces can be a part of the
<cmp-field> but not
<cmr-field>not
>
>
5.Which of the following are true about Local
interfaces
1.A local interface must be located in the same JVM
M to which the EJB
component is deployedtrue
2.Local calls involve pass-by-reference.true
3.The objects that are passed as parameters in local
l interface
method calls must be serializable.false
4.In general, the references that are passed across
s the local
interface cannot be used outside of the immediate
e call chain and must
never be stored as part of the state of another
r enterprise bean.true
>
6.Which of the following specifies the correct way for
a client
to access a Message driven Bean?
Choose the best answer:
1. via a Remote interfacefalse
2. via Home interfacefalse
3. Message driven bean can be accessed directly by
the clientfalse
4. both 1 & 2false
5. none of the abovetrue.
>
----------------7.Which of the following statements
are true about message-driven
bean Clients?
----------------Choose all correct answers:
They can create Queue and QueueConnectionFactory
objectsthe container can, dunno bout clients
>
They can create Topic and TopicConnectionFactory
objectsthe container can, dunno bout clients
>
They can lookup the JNDI server and obtain the
references for
Queue and Topic and their connection Factories
true
Only 1 and 2 abovefalse
somebody correct me if i'm wrong -
Query to identify to which resposibilities the business areas asre shared
Hey,
I have a requiremnt to identify to which responsibilities the Business Area's in the EUL are shared with.
Can anyone help me if with query to get this info?
Thanks,
SKSK,
This is the query I have been using. As you can see, my eul schema owner is eul_us:
select upper(ba.ba_name) business_area ,
resp.responsibility_name ,
resp.responsibility_id ,
nvl(crtd_by.user_name,'Seeded Business Area') created_by,
--usrs.eu_username ,
regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1) user_id1,
regexp_substr(usrs.eu_username,'[[:digit:]]+',1,2) user_id2,
crtd_by.user_name
from eul_us.eul5_eul_users usrs ,
eul_us.eul5_access_privs privs ,
eul_us.eul5_bas ba ,
applsys.fnd_responsibility_tl resp,
applsys.fnd_user crtd_by
where privs.ap_type ='GBA'
and privs.ap_eu_id =usrs.eu_id
and privs.gba_ba_id =ba.ba_id
and resp.responsibility_id (+)=regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1)
and crtd_by.user_id(+) =regexp_substr(ba.ba_created_by,'[[:digit:]]+',1,1)
and resp.language= 'US'
order by 1;
I hope this helps.
Patrick -
Jdev11g: Possibility to determine component which has the focus ?
Hi,
we have a customer request to display (internal) informations about the field and the corresponding VO which has the cursor focus at the moment (for problem analysis purpose)
If the mouse cursor is in an input field and the user press a button or select a context menu he want to see this information e.g. in a popup.
Is it possible to determine the component ID of the field which has the focus? (hopefully the input field does not loos the focus if user opens e.g. the context menue)
If yes, whats the best way to find from the component ID to the corresponding VO?
11g, ADF BC
regards
PeterPeter, sorry for the mix up.
getContextComponent(..) is one of my private helper methods for a special case. I think you don't need it in your case. Check the UIComponent you get back from actionEvent.getSource() if it's the input field you are looking for, if not check its parent.
In my method I walk down the component tree to get a special component I'm interested in.
Heres the code: private UIComponent getContextComponent(UIComponent aUI)
try
UIComponent ui3 = aUI.getParent().getParent();
Map<String, Object> attr = ui3.getAttributes();
String obj2 = (String) attr.get("_launchId");
UIComponent uiXXXX = JSFUtils.findComponentInRoot((String) obj2);
if (uiXXXX.getChildCount() > 0)
UIComponent uiC = uiXXXX.getChildren().get(0);
return uiC;
else
return uiXXXX;
catch (Exception e)
return null;
}Timo -
I just want to calculate the quality of the peak in a FFT, defined as you can see in the attached file.
For that, I would need to know how can I calculate in Labview the index or indices (x-value) correspondant to a certain amplitude value of the function.
Kind regards, and thank you for reading,
Jose
Solved!
Go to Solution.
Attachments:
quality.jpg 6 KBIf you know the lineshape (e.g. Lorentzian), you can use nonlinear fit. This will give you the most accurate value.
In the most simple case (insignificant offset and noise, no other peaks) you can apply the following code (if there are other peaks, then take a apropriate array subset before applying the code). To get correct units, just scale with df.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
WidthAtHalfHeight.png 52 KB -
Satellite P10-792/833: which is the chipset? IMPORTANT!
Hello everybody,
In order to install properly Win 2000 on a Toshiba Satellite P10-792, I must know which is the chipset of the motherboard.
It's impossible to find informations about this in the Web, and Toshiba is VERY inefficent: Is it possible that Toshiba sells notebook without specifying the technical specifications?????
Please answer me which chipset is installed in this notebook; IT ISN'T AN INTEL CHIPSET!Thanks Fredo, that's right: It's an ATI Radeon 9100 IGP (RS300).
Obviously Toshiba doesn't say anything about this... I've called Toshiba phone assistance and they reply me "it's certainly an Intel 865PE chipset"; in the "download drivers/P10 series" there are only Intel chipset drivers... Toshiba is the ONLY producer that hasn't released the correct driver for its computer model...
I'll try to use Packard Bell (!!!) RS300 driver release in order to use properly my notebook. The other way is to use Ati reference drivers, but there are incomplete and not specific.
This is the reason because I'm not "cool" at all. -
Pacman -Syu - show which repo the updates are in + current versions?
Hi, I couldn't find a way (other then write shell script workarounds ;-) ) to show this additional information:
- the repository the update is in
- the current installed version of the package
dieter@dieter-ws ~ $sudo pacman -Syu
Targets (4): abiword-2.6.5-1 avahi-0.6.23-2 bashrun-0.7-1 qscintilla-2.3.2-1
I would like to know in which repo's these updates are, and which versions I have installed locally (doing pacman -Qi for each package myself does not count). Is that possible?Xyne wrote:Ok, I've changed that line a bit so check the latest version. If it still doesn't work, can you post the output of "pacman -Qu" so that I can figure out where the regex is failing?
It's better now, however there is still a bug. 'pacman -Ss' also shows the group of a package, eg:
testing/automake 1.10.2-1 (base-devel)
testing/man-pages 3.14-1 (base)
core/automake 1.10.1-2 (base-devel)
core/man-pages 3.13-1 (base)
extra/abiword 2.6.5-1
You do this:
my ($repo) = ($sync_db =~ m/^(.+)\/\Q$name $ver\E$/m);
This only works if there is no group (eg abiword). It doesn't match for the others. Leaving away the '$' fixes this
Last edited by Dieter@be (2008-11-27 22:34:26) -
Length of events in lightning when the events are imported from external application
Hello,
I am using the lightning calendar along with the Thunderbird. Also I have imported the following calendar to the lightning so i am getting the events directly to my calendar ( webcal://app.kigo.net/public/ics.php?p-9907bef8f54b4093e01b67caf4c02651).
This calendar is from a channel manager application (kigo) for hotels and it can send two events to the lightning, the reception event for the crew who is at the reception and the cleaning events for another person.
The problem is when i am sending an event for the reception the length of the event is 60 minutes as i have set it in the option of the lightning (which is fine) but when i am sending a cleaning event the length of the event lasts 10 hours regardless the fact that i have set it to the default 60 minutes.
I have contacted also the company's (kigo) support and they said that they send the events in the same
format to all calendars and they cannot define the length time from there for each calendar solution.
Do you have any idea about how to set the cleaning event also at 60 minutes??
Thank you in advanceOk this makes little of no sense to me.
The web application should be sending fully formed events with start and duration. So your setting in Lightning should have nothing at all to do with the program your receive.
I create an even and email you an invitation that invitation specifies duration, not your copy of lightning or Outlook. This kigo thing must set the duration of the events it creates, that is how ICS works.. -
Does Lightroom 5 automatically eject the memory card once the photos are imported?
I use Macbook and ever since I installed Lightroom, the memory card no longer shows up under 'devices' in Finder, therefore I am unable to eject it.
How is it showing in LR. As a separate drive with green indicator or under Hard Disc Volumes folder?
If it shows under volumes you may need to choose to hide as a parent folder.
See this link:
http://helpx.adobe.com/photoshop-elements/kb/elements-12-1-update-error.html
Otherwise how are you copying the images. To hard drive pictures or external hard drive?
You can set the prefs to automatically detect a camera memory card and in the import dialog choose auto-eject.
See this video tutorial;
http://helpx.adobe.com/lightroom/help/importing-photos-lightroom-basic-workflow.html -
In which Table the Texts are maintained that are specified in VA02 T-code
Hi Experts,
When sales order is created in VA02 then selecting in Goto-> Header-> Texts Option there texts are maintained. can anybody tell me where it is stored and how can we retrieve it into report.
Thanks,
PankajHi Pankaj,
The process is pick the TDID and TDOBJECT from table STXH and fill in the entries in READ_TEXT Function module .
In Function module give these parameters:
ID Entry in STXH-TDID
LANGUAGE E
NAME (Sales Order No)
OBJECT VBBK
This will defenately work,
Regrds,
Basheer. -
Prepared statement with placeholders - the order or the names are important
Hi,
I'll explain my question, using the example from the OCCI documentation.
What if I do something like:
<pre>
// note the order
stmt->setSQL("BEGIN countFruit(:2, :1); END:");
stmt->setString(1, "Apples");
stmt->setString(2, "Oranges");
</pre>
This will become
<pre>
BEGIN countFruit( 'Apples', 'Oranges' ); END
</pre>
or
<pre>
BEGIN countFruit( 'Oranges', 'Apples' ); END
</pre>
So, if the answer is:
* *"the first one is correct"*, then - may I use whatever I want for placeholders (some strings, for example), just starting with ':' ?
* *"the second one is correct"*, then:
* * does this mean, that I can't use strings as placeholders (because setXXX does not take strings as first parameter, but a number - as position)
* * should I use consequent numbers, or I may use whatever I want. I mean, is this valid: "BEGIN countFruit(:13, :666); END:". So, if it is, does this mean, that I should use setXXX( 13, ...) and setXXX( 666, ...), instead of setXXX(1, ...) and setXXX(2, ...) ?
Sorry for the dummy questions, but I didn't see this explained in the doc (at least for 10g). And yes, I can test it, but this doesn't mean anything, it may be undefined behavior or server configuration, or whatever and I just want to be sure :)
Thanks in advance.
Best Regards,
Kiril KirovLooks like I have missed that.
I'm not sure I understand the difference, when using SQL and PL/SQL. Here's what I get, please correct me if I'm wrong:
For PL/SQL (for example - SP call), if I have
<pre>
BEGIN stored_procedure( :11, :22, :22, :33 ); END
</pre>
calling
<pre>
stmt->setString(3, "Apples");
</pre>
will set *"the third unique parameter"* - in this example, will replace ':33', right?
If so, will executing
<pre>
stmt->setString(2, "Oranges");
</pre> replace both ':22' placeholders?
And for standard SQL query, it's just the nth position. For example:
<pre>
INSERT INTO table VALUES(:11, :22, :22, :33);
</pre>
calling
<pre>
stmt->setString(3, "Apples");
</pre>
will replace the second ':22', right? It will become something like:
<pre>
INSERT INTO table VALUES(:11, :22, 'Apples', :33);
</pre>
About the summary: that would mean, that
<pre>
stmt->setSQL("BEGIN countFruit(:13, :666); END");
stmt->setString(1, "Apples");
stmt->setString(2, "Oranges");
</pre> is the correct way and it will be "translated" to:
<pre>
BEGIN countFruit( 'Apples', 'Oranges' ); END
</pre>
right?
One more case, sorry..
<pre>
stmt->setSQL("BEGIN countFruit(:1, :2, :3, :3, :2 ); END");
</pre>
How to set the second ':2' ? If ONLY "scanned left to right" is important and it stops on match (does not scan ALL parameters), does this mean, that to set the second ':2', I should use
<pre>
stmt->setString(4, "Apples");
</pre>
? Or it scans all placeholders and replaces the repeatable ones? In that case, I'll have to use
<pre>
stmt->setString(2, "Apples");
</pre>
to replace both ':2' ?
Edited by: Kiril Kirov on Jan 24, 2012 3:36 PM -
Is there any way to see at which frequency the Xeons are running at ?
See topic.
I'm looking for a small app or even a widget that shows the current CPU / core clock speed, like e.g. CoolBook for the MacBook (Pro).
Is there anything like that for the Mac Pro ?Open the Terminal application in your Utilities folder and at the prompt enter or paste the following then press RETURN:
sysctl hw.cpufrequency
Maybe you are looking for
-
I purchased the multi-user iworks (yes back when it was new, 2009 or 2010 and recently had to replace my white imac's hard drive (but didn't pay to fix the CD drive). My iworks does not have a serial number on the box and now that my CD drive isn't
-
Fork in the BPM: collecting IDOC
Hi, I have a scenario in which i have to collect the idocs the collection happens either by time(deadline monitioring) or by counter loop, for this i have a fork whick send the message to the above 2 brances, but my problem is if i send 5 idocs first
-
YouTube videos without sound - Corrupt flash player? Help?
Hi everyone, I have a bit of a problem. I went on to YouTube this morning, trying to watch a video. Unfortunately, the video failed, and it wouldn't play. All I got was the ad in the very first frame, yet the video thought it was playing. I looked on
-
Merchandise Distribution (WF10) Modifications Anyone?
Hi everyone, As the subject suggests, i'm trying to figure out if anyone has been involved in or has modifiied WF10? Below i've highlighted 3 areas we want to improve, but please let me know of any changes you've made. We've been using Merchandise Di
-
JDBC adapter error : ora-00933 SQL command not properly ended
but I am quite sure to my configuration for jdbc was correct ,however it worked fine sometime, if is it the jdbc driver version problem? now the version is 9.2.0