Importing the index
HI all
I got a dump from client .its approx 8gb. Import of table was successful but some indexes are failed becoz the tablespace was unable to extend.. so now i want to create the index .. i dont have the scripts for that.. i have only the dump... And it is not possible to import the complete dump again>
Help me how can i get the indexes..
thanx
Ashish
Hello
C:\>imp help=y
Import: Release 9.2.0.1.0 - Production on Mon Feb 13 09:45:09 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
STATISTICS import precomputed statistics (always)
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
COMPILE compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION import streams general metadata (Y)
STREAMS_INSTANITATION import streams instantiation metadata (N)
The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
Import terminated successfully without warnings.There's a couple of options:
You could have imp write the index creation statements to a file with
imp username/password@tns file=your_dump_file.dmp indexfile=file_you_want_to_create.sql tables=(list of tables you want to get index creation statements for)
or
imp username/password@tns file=your_dump_file.dmp indexfile=file_you_want_to_create.sql full=yThis probably gives you the greatest level of control as you can run each index creation statement separately and modify the contents of the file if you want.
The other option is to let imp take care of it with
imp username/password@tns file=your_dump_file.dmp tables(list of tables you need to create the indexes on) rows=n indexes=y ignore=y
or
imp username/password@tns file=your_dump_file.dmp full=y rows=n indexes=y ignore=yThis way imp will create any indexes that aren't already there but you have a little less control over what it does.
HTH
David
Similar Messages
-
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,
SamBasically, 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 -
How do I import an index into Indesign for epub and keep the links live?
What is the best way to import a subject index (the indexer uses skyindex, and has an option to output index links to indesign para numbers), but he currently provides a word file for import into Indesign 5.5 with dead page numbers. We need to retain that for print publishing, but change the index numbers for epub, to links in both directions. Whats the best way to tackle this? I hope someone out there has done this!
Page numbers do not exist in epub.
Have a read through this:
http://www.pigsgourdsandwikis.com/2010/07/creating-index-for-epub-with-indesign.html
Bob -
I have tried loading 3 different cds that I recently purchased into Itunes. I click the import cd button and Itunes goes through the motion of copying and importing the cds, but the songs are not in my music library. I have searched everywhere to find where these cds might be, but to no avail. Could really use some help here. Never used to have this problem.
Are they in the relevant artist & album folders when you look via Windows Explorer. If so something may have gone wrong with the index of the Music playlist. Download the current iTunes Free Single of the Week. I know it sounds odd, but it should fix the problem.
If that doesn't work close iTunes and delete the hidden file sentinel from inside the main iTunes folder, then start iTunes again. It should run a consistency check when it starts up.
tt2 -
I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
occurs on the Client desktop.
So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
.JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
.Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
image.
What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
bytes totaling 485174 bytes for both arrays (keys, values). Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
color changes causing those differences in the original screen capture.
But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
"Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
array of indexes and bytes which are in a Dictionary(Of Integer, Byte). But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
them with.
Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
by getting contiguous ranges of indexes from the Dictionaries keys.
So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works. Or even if I did
maybe I can't understand it. Like the code below which is extremely fast.
Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
La vida locaMonkeyboy,
That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
24Bpp for a full screen capture.
Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
ex
Dim example As String = "This is an example."
Dim insertString As String = "was"
Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
Dim modifiedBytes As Byte() = {}
Using ms As New System.IO.MemoryStream(bytes)
ms.Position = 5
ms.Write(insertBytes, 0, 3)
modifiedBytes = ms.ToArray
End Using
Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
'Notice how below there isn't the word "is" anymore, and that there isn't a
'space.
'This demonstrates that you overwrite existing data, versus shifting everything to
'the right.
'Returns: This wasan example.
MsgBox(newString)
“If you want something you've never had, you need to do something you've never done.”
Don't forget to mark
helpful posts and answers
! Answer an interesting question? Write a
new article
about it! My Articles
*This post does not reflect the opinion of Microsoft, or its employees.
Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
Option Strict On
Imports System.Windows.Forms
Imports System.IO
Imports System.IO.Compression
Imports System.Drawing.Imaging
Imports System.Runtime.InteropServices
Public Class Form1
Dim Bmp1Bytes As New List(Of Byte)
Dim Bmp1BytesCompressed As New List(Of Byte)
Dim Bmp2Bytes As New List(Of Byte)
Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
Dim BmpDifferenceBytesCompressed As New List(Of Byte)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
SomeSub()
End Sub
Private Sub SomeSub()
' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
Bmp1Bytes.Clear()
Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
Using g1 As Graphics = Graphics.FromImage(BMP1)
g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
Using MS As New MemoryStream
BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
Bmp1Bytes.AddRange(MS.ToArray)
End Using
End Using
End Using
Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
' the image of the UDP Clients desktop in a PictureBox.
' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
' is created from a screen capture. This takes about 90 milliseconds.
Bmp2Bytes.Clear()
Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
Using g1 As Graphics = Graphics.FromImage(BMP2)
g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
Using MS As New MemoryStream
BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
Bmp2Bytes.AddRange(MS.ToArray)
End Using
End Using
End Using
' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
' Bmp2Bytes from Bmp1Bytes.
' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
' then displaying an image on the same PC and then the second screen shot.
BmpComparisonDict.Clear()
For i = 0 To Bmp1Bytes.Count - 1
If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
BmpComparisonDict.Add(i, Bmp2Bytes(i))
End If
Next
' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
' the indexes into on List and the Bytes into another List.
BmpDifferenceIndexesCompressed.Clear()
BmpDifferenceBytesCompressed.Clear()
BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
' called Bmp1Bytes also.
' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
' and bytes received by the UDP Server for the update contained within it.
Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
Dim UpdatedBytes As New List(Of Byte)
Dim Counter As Integer = 0
For i = 0 To Bmp1Bytes.Count - 1
If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
UpdatedBytes.Add(UpdateDictionary.Values(Counter))
Counter += 1
If Counter > UpdateDictionary.Count - 1 Then Counter = 0
Else
UpdatedBytes.Add(Bmp1Bytes(i))
End If
Next
' So what I'm trying to do is find an extremely fast method for performing something similar to what the
' above operation performs.
End Sub
Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
Dim BytesCompressed As New List(Of Byte)
Using compressedStream = New MemoryStream()
Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
zipStream.Close()
BytesCompressed.AddRange(compressedStream.ToArray)
End Using
End Using
Return BytesCompressed
End Function
Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
Dim BytesDecompressed As New List(Of Byte)
Using DecompressedStream = New MemoryStream()
Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
zipStream.Close()
BytesDecompressed.AddRange(DecompressedStream.ToArray)
End Using
End Using
Return BytesDecompressed
End Function
End Class
La vida loca -
Error while importing an index
Hi,
We are facing a problem while importing an index to the production region. Below are the details.
1. A secondary index was created on standard SAP table ILOA in DEV region.
2. The Index was successfully moved to the Quality system, without any glitches.
3. Due to some issue (releated to testing, for which we had to revert back the changes), we had to delete the index on ILOA in the DEV region. The transports were moved to the PPD region and hence, the index on ILOA was deleted in PPD also.
4. Once the issue related to testing was resolved, we again created an index on the table ILOA and moved it to PPD.
All these 4 mentioned steps happened successfully and in PPD there was no error while importing the transports.
But, while moving the above transports to the Production region, there was an error :
"Index ILOA~Y could not be activated
(E - No index ILOA~Y found with status M)"
Please note that Y is the name of the index that was created on the table ILOA.
The error code that we have got is "8".
Can anyone please shed any light on what the issue is?? WE cannot re-import the transports in to Production without analysing this issue,because our client doesnt permit that.
Thanks and eagerly awaiting a kind reply.
Regards,
Raghavendra.Hi,
As pointed out earlier, everything is fine in the PPD region. However, the issue is while tranporting the change from QA system to the productions system.
Also, please note that the table is active in both the PPD and PRD system. (in PPD system with index and in PRD system without the index).
ALso, its not possible to manually adjust the table in SE14 in out production system.
Please let me know if you have any further ideas on this.
Thanks a lot
Raghavendra. -
How to find out the index in string.
Hello Experts,
I have a requirement in which i have to find out the index of the last space before the 50th position in a string.
is there any way other than spliting the string.
e.g. if string is - 'aaaa aaaa aaa........ aaa aaa'(length is more than 50)
i want the last space before 50th char.because i want to split the string before last word withing 50 th character
please help.
Thanks,
ShwetaHi Shweta,
You can build up the logic from this below program.
data: line(75) value 'abcdefghijk lmnopqrstuvwxyz zyxwvutsrqponml kjihgfedc ba',
n_line(50),
off type i,
val1(50),
val2(50).
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
STRING = line(50)
LANG = ' '
IMPORTING
RSTRING = n_line
EXCEPTIONS
TOO_SMALL = 1
OTHERS = 2.
IF SY-SUBRC NE 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SPLIT n_line at space into val1 val2.
off = strlen( val1 ).
off = 50 - off.
write: 'The index of the last space before the 50th position is at ', off.
Hope this may help you.
Regards,
Smart Varghese -
Is there a way to find out how to get the index of a column?
Hello,
I want to know the index of a column for example the column at the first position in a jtable is 0 so how can i get this index?
for example: the column called "surname" is index 0 but the user can move the column. So the name stays the same but the index of the column changed. I search for a method like
table.getColumnIndex("surname");I think it really depends on what the OP is trying to do. I think the program
below offers up the possible choices pretty well.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
public class TableColumnIndexDemo extends JFrame {
private JTable table;
private String[] names = new String[]{ "One", "Two", "Three", "Four", "Five" };
public static void main( String args[] ) {
SwingUtilities.invokeLater( new Runnable() {
public void run() { new TableColumnIndexDemo(); }
public TableColumnIndexDemo() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
DefaultTableModel model = new DefaultTableModel( names, 1 );
table = new JTable( model );
JButton button = new JButton( "Print indices" );
button.addActionListener( new ActionListener() {
public void actionPerformed( ActionEvent e ) {
printIndices();
getContentPane().setLayout( new BorderLayout() );
getContentPane().add( button, BorderLayout.NORTH );
getContentPane().add( new JScrollPane( table ), BorderLayout.CENTER );
getContentPane().add( new JLabel( "Move columns around then print indices" ), BorderLayout.SOUTH );
setSize( 300, 150 );
setVisible( true );
printIndices();
private void printIndices() {
TableColumnModel columnModel = table.getColumnModel();
TableModel model = table.getModel();
StringBuffer sb = new StringBuffer();
System.out.println( "Visible order");
for ( int k = 0; k < columnModel.getColumnCount(); k++ ) {
if ( k > 0 ) sb.append( ", " );
sb.append( k ).append( " " ).append( columnModel.getColumn( k ).getIdentifier() );
System.out.println( sb );
sb = new StringBuffer();
System.out.println( "By name using getColumnIndex(TableModel,name)" );
for( int k = 0; k < names.length; k++) {
if ( k > 0 ) sb.append( ", " );
sb.append( getColumnIndex( model, names[k] ) ).append( " " ).append( names[k] );
System.out.println( sb );
sb = new StringBuffer();
System.out.println( "By name using columnModel.getColumnIndex(name)" );
for( int k = 0; k < names.length; k++) {
if ( k > 0 ) sb.append( ", " );
sb.append( columnModel.getColumnIndex( names[k] ) ).append( " " ).append( names[k] );
System.out.println( sb );
sb = new StringBuffer();
System.out.println( "Model index by visible order");
for ( int k = 0; k < columnModel.getColumnCount(); k++ ) {
if ( k > 0 ) sb.append( ", " );
TableColumn column = columnModel.getColumn( k );
sb.append( column.getModelIndex() ).append( " " ).append( column.getIdentifier() );
System.out.println( sb );
public static int getColumnIndex(TableModel model, String name) {
for(int i = 0; i < model.getColumnCount(); i++) {
if( model.getColumnName(i).equalsIgnoreCase(name) ) {
return i;
return -1;
} -
I am trying to open my files and get a message saying that the file is invalid. The index xml file is missong
Tell us the whole Story in detail about what App (if any), version, any changes you have made recently and Importantly, the exact message - verbatim - a screenshot of the entire display would be very helpful - ÇÇÇ
-
I have been having problems since updating to the latest version of Numbers.
When I try to open files I am getting an error.
"The document “'13 Tax Prep .numbers” is invalid.
The index.xml file is missing."
Anyone else getting this message? Anyone know how to fix the issue?Jeff Shenk wrote:
Numbers 3.1 can recognize both the new files without the index.xml file and the old ones with it, which it imports to the new format.
Agreed on that part. But take it a step further. If Numbers 3.1 is asked to open an old document that is still in the old Numbers 2 format that relies on an index.xml file but Numbers 3.1 can't find the index.xml file (perhaps the document is corrupted) then how can Numbers 3.1 open the document and interpret it in order to convert it to the new format? My guess is that this a possible trigger for the 'index.xml missing' error message.
Interesting link here on the new document format.
SG -
Importing the METADATA ONLY using DBMS_DATAPUMP
Hi DBAs,
Using the DBMS_DATAPUMP , how can I import the metadata only for a particular table . Also I dont want to import any associated INDEXES and TRIGGERS. I have the following codes but it is trying to import every thing. Also if the table exist, it is not importing the METADATA rather erroring out.
handle1 := DBMS_DATAPUMP.OPEN('IMPORT','SCHEMA', 'QAXDB.WORLD');
DBMS_DATAPUMP.METADATA_FILTER(handle1, 'SCHEMA_EXPR', 'IN (''HR'')');
DBMS_DATAPUMP.SET_PARAMETER(handle1, 'INCLUDE_METADATA', 1);
Thanks
-Samar-See the below link,
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_datpmp.htm
Hope this helps,
Regards,
http://www.oracleracexpert.com
Click here for [Cross platform Transportable tablespace using Datapump|http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html]
Click here to learn [Oracle data pump export/import with examples.|http://www.oracleracexpert.com/2009/08/oracle-data-pump-exportimport.html] -
Import the WSDL file in NWDI 7.2 using EJB Project
Hi Experts,
This is my Requirement:
I have WSDL File and it is working in the Portal.I have checked in the WSNavigator.
Now i need to import the WSDL file in NWDI 7.2 using EJB Project.
Please let me know the steps to import the WSDL File.
Thanks & Regards,
SatheshKumar RHi
Please look at this documents for that
[How to Develop an Enterprise Service Provider for SAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d95d37-3f65-2a10-8fa9-a13738c93ea7?quicklink=index&overridelayout=true]
http://help.sap.com/saphelp_nwce10/helpdata/en/46/7f2fef88190ad3e10000000a11466f/content.htm
Hope this helps!!
Thanks & Regards
Vijay K
Edited by: VijaySAPEP on Sep 13, 2011 11:34 AM -
Extracting a distinct list of values using the Index formula
In Xcelsius, I am trying to retrieve a distinct list of values from data imported using the Reporting Services button.
In the spreadsheet I am using the following formula:
=INDEX($A2:$A831,MATCH(0,COUNTIF($B$2:B2,$A2:$A831),0))
The above formula works correctly in Xcelsius, but when I select the preview button the values change to #N/A.
Please could you advise on why this does not work?
Many thanks,
NatalieHi Natalie,
First, you have to be aware of the fact that Xcelsius "simulates" an Excel function. When you are in design mode, the actual "Excel" (MS code) functions are executed. But when you are in preview mode (or export to a swf), all Excel functions are simulated (Xcelsius code).
The fact that your function works in design mode but not in preview/export may point to a bug.
But there are also certain assumptions (to address speed/efficiency) on the Xcelsius code which may cause the preview to fail. One such assumption is that on the VLOOKUP function, Xcelsius does not recalculate formulas in the index column of the VLOOKUP table array - if the index column contains formulas, the index column will always remain in the initial state (will not dynamically recalculate).
Also, not all features on a supported Excel function works. For example, array formulas are not supported.
Bobby -
Word import/linking - index keywords and cross-ref conversion options
Hi all,
there are two options for linking/importing Word documents that seem to have no function. Maybe somebody can clarify what these are used for?
* First, the option "Add index keywords to topics" in the link properties is always greyed out, even if I select this option in the project settings. When is this option available, and why would you choose it rather that creating a new linked index?
* In the conversion settings in the project settings window, there is an option to convert cross-references to hyperlinks. But cross-refs are always converted for me even if this check box is not selected. Does this option do anything?
RobertOK - I tried something crazy but I don't know why it worked.
New question, before I waste alot of time, will this contine
to work?
I created a "RoboHelp for Word" project. I got a Run-time
error '49': Bad DLL calling convention messge.
I keep getting messages saying there is a problem with
Micorsoft Word, or Unable to load Virtual Transaction Module and
had to kill the process using the Task Manager. Obviously, I
abandoned this approach. I did however open that project with
RoboHelp HTML and when I imported a Word document the Index was
created.
Any ideas why?
Thanks. -
Import rename index not working
I recently purchased a Nikon D3100, my first camera to shoot in RAW.
Being a basic photographer, I wanted to use both jpeg+raw until I am more familiar with Raw.
I started out importing jpeg+raw pairs with jpg as master into Aperture until I discovered that you can't delete the raw files from the pairs at a later time for images that are just ok to save space.
I used the rename feature during import to rename the photos to
imagedate_eventname_index
This worked fine.
I switched to import both jpeg and raw as seperate masters using the same naming convention.
Now the index does not append to the end of the name. Just date and event name.
Is anyone else seeing this issue?
Is there a work around?
Regards,
BrettSorry, didn't see the question at the end.
I am using Aperture 3.2.3
I am using Lion 10.7.3
Were you able to make any progress?
The issue still happens if I only import JPGs on cards with both JPG and RAW images.
Cards with only JPGs works fine.
My situation is I have a new camera that takes jpg+raw.
I have taken a lot of pictures and want to import them into Aperture as pairs.
That worked fine with renaming, but I only want to keep the RAW for certain photos (maybe 10%) and Aperture will not let me remove the RAW images that are paired.
So I read where you can import seperate jpg and raw and use the stacks 2 seconds feature to keep the jpg and raw together. Now I can delete the RAW for the not so good photos.
However, this rename issue is now causing a glitch in my process.
If Aperture would let me break a JPG+RAW pair to remove the RAW or JPG, then this would not be an issue.
Maybe I should better describe what my end goal is (assuming Apple does not add the remove one image from a pair feature).
Goal:
SD Card with JPG and RAW images
Import both JPG and RAW with the same name and each pair with a different numbered suffix
ie
2011-12-01_OfficeParty1.jpg
2011-12-01_OfficeParty1.nef
2011-12-01_OfficeParty2.jpg
2011-12-01_OfficeParty2.nef
Use auto stack to stack images with 2 seconds setting to stack the jpg and RAW images together.
(If I take multiple pictures within 2 seconds, the stack will have more than 1 image pair but that doesn't happen often and easy to seperate)
Now I can go through and remove the RAW images on the photos that I will never need them.
Ultimately, I would like the JPG and RAW to have the same filename, except the extension, to keep them identified as pairs.
I will probably go back to using image capture and exifrenamer to achieve the naming I want before importing the photos into Aperture.
Regards,
Brett
Maybe you are looking for
-
Desktop PC with Airport Express connected to another router
Hi, I'm new to the wireless world. I have an exsisting wired network with wired connections. The router is a Belkin which also does wireless. I have another desktop computer which I cannot get wires run to so easily. My idea is to use my Airport expr
-
Create PDF with printing restrictions
I am looking for a product that can create PDFs on a server from a VB.NET website application. It must be able to build some logic into the PDF to restrict the printing capabillity to only allow a certain number of copies to be printed. Subsequent co
-
How to modify Finder text?
Hi all: Is anyone aware of an app/utility that will let me change the appearance of the text labels on files that reside on my desktop? I'm referring to the black-outlined bold white text with drop shadow that OSX provides by default. I'd prefer it t
-
I run some diagnostics apps lately. They flagged some files that may cause problems. I have tried to locate the files, no luck. Are these file just corrupt file fragments? How can I fine them, to delete?
-
My phone crashed yesterday when iTunes tried to add an upgrade to it. The upgrade didn't work and instead it wiped my phone back to factory settings. There is a back up of my phone saved to my computer from before the upgrade attempt. When I try to r