Data Modeler - change the DDL table instructions
I am trying to add a new foreign key and a column to a table which already exists in the database. I generate the DDL Data Modeler but I can't change the declaration for the new column.How we prevent data Modeler to generate the DDL that change of name of table in < table_name > _bcp / delete the table and then re-create the table?
I don't want to create a backup table and I don't want to delete and re-create the original table to add a column. In fact I can't even delete the table due to the other tables that refer to it.
So it is possible to change the declaration of DDL generation instead of the drop and create statements?
the reason for this is schema - uncheck ' property usage pattern in compare features "in" General Options > DDL.
Philippe
Tags: Database
Similar Questions
-
Data Modeler: change the layout of the Table report
Hello
I use SQL Data Modeling (DM) EA 4.0.
I used the file-> reports option to generate reports on the Table and in the report
(1) I could not see the data of the type column? (See table below), are there options to set the Type of data in the report?
NO.
Column name
PK
FK
M
Data type
DT
kind
Domain name
Formula
(Default value)
Security
Abbreviation
1
ID1
P
THERE
(10)
LT
2
ID2
F
THERE
(10)
LT
3
ID3
THERE
(1)
LT
4
ID4
THERE
(10)
LT
5
ID5
F
(20.4)
LT
(2) in the options to manage the Table report (reports-> manage). Currently I can remove a position (like Notes of Descriptions, columns, column comments). Is there any way to customize the report so that I can remove some columns (mostly empty) according to the report and add comments as well as the column table column to a new column comments table.
Please let me know, is there an option to customize the report.
Note: I even tried to generate the report using the search then the report, but it does not give a full report (I was only able to generate a report on the column or table name or name constraints, not all together).
Thank you
Kheira
Hi Dimitar,
There are correct.
for the report without data type, the data type in my relationship is 'UNKNOWN '.
I have not changed, but now the type of data in the table are 'unknown '.
I checked a little more on it and found that in the ADMINISTRATION of my 'TYPES' only unknown is here and the defaulttypes xml file is empty. Then I copied a new one.
So the new design has the data type, but for that I need to generate sound still 'unknown '. I think I saved the unknown. :-(
Thank you
Srinivasan.
-
Calculate the fastest path between 2 nodes with the data model for the Oracle network
Hi all,
I have Oracle 10 g 2.
My problem is the following:
I created a network named ITALIA_NET in the data model for the Oracle network.
The table of links of this network is named: ITALIA_NET_LINK$.
The table of the nodes of this network is named: ITALIA_NET_NODE$.
The table ITALIA_NET_LINK$ contains a field named COST that contains links (in meters) lengths.
I've already calculated the SHORTEST PATH between two nodes of the network, by using the method of shortestPath() (using the Java API) as shown on "Pro Oracle Spatial for Oracle Database 11 g" manual. Infact, this method makes reference to the COST field for $ ITALIA_NET_LINK to make this calculation.
Now, I want to calculate the FASTER PATH between two nodes of the network. I have the links (in hours) travel time to make this calculation.
My idea is to create a new field in ITALIA_NET_LINK$ named Cost2 containing the travel time from the links and then do the math by using the shorthestPath() method, referring to the Cost2 field to $ ITALIA_NET_LINK COST field instead.
By default, I know that the shorthestPath() method returns the COST field for $ ITALIA_NET_LINK. Is possible to change this setting and do that this method refers to the Cost2 field?
In the alternative, is another way for the calculation of the fastest way?
I want to leave the creation of another network as last solution, because I will have other costs of field (Cost3, cos4t,...)
Thank you much in advance.Your approach is good. You will have two networks and you can read them in memory and analyze of shortest path. The shortestPath method is static for the class of NetworkManager. You can use the same method for both networks, once they are read into memory.
...
read the network with time as cost of link
NetTime network = NetworkManager.readNetwork (dbConnection, 'ITALIA_NET_TIME');
read the network length as cost of link
Network netLength = NetworkManager.readNetwork (dbConnection, 'ITALIA_NET_LENGTH');calculate the quickest way
PathTime path = NetworkManager.shortestPath (netTime, startNodeID, endNodeID);
calculate the shortest path
PathLength path = NetworkManager.shortestPath (netLength, startNodeID, endNodeID);
...In the future, if you upgrade to 11g, network data model provides a load on demand (LOD) API that loads only the scores of necessary network in memory during the analysis. This command removes the restriction of the memory of the 10g (in memory API you use) API. API of LOD can handle very large networks and offers more features analysis and modeling capabilities.
The following link contains the tutorial of NDM LOD API ready for download. Just for your information.
https://spatial.SampleCode.Oracle.com/servlets/ProjectProcess?PageID=0Zl7oVKind regards
Jack -
Data Modeler: generate the Delta Scripts against an existing schema
Can I generate the DDL Scripts with 'ALTER TABLE' - statements?
For example: relational model and the database are synchronized. That means: each Table of the db is stored in the data model of the Data Modeler.
Now I need new columns in a table. I have set these columns in the data model and now I need a script with:
ALTER TABLE my_table ADD (new_column DATE);
In the Oracle Designer, it is easier to create such delta-scripts. But I can't find anything similar in the Data Modeler
Thanks in advance
GerdHi Gerd,
We called the "Swap target model" at the last page of the wizard 'import data dictionary' check box. If you select your database will target the model and you can get ALTER statements in the DDL of the Merge dialog preview. It's the same thing with the DDL script.
Philippe
-
Inserting changes into an intermediate table rather than change the main table on a form.
I am trying to create a process inserts changes the date in an intermediate table for approval, rather than change the main table. I am currently using 4.2.4. Here's how I went on this subject.- I've created a report interactive and connected the primary key on a form that displays data.
- Then I created a button called to request changes that redirects to another page with a form and through the necessary elements of session state. (Note: I voluntarily created 2 different forms)
- I then set the initial values of the elements of the page on the current page based on the page, I went through the session state.
My problem is that when changes are made and I hit the submit button, which is to send the page using an SQL Update statement, it does not have the intermediate table with new data. I think it's because I set the source for the page elements as part of the page the previous page, thereby breaking the link to the database columns in my staging table. Someone knows how to set the items on the form of page items I placed in another page without breaking the link to the database column? Or is there an other/easier way to do this?
Change that you attend the process instead of using APEX built DML, to call a specially written block that will take the page objects values and save them to your intermediate table...
Thank you
Tony Miller
Software LuvMuffin
Salt Lake City, UT -
Use the stored procedure to create the data model for the bi publisher report
Hi all
Can we use stored procedure to create the data model for BI Publisher reports? I did find an example by using the stored procedure to complete the data model in the bi publisher report.
Thank you
ViratCheck out these links
BI publisher to use the stored procedure
Re: Stored procedures and dynamic columns
Re: Is it possible to use stored procedures in BI Publisher GUI?
Re: PL/SQL stored w / model XML?If brand pls help
-
Data Modeler: changing attribute Table grayed out (in the relational model)
I use SQL Developer Data model version 2.0.0 build 584.
I have a relational model of appr. 30 paintings. For some tables, the display of attributes is grayed out, not allowing not of any change of the values. I have a feeling that this was due to an import/merge views of database, but for me this quite annoying because it prevents modelling activities further on these tables.
Does anyone have an idea what could be the reason for this? More importantly: how to remedy this situation?
MarkHi Mark,
Does anyone have an idea what could be the reason for this
the reason is probably the difference in design name and name in the next item in the XML of the table:
It is interesting how you did this.More importantly: how to remedy this situation?
You can try ' Save as ' to save the design in a different directory.
Philippe
-
change the source tables in the materialized view
If I change the name of the source table in a materialized view, I have to delete and recreate the MV? For example, My MV uses a table from a DBlink. Instead I want to physically copy the table in the schema, and then create the MV using the local table, then change MV to use the remote table and I expect to start refreshing the MV for incremental data. Can I do it?
No, you can't. Oracle has no way of knowing that the modified table (name) is identical to the original table.
Hemant K Collette
-
Data model of the EBS Guide / technical reference Document.
Hi all
I'm working on Informatica/OBIEE, and our source is EBS with Module of Finance.
I am looking for a technical reference Guide / guide that gives complete information about the Tables involved in the finance module in data model EBS.
I'm not able to find in the website of Oracle...
http://docs.Oracle.com/CD/B40089_10/current/HTML/docset.html
Can someone guide me / give the link for this document?ace_friends22 wrote:
Hi allI'm working on Informatica/OBIEE, and our source is EBS with Module of Finance.
I am looking for a technical reference Guide / guide that gives complete information about the Tables involved in the finance module in data model EBS.
I'm not able to find in the website of Oracle...
http://docs.Oracle.com/CD/B40089_10/current/HTML/docset.html
Can someone guide me / give the link for this document?
eTRM Web site: http://etrm.oracle.com
Thank you
Hussein -
Dependence on the data cube on the fact tables?
Hello
We have a cube that is built based on a table of facts (with prior calculation of 35%)
The fact table has approximately 400 000 records.
Now I don't want to disturb my cubes but wants to move forward and still changing the data in the fact table, which could include the removal of thousands of records.
SO my question here is how dependent are cube on the fact table data.
The cube stores all the data? Can I go ahead and even to truncate (not drop) the fact table?The contents of the cube is not changed until it is built again. So, if you do the following
(A) complete the table of facts
(B) create the cube fact table
(C) Truncate table factsThen your cube should always contain the data, and you can question him. The content will change only when you
(D) create the cube again. At this point my previous answer comes into play.
-
dynamically change the selection table of
is it possible to dynamically change the table used in a select statement for an interactive report 3.2 on 11g database? I have a series of similar tables, one for each month of the year. I want to click a month on one page and to set up a table for this month report. I want to use a page for this report and have all the links from the link to the previous page on the same page, just different results based on what month has been clicked.
I know I could just install 12 different reports and conditionally display each region based on a value passed to the page, but I prefer to create only a single page and a report on this page.
Thanks for ideas or solutions.Hello:
Because the tables involved are fixed for a given month, you can try something like
select * from tab_1 where :p_mth=1 UNION select * from tab_2 where :p_mth=2 UNION .... select * from tab_12 where :p_mth=12
only the query for the IR. "P_MTH" is the page element has the value entered by the user for the months for which data should be retieved.
CITY
-
SQL developer data modeling (Access in PB table?)
Hi guys,.
the sql Data Modeler is able to connect to a database?
I'm a relational design I need to use an EXISTING table in my table of production...
He has a lot of columns...
so, I don't want to create a new table to imitate this existing table in the database...
anyway I can do?
Thank you.
Published by: OracleWannabe on January 1st, 2009 22:45Hello
Yes, you can import from the database - use "file > import > data dictionary" menu option. You can import the following databases:
-Oracle 9,10,11;
-MS SQL Server - 2000, 2005;
-IBM DB2 - for OS/390 and LUW (Linux, Unix, and Windows) - 7.8
-a database using the JDBC/ODBC bridge - results depends on the implementation of ODBC drivers, used.Data modeling Oracle comes with drivers for the Oracle database. Please read the release notes to see how to extract and add drivers from IBM and Microsoft http://www.oracle.com/technology/products/database/sql_developer/files/releasenotes525.htm
Best regards
Philippe -
DMZ-Link bandwidth does not change the routing table countin traffic
Hey guys
I'm INE laboratories dong and shoved a weird one that delivers.
I have configured the dmz-link bandwidtha nd the extended communities to send, I get the bandwidth in the BGP routes, however the routing table does not change the proportion of traffic according to the bandwidth available link.
Here is my configuration:
Rack1R6 (config) #do sh run | dry BGP
router bgp 100
no synchronization
The log-neighbor BGP-changes
BGP dmzlink-bw
155.1.146.0 netmask 255.255.255.0
aggregate-address 155.1.0.0 255.255.0.0 summary only
neighbour 54.1.1.254 distance-54
neighbor 54.1.1.254 dmzlink-bw
neighbour 155.1.67.7 distance-300
neighbour 155.1.146.1 distance-100
155.1.146.1 neighbor send-community times
No Auto-resume
Rack1R6 (config) #.
Rack1R6 (config) #do sh ip bgp neigh 155.1.146.1 opponents
Version of BGP table is 35, local router ID is 150.1.6.6
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* > 28.119.16.0/24 54.1.1.254 0 54 I
* > 28.119.17.0/24 54.1.1.254 0 54 I
* > 112.0.0.0 54.1.1.254 0 0 54 50 60 I
* > 113.0.0.0 54.1.1.254 0 0 54 50 60 I
* > 114.0.0.0 54.1.1.254 0 0 54 I
* > 115.0.0.0 54.1.1.254 0 0 54 I
* > 116.0.0.0 54.1.1.254 0 0 54 I
* > 117.0.0.0 54.1.1.254 0 0 54 I
* > 118.0.0.0 54.1.1.254 0 0 54 I
* > 119.0.0.0 54.1.1.254 0 0 54 I
r > 155.1.0.0 0.0.0.0 32768 I
Rack1R6 (config) #do sh ip bgp
Version of BGP table is 35, local router ID is 150.1.6.6
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* i28.119.16.0/24 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 54 i
* i28.119.17.0/24 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 54 i
* i112.0.0.0 204.12.1.254 0 100 0 54 50 60 I
* > 0 0 54 50 60 54.1.1.254 I
* i113.0.0.0 204.12.1.254 0 100 0 54 50 60 I
* > 0 0 54 50 60 54.1.1.254 I
* i114.0.0.0 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 0 54 i
* i115.0.0.0 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 0 54 i
* i116.0.0.0 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 0 54 i
* i117.0.0.0 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 0 54 i
* i118.0.0.0 204.12.1.254 0 100 0 54 I
Network Next Hop path metrics LocPrf weight
*> 54.1.1.254 0 0 54 i
* i119.0.0.0 204.12.1.254 0 100 0 54 I
*> 54.1.1.254 0 0 54 i
r i155.1.0.0 155.1.146.4 0 100 0 I
r> 0.0.0.0 32768 i
s > 155.1.146.0/24 0.0.0.0 32768 0 I
* > i205.90.31.0 155.1.13.3 0 100 0 200 254?
* 155.1.67.7 0 300 200 254?
* > i220.20.3.0 155.1.13.3 0 100 0 200 254?
* 155.1.67.7 0 300 200 254?
* > i222.22.2.0 155.1.13.3 0 100 0 200 254?
* 155.1.67.7 0 300 200 254?
Rack1R6 (config) #.
# now R4 configuration
Rack1R4 (config) #do sh run | dry BGP
router bgp 100
no synchronization
The log-neighbor BGP-changes
BGP dmzlink-bw
155.1.146.0 netmask 255.255.255.0
aggregate-address 155.1.0.0 255.255.0.0 summary only
neighbour 155.1.45.5 distance-200
155.1.45.5 route-neighbour card GAME-54 on
neighbour 155.1.146.1 distance-100
155.1.146.1 neighbor send-community times
neighbour 204.12.1.254 distance-54
neighbor 204.12.1.254 dmzlink-bw
No Auto-resume
Rack1R4 (config) #.
Rack1R4 (config) #do sh ip bgp Synt.
Local router BGP 150.1.4.4 identifier UNDER number 100
BGP table version is 18, table 18 main routing version
15 entries for network using 1980 bytes of memory
18 entries for path using 936 bytes of memory
9/7 BGP path/bestpath attribute entered using 1512 bytes of memory
3 entries for BGP AS-path ACCESS using 72 bytes of memory
1 entries PMO community, using 24 bytes of memory
0 cache entries of BGP route-map with 0 bytes of memory
0 cache entries of filter-list BGP using 0 bytes of memory
Bit entries in the cache field: 3 courses (up to 5) with 96 bytes of memory
BGP using 4620 total number of bytes of memory
Activity 102/87 BGP prefixes, 243/225, scan interval to 60 seconds
Neighbor MsgRcvd MsgSent V AS TblVer InQ OutQ Up/Down State/PfxRcd
155.1.45.5 4 200 8615 8640 18 0 0 07:38:02 3
155.1.146.1 4 100 8761 8668 18 0 0 00:14:34 3
204.12.1.254 4 54 8724 8595 18 0 0 07:38:02 10
Rack1R4 (config) #do sh ip bgp
BGP table version is 18, local router ID is 150.1.4.4
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* > 28.119.16.0/24 204.12.1.254 0 0 54 I
* > 28.119.17.0/24 204.12.1.254 0 0 54 I
* > 112.0.0.0 204.12.1.254 0 54 50 60 I
* > 113.0.0.0 204.12.1.254 0 54 50 60 I
* > 114.0.0.0 204.12.1.254 0 54 I
* > 115.0.0.0 204.12.1.254 0 54 I
* > 116.0.0.0 204.12.1.254 0 54 I
* > 117.0.0.0 204.12.1.254 0 54 I
* > 118.0.0.0 204.12.1.254 0 54 I
* > 119.0.0.0 204.12.1.254 0 54 I
* > 155.1.0.0 0.0.0.0 32768 I
s > 155.1.146.0/24 0.0.0.0 32768 0 I
* i205.90.31.0 155.1.13.3 0 100 0 200 254?
*> 155.1.45.5 0 200 254 ?
* i220.20.3.0 155.1.13.3 0 100 0 200 254?
*> 155.1.45.5 0 200 254 ?
* i222.22.2.0 155.1.13.3 0 100 0 200 254?
Network Next Hop path metrics LocPrf weight
*> 155.1.45.5 0 200 254 ?
Rack1R4 (config) #do sh ip bgp neigh 155.1.146.1 opponents
Rack1R4 (config) #do sh ip bgp neigh 155.1.146.1 opponents
BGP table version is 18, local router ID is 150.1.4.4
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* > 28.119.16.0/24 204.12.1.254 0 0 54 I
* > 28.119.17.0/24 204.12.1.254 0 0 54 I
* > 112.0.0.0 204.12.1.254 0 54 50 60 I
* > 113.0.0.0 204.12.1.254 0 54 50 60 I
* > 114.0.0.0 204.12.1.254 0 54 I
* > 115.0.0.0 204.12.1.254 0 54 I
* > 116.0.0.0 204.12.1.254 0 54 I
* > 117.0.0.0 204.12.1.254 0 54 I
* > 118.0.0.0 204.12.1.254 0 54 I
* > 119.0.0.0 204.12.1.254 0 54 I
* > 155.1.0.0 0.0.0.0 32768 I
* > 205.90.31.0 155.1.45.5 0 200 254?
* > 220.20.3.0 155.1.45.5 0 200 254?
* > 222.22.2.0 155.1.45.5 0 200 254?
Total number of prefixes 14
Rack1R4 (config) #.
# and where is the real problem, R1
Rack1R1(config-Router) #do sh ip bgp
Version of BGP table is 15, local router ID is 150.1.1.1
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* i28.119.16.0/24 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i28.119.17.0/24 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i112.0.0.0 54.1.1.254 0 100 0 54 50 60 I
* > I 204.12.1.254 0 100 0 54 50 60 I
* i113.0.0.0 54.1.1.254 0 100 0 54 50 60 I
* > I 204.12.1.254 0 100 0 54 50 60 I
* i114.0.0.0 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i115.0.0.0 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i116.0.0.0 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i117.0.0.0 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i118.0.0.0 54.1.1.254 0 100 0 54 I
Network Next Hop path metrics LocPrf weight
* > I 204.12.1.254 0 100 0 54 I
* i119.0.0.0 54.1.1.254 0 100 0 54 I
* > I 204.12.1.254 0 100 0 54 I
* i155.1.0.0 155.1.146.6 0 100 0 I
* > I 155.1.146.4 0 100 0 I
* > 205.90.31.0 155.1.13.3 0 200 254?
* i 155.1.45.5 0 100 0 200 254?
* > 220.20.3.0 155.1.13.3 0 200 254?
* i 155.1.45.5 0 100 0 200 254?
* > 222.22.2.0 155.1.13.3 0 200 254?
* i 155.1.45.5 0 100 0 200 254?
Rack1R1 (config - Router) # do sh ip bgp 112.0.0.0
112.0.0.0/8, version 4 BGP routing table entry
Paths: (2 available, best #2, table by default-IP-Routing-Table)
MPIO: eBGP iBGP
Announced for the update-groups:
1 2
54 50 60, (from a customer-RR)
54.1.1.254 (metric 2560002816) of 155.1.146.6 (150.1.6.6)
Origin, IGP, 0, 100, valid, internal multipath localpref metric.
DMZ-Link Bw 250 KB
54 50 60, (from a customer-RR)
204.12.1.254 (metric 2560002816) of 155.1.146.4 (150.1.4.4)
Origin, IGP, metric 0, localpref 100, valid, internal, multipath, best
DMZ-Link Bw 12500 KB
Rack1R1(config-Router) #do sh ip route 112.0.0.0
Routing for 112.0.0.0/8 entry
Known through 'bgp 100', 200, 0 distance metric
54, internal type tag
Last update of 204.12.1.254 ago 00:15:30
Routing descriptor blocks:
204.12.1.254, 155.1.146.4, there is 00:15:30
Path metric is 0, number of shares of traffic 1
AS hop 3
Beacon road 54
* 54.1.1.254, 155.1.146.6, there is 00:15:30
Path metric is 0, number of shares of traffic 1
AS hop 3
Beacon road 54
Rack1R1 (config - Router) #.
as you can see, the BGP process in R1 receives the correct link DMZ bw but not indeed take...
can you please help me if I makeover anything in my setup?
Hello
Can you please make sure you have a value of bandwidth on ALL your BGP peering physical interfaces? And you can also include the running-config 'router bgp XXXX' out of R1 as you have not understood what we (others are). Just to make sure that you have "bgp dmzlink-bw' configured on all peerings and overall in the process - it will still show in the output of the same community if it does not work on it.
-
How to build the data model to the server of short?
After the Quick Start Guide, I am still confused of short components. In the view of BI, it should be a short server integrated data model and a tool to develop and manage the data model. Which component is this role, CloverETL or something?We have created a series of screencast "Getting started with short Information" discovered who should provide that you answer these questions.
You can find the full outline on our page OTN: http://www.oracle.com/technetwork/middleware/endeca/learnmore/index.html
And, the screencasts are on our YouTube channel: https://www.youtube.com/user/OracleEID
Thank you
Carrie -
Logging what data inserted in the outer table
Hello
We load a large number of data using external tables and inserts into tables partitioned by day nor the hour.
Other parts of the system want to know what partitions have been updated and when, so before load us all the data, we make a
That's when inserting into partitions of day, IE get all separate days of that specific file.insert into new_data(date_of_event) values (select distinct(trunc(date_of_event) from external_table)
These files, however, can be very substantial and after this first analysis, we do a full insertion in to the correct data table, that is, read the entire file again.
So my question is, is there another (better) way to retrieve the different days/times? A way to make the effective insertion in the table of data and information on which partitions Oracle inserted data into any dictionary etc.?
Haven't tried creating a 'good' temp-table, insert the data into it, extraction of dates and then inserting to the actual data table. But then, what is the best, creating a table and a fall or read the file twice?
Thanks in advanceYou don't say how you are querying and inserting, but if you have a control on a few possibilities come to mind.
1. use INSERT ALL make a multi-table insert. Insert the "date_of_event" into a new "Journal" table and insert data to the table that you insert now.
Then you can make the separate (trunc (date_of_event) "select" on the new table of newspaper. Just truncate the new log table before each query or add a column that contains the file that was imported.2. create a VIEW that includes all the columns in your current query and another copy of "date_of_event" and peel the date of the event in another table.
Option #1 is the simplest.
See ALL INSERT in SQL Reference: http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9014.htm
Maybe you are looking for
-
Tecra A10 - 1 h may not display the support page
OK, I bought a Tecra A10 - 1 h from the local dealer here in the UAE.I know that I should go on the site of the Gulf to look for pilots and others, and I was able to find the model from there, but when I click on the 'Go' it gives me: We're sorry. Th
-
HP 1000-1b09AU Notebook PC: max of 1000-1b09AU HP laptop memory
Hello I am user of HP laptop with the above specifications. Could someone find out about this type of HP memory max ? I only have 2 GB of RAM, and I want to rank up to the RAM up to 4 or 8 GB. But there is no information on the max memory. Am I capa
-
New laptop Satellite A - critical battery message
While using the laptop * through food * he died suddenly. The re-start, there was a message that the battery had reached critical level. It seemed strange that I had been using the laptop through the socket! Someone know if an initial charge of the b
-
HP Notebook: Clean install Windows 7 on 15-ac048ca
Hoping to install Windows 7 Ultimate on this machine. Problems with this notion? Thanks in advance...
-
CLIQ 2.1 - Weather Widget
If you have several locations in the weather widget and open the widget, you can scroll to the left (from page 1 page 2) but then he's stuck on page 2. You can not go back unless you close the widget.