How to export a table of data from MS Access 2007 to Oracle 11g
I have been looking all over trying to find a way to get a table from Access 2007 to Oracle 11g. I tried using the export options in Access but can't get them setup correctly I guess. What are the steps to setting this up correctly or is there another way to export the data?
MS Access 2007 DB migration To oracle 10g
Similar Messages
-
HOw to connect and extract the data from MS ACCESS SOURCE(Database) system
Hi experts ,
I have to extract the data from MS access database system using JDBC adapter will it work if Yes HOW?Hi Sushma,
how to configure sendor JDBC adapter ..
Select adapter type is JDBC..
Give the Transport Protocol:.JDBC 2.0 (Example)............
Message Protocol:...JDBC...........
IAdapter Engine : Integration Server
Processing Parameters..
Quality of service.....(Example)..Exactly once
Poll Interval .... Example ..10
Query Sql statement..Example ..select * from XXXXX
Document Name.....
Update Sql stetement.....
Thanks,
Satya
Reward points if it id useful... -
How to export message body and data from Table to Excel from outlook 2010
I usually get Employee announcement in emails and I need to compile excel sheet from all these emails to know change in status of employee from previous line to current line .
Dear Concerned,
The change in status of the following employee has been carried out as per following details:
New Status
Change in Job
Effective Date
01-Feb-2015
Employee Name
Ricky ponting
Employee Code
4982
Designation
Sourcing Executive (Secondment)
Job Group
1A
Department
Sourcing & Supply Chain
Unit
Technology Sourcing
Division
Finance
Location
sydney
Reporting Line
Mr Micheal king
Note: Ricky Ponting was previously working as
Tariff Implementation Support Officer XYZ organization was reporting to
Mr Robin Sing
I need working code that export about HTML table data as well last Note : full line so that I can have an excel file of 2000 Employees whoes status have been changed and I can easily sort out from which previous line they were reporting to new line and I
can get in touch with the new line for any Access rights re-authorization exercise on later stage .
Currently i am using following code thats working fine with the table extraction but NOTE: line is not being fetched with the following code based on following URL
https://techniclee.wordpress.com/2011/10/29/exporting-outlook-messages-to-excel/
Const MACRO_NAME = "Export Messages to Excel (Rev Sajjad)"
Private Sub ExportMessagesToExcel()
Dim olkFld As Outlook.MAPIFolder, _
olkMsg As Outlook.MailItem, _
excApp As Object, _
excWkb As Object, _
excWks As Object, _
arrCel As Variant, _
varCel As Variant, _
lngRow As Long, _
intPtr As Integer, _
intVer As Integer
Set olkFld = Session.PickFolder
If TypeName(olkFld) = "Nothing" Then
MsgBox "You did not select a folder. Operation cancelled.", vbCritical + vbOKOnly, MACRO_NAME
Else
intVer = GetOutlookVersion()
Set excApp = CreateObject("Excel.Application")
Set excWkb = excApp.Workbooks.Add
Set excWks = excWkb.Worksheets(1)
excApp.Visible = True
With excWks
.Cells(1, 1) = "Subject"
.Cells(1, 2) = "Received"
.Cells(1, 3) = "Sender"
.Cells(1, 4) = "New Status"
.Cells(1, 5) = "Effective Date"
.Cells(1, 6) = "Employee Name"
.Cells(1, 7) = "Employee Code"
.Cells(1, 8) = "Designation"
.Cells(1, 9) = "Job Group"
.Cells(1, 10) = "Department"
.Cells(1, 11) = "Unit"
.Cells(1, 12) = "Division"
.Cells(1, 13) = "Location"
.Cells(1, 14) = "Reporting Line"
.Cells(1, 15) = "Note:"
End With
lngRow = 2
For Each olkMsg In olkFld.Items
excWks.Cells(lngRow, 1) = olkMsg.Subject
excWks.Cells(lngRow, 2) = olkMsg.ReceivedTime
excWks.Cells(lngRow, 3) = GetSMTPAddress(olkMsg, intVer)
For intPtr = LBound(arrCel) To UBound(arrCel)
Select Case Trim(arrCel(intPtr))
Case "New Status"
excWks.Cells(lngRow, 4) = arrCel(intPtr + 1)
Case "Effective Date"
excWks.Cells(lngRow, 5) = arrCel(intPtr + 1)
Case "Employee Name"
excWks.Cells(lngRow, 6) = arrCel(intPtr + 1)
Case "Employee Code"
excWks.Cells(lngRow, 7) = arrCel(intPtr + 1)
Case "Designation"
excWks.Cells(lngRow, 8) = arrCel(intPtr + 1)
Case "Job Group"
excWks.Cells(lngRow, 9) = arrCel(intPtr + 1)
Case "Department"
excWks.Cells(lngRow, 10) = arrCel(intPtr + 1)
Case "Unit"
excWks.Cells(lngRow, 11) = arrCel(intPtr + 1)
Case "Division"
excWks.Cells(lngRow, 12) = arrCel(intPtr + 1)
Case "Location"
excWks.Cells(lngRow, 13) = arrCel(intPtr + 1)
Case "Reporting Line"
excWks.Cells(lngRow, 14) = arrCel(intPtr + 1)
Case "Note:"
excWks.Cells(lngRow, 14) = arrCel(intPtr + 1)
End Select
Next
lngRow = lngRow + 1
Next
excWks.Columns("A:W").AutoFit
excApp.Visible = True
Set excWks = Nothing
Set excWkb = Nothing
Set excApp = Nothing
End If
Set olkFld = Nothing
End Sub
Private Function GetSMTPAddress(Item As Outlook.MailItem, intOutlookVersion As Integer) As String
Dim olkSnd As Outlook.AddressEntry, olkEnt As Object
On Error Resume Next
Select Case intOutlookVersion
Case Is < 14
If Item.SenderEmailType = "EX" Then
GetSMTPAddress = SMTP2007(Item)
Else
GetSMTPAddress = Item.SenderEmailAddress
End If
Case Else
Set olkSnd = Item.Sender
If olkSnd.AddressEntryUserType = olExchangeUserAddressEntry Then
Set olkEnt = olkSnd.GetExchangeUser
GetSMTPAddress = olkEnt.PrimarySmtpAddress
Else
GetSMTPAddress = Item.SenderEmailAddress
End If
End Select
On Error GoTo 0
Set olkPrp = Nothing
Set olkSnd = Nothing
Set olkEnt = Nothing
End Function
Function GetOutlookVersion() As Integer
Dim arrVer As Variant
arrVer = Split(Outlook.Version, ".")
GetOutlookVersion = arrVer(0)
End Function
Function SMTP2007(olkMsg As Outlook.MailItem) As String
Dim olkPA As Outlook.PropertyAccessor
On Error Resume Next
Set olkPA = olkMsg.PropertyAccessor
SMTP2007 = olkPA.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x5D01001E")
On Error GoTo 0
Set olkPA = Nothing
End Function
Sub DebugLabels()
Dim olkMsg As Outlook.MailItem, objFSO As Object, objFil As Object, strBuf As String, strPth As String, arrCel As Variant, intPtr As Integer
strPth = Environ("USERPROFILE") & "\Documents\Debugging.txt"
Set olkMsg = Application.ActiveExplorer.Selection(1)
arrCel = Split(GetCells(olkMsg.HTMLBody), Chr(255))
For intPtr = LBound(arrCel) To UBound(arrCel)
strBuf = strBuf & StrZero(intPtr, 2) & vbTab & "*" & arrCel(intPtr) & "*" & vbCrLf
Next
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFil = objFSO.CreateTextFile(strPth)
objFil.Write strBuf
objFil.Close
Set olkMsg = Application.CreateItem(olMailItem)
With olkMsg
.Recipients.Add "[email protected]"
.Subject = "Debugging Info"
.BodyFormat = olFormatPlain
.Body = "The debugging info for the selected message is attached. Please click Send to send this message to David."
.Attachments.Add strPth
.Display
End With
Set olkMsg = Nothing
Set objFSO = Nothing
Set objFil = Nothing
End Sub
Function StrZero(varNumber, intLength)
Dim intItemLength
If IsNumeric(varNumber) Then
intItemLength = Len(CStr(Int(varNumber)))
If intItemLength < intLength Then
StrZero = String(intLength - intItemLength, "0") & varNumber
Else
StrZero = varNumber
End If
Else
StrZero = varNumber
End If
End FunctionDear Graham
I am already big fan of yours and using mail to many Addin from years from word 2007 to Word 2010 :) and still loving it and I use it for access re-authorization from Lines for application accesses . I tried and finally got understanding of the Extract to
mail Addin and after tweaking excel - Text To columns and other few things finally i was able to get the required data - from morning to now :) I am happy to see your provided guidance
Thanks alot - by the way why your Mail to many add-in is so slow now these days :) previous versions usually help me send 1000 emails in 10 minutes now it takes long time :) -
How to export a continous waveform data from a while loop?
Hello there,
I need to add noise signal to my waveform which is read from a binary file. I use noise generate vi (deleted the density part) from NI example as my sub VI, and put it into a while loop in order to get the continous noise signal, but I don't know how to export this data. There's no waveform come out from the noise waveform output tunnel (on the while loop). I used output tunnel, didn't work, tried shift register, didn't work... Can anybody help?
Also, how to fix the dt problem for the noise generate vi and my original data ( from binarty file)
Thanks in advance!
Wendyhi
I think notifier can do the trick (an example is shown in the master-slave template).
Another possibility can be a FG (or action engine, look for the nugget ActionEngine, it will change your LV-coding life !)
N -
How to fill a table with data from columns & rows from a txt file
I am trying to fill say:
Myname Myclass Mycollege
Mohan MD Stanford
from a txt file into 3 columns of a table. I can easily do it into a textarea component by
clicking a button:
try{
FileReader fr = new FileReader("F:/CreatorProjects1/stan.txt");
BufferedReader br = new BufferedReader(fr);
String s1="";
String s="";
stantxtarea.setValue(s);
while((s=br.readLine())!=null) {
s1 = s1+s;
s1=s1+"\n";
stantxtarea.setValue(s1);
br.close();
fr.close();
} catch(Exception e) {
e.printStackTrace();
return null;
All table components seem to need a database. I do not use any database. I run exe files that give output to txt files. How to solve it?
I appreciate any help in this regard...
dr.mohan raothere may be another way. This is some thing some thing I can recommend. You can create property type of ObjectListDataProvider in session or application based on the scope you required. Create web bean class with property you want to show in the column (say col1, col2, col2). Initialize the list property like similar below
List dataList = new ArrayList();
ObjectListDataProvider mytableprops = new ObjectListDataProvider();
try {
//start loop read data from your txt file
//create instance of web bean for each line
//add web bean instance into dataList
//end of loop readind data from txt file
oldpins.setList(dataList );
oldpins.setObjectType(NotificationProfileBean.class);
} catch (Exception ee1){;}
return oldpins;
Sri Thuraisamy -
How to export the single cube data from SAP repository
Hi ,
I have a requirement to export the single cube data ( there was so many cubes in the SAP repository) as an XML file or a .csv file or a flat file.
And also looking for how to do cube quering?
Thanks in advance ,
Ramakrishna ThotaHI RK,
1. You can use Open Hub service to export data into CSV or File Format.
2. You can also use RSCRM_REPORT transaction to export data in to File, for this you need to create query first.
3. You can also use APD to generate file of your cube data.
thanks
Ramesh Babu -
Send and take back data from Microsoft Access 2007
Hi everybody,
I wish you could help me with my application that is very urgent. I have some characters read by OCR and i want to send them to a database in Microsoft Access 2007 and compare if there is a match or not of the data i sent from labview. I want a true or false as a result of comparison in access and send this response back to labview.
The thing is that the characters read by OCR in labview are characters from a license plate and i want to compare those in a database in Microsoft Access and this has to tell me if there is a match or not and send a response to labview to use it for letting a car enter or not to a parking lot. I dont know how to do all i have explained.
And another question, how can i create a database in microsoft access which i could modify while i am running the application i told you before.
Thanks a lot....
Cristi@n
Hola a todos,
Espero puedan ayudarme con mi aplicación que es de suma urgencia. Tengo varios caracteres leidos de una placa vehicular mediante OCR y quisiera mandarlos a una base de datos en microsoft Access y compararlos con la base de datos de placas vehiculares para saber si esta o no en la base. Esta respuesta quisiera enviarla de nuevo al labview para mostrar si el vehiculo ingresa o no al parqueadero. Además no se si se pueda ir ingresando datos a la base de datos mientras estoy corriendo la aplicación en labview. y como hago una base de datos asi en microsoft access..
Gracias de antemanoHola
Usted puede utilizar el database connectivity toolkit
Sigue algunos links para su consulta:
http://sine.ni.com/nips/cds/view/p/lang/en/nid/209060
http://digital.ni.com/public.nsf/allkb/EDA4CCE5EBE0D295862577650029D501?OpenDocument
http://www.ni.com/pdf/manuals/371525a.pdf
Saludos.
Diogo
Diogo Aparecido
Engenheiro de Aplicação
National Instruments Brasil -
How to export images with meta data from iPhoto?
Hi
I have about 4000 family photos which have been scanned and imported to iPhoto. They are all dated the same day, naturally. I'm now in the process of adding metadata to every photo: location, faces, time and year, file name and description.
Once I have gone through every photo, I will put them into albums based on events and the meta data above.
Eventually, I will want to share all these photos with people who should like to see them (and who are not tech savvy...) I'm looking for the best approach to do to this.
1. Will all the metadata that I have added remain in the photos when I export them?
2. What exactly is the best approach to export these 4000 photos?
- As I have gone through all the hard work of sorting the photos in albums, is it possible to export these photos in the albums that they already in?
I hope to hear from someone out there. Thanks a lot
Best wishesYou need to have an application like EXIF Viewer for Mac OS X to check the files once you've exported them with the various checkboxes checked:
Happy Holidays -
How to retrieve module table usage data from Repository?
Hi,
I would like to retrieve some basic data about my application system's modules, like module name, module componenet name list, base table and lookup table name of the module component, base table operations (insert, update, delete). Did some one do it by using the Designer API? I read the the docs, but it does not look as a to simply thing for me. In Designer 1.3 I could figure out the RDBMS views, but with versioning in 6i/9i it just seem too complicated for me.
Could any one please post an example here?
Thank you in advance.
Regards,
Tamas Szecsybegin
jr_context.set_workarea('XXXX'); -- Workarea name
end ;
select cmc.*
from ci_application_systems cas
, ci_app_sys_modules cam
, ci_module_components cmc
where cas.irid = cam.application_system_reference
and cam.module_reference = cmc.general_module_reference
and cas.name = 'XXXX' -- APP name -
How to Get Current Date from MS Access in a Select Statement
From a java method, I want to use JDBC to get the current date from MS Access. In Oracle I would do "select sysdate from dual", but I can't figure out how to do it in MS Access. Here are some of my attempts. I have a table in my Access db called PARM.
// String sql = "SELECT '0', NOW() FROM PARM";
//rs.next() is false
// String sql = "SELECT NOW() AS CURR_DT FROM PARM";
//rs.next() is false
// String sql = "SELECT DATE() AS CURR_DT FROM PARM";
//rs.next() is false
// String sql = "SELECT NOW()";
//StringIndexOutOfBoundsException: String index out of range: -1
// String sql = "select { fn now() } from parm";
String sql = "SELECT Date()";
//java.lang.StringIndexOutOfBoundsException: String index out of range: -1
ResultSet rs = stmt.executeQuery(sql);
if (rs.next()) {
return rs.getString(1);
} else {
return null;
}Why are you getting it as a String? You should be getting it as a timestamp.
Although getString works for me too. There is something else wrong that you haven't shown.
Here is some shoddy, but simple, test code that demonstrates it working.
import java.sql.*;
public class Test{
public static void main(String args[])throws Exception{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c = DriverManager.getConnection("jdbc:odbc:stats");
Statement s = c.createStatement();
ResultSet rs = s.executeQuery("SELECT NOW()");
while(rs.next()){
System.out.println(rs.getTimestamp(1));
rs.close();
s.close();
c.close();
} -
How i can create table with data
How i can create table with data from dev to production?
How i can create table with data
[url=http://en.wikipedia.org/wiki/Black_Beast_of_Aa
aaarrrrrrggghhh]from dev to production?
[url=http://img2.travelblog.org/Photos/3800/14977/t
/64816-Col-Kurtz-0.jpg]The horror, the
horror.lol, you gonna scare somebody here.
Are we helping devil? -
How to export / import tables from UAT Environment to Devlopment in oracle
i wanted to share some points about export/import tables in oracle.
we have two environments one is development and integrated user acceptance test (UAT).
we have finalized table structures with data in UAT. i wanted to move from UAT to Development.
i found some commends in google. I tried but I am not able to export and then its throwing some errors.
i am explaining below what i want to do and what i want did.
Please provide solution what i need to do.
admin credentials in UAT
username :venkat_admin
password :venkat_admin
UAT user/schema
username : ods_inb_stg
password : ods_inb_stg
development environment credentials
admin user name : dev_admin
password : dev_admin
Development user/schema
username :ods_inb_dev
password :ods_inb_dev
Above mentioned schema names i want move data from UAT (ods_inb_stg) to development (ods_inb_dev)
I logged in uat ods_inb_stg user and then
I used this command
Exp ods_inb_stg/ods_inb_stg file=party_pt_address.expdat tables=(party,party_address)
log=party_pt_address.log;
getting error
Unknown command beginning "exp ods_inb_stg/..." - rest of line ignored.
What should I do any one help.
One more thing i have more than 100 tables how to export all tables and which is the easiest way and how to do it.
Thanks in Advance
VenkatHi,
based import and export we need to do.
suppose we think we have created tables in production and data also populated. we need to export the tables with data. i am able to export the tables with data some tables or full database.
suppose we have development environment. in development environment there is no tables. we can treat nothing in development. we have only username,password and hostname.
when you import the tables production to development automatically create the table structures with data.
where ever we wanted to import the tables no need to create table structures. thats why no need to think about table structures. -
How to transport/move a table with data from development to Test to Production
Hi,
How to transport/move a table with data from development to Test to Production..? Export-Import a Delivery Unit does only the structure and not the data
Reg
SriHi Sri,
You cannot transport Data via Transport route in HANA, you can only transport code changes/Structure via DU. For Data movement, you either have a do a export/import from a flat file or replication from a Source System to HANA.
Thanks Much,
Abhishek -
How to exp a specific partition data from a partitioned table
Thanks in advance.
Is is possible to export a specific partition data from a partitioned table? If so Please describe how with an example. Thank You.You would specify a partition with the table_name:partition_name syntax at the TABLES parameter.
See examples at
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#CEGCJABJ -
Export table data from production to quality system - Oracle 10.2
Hi,
I am trying to export a few table's data from our production system to the quality system.
Reason: To synchronize the table data between Production and Quality system
System info: SAP ECC 6.0 on Oracle 10.2 ; OS: Solaris
Description:
There are few standard SAP tables which hold the data of the various institutions of our client. Our requirement is to export the master data relevant for a particular institution from the production system to the quality system. We intend to use the Oracle Export and Import utility (Suggestions on the usage of which tool are welcome).
Constraints:
Lets say, there is a table NXXX in production system. This table contains the data for the institutions AA, BB, CC. I intend to export the data relevant to the institution AA from the table NXXX and import the data to the table NXXX in the Quality system.
Now I understand that the schema of these tables are different. In the production system, the schema would be SAP<Prod SID>.NXXX and in the quality system, the schema is SAP<Qas SID>.NXXX. I need your suggestions to overcome this constraint.
Regards,Hi,
I do not think you can just export data in your scenario using the oracle imp/exp tool it's all or nothing...
as for the scema naming between QA/PROD you just need to use :
imp <dump file> fromuser=<PROD schema> touser=<QA schema> only thing you have to look out for is the mandt as it will not change.
I had something similar recently where I had to copy 14+ million rows from Prod to a Dev client without impacting on other clients data for this table in Dev.
So for data consistancy
1) I restored a copy of prod on a new LPAR and exported the table.
2) Created a dummy prod client using client '000' as a base.
3) imported the table using the syntax above enabling the change of schema
We have now a 14 + million rows in the dummy prod client on the new LPAR
Now on the Dev server
4) Created new client on dev as per point 2
5) SCC9 Remote client copy from the new LPAR using SAP_ALL
6) As I had 9+ million rows in the target client to get rid of I used delete_commit procedure as in metalink note 3777.1
This enable me to delete rows fast without caning the roll back segs.
7) using R3trans and a command file from the command line copied the single table into the target client.
I do not know if this is useful for you because your scenario is slighley different, but this is what I did for a whole table for a particular mandt.
Regards
Mark
Edited by: Mark Norman on Oct 22, 2009 11:16 AM
Edited by: Mark Norman on Oct 22, 2009 11:17 AM
Maybe you are looking for
-
Hi, We are having trouble while importing one ledger 'GERMANY EUR GGAAP'. It works for Dec 2014 but while trying to import data for 2015 it gives an error. Import error shows " RuntimeError: No periods were identified for loading data into table 'AIF
-
Comma separated data into IN clause in oracle report query
i have a field on form as order number it takes more than one value as 1,2,3 now i want to fetch data in report query for where order no in 1,2 and 3... but field takes value as 1,2,3... how can i separte the comma from value and how can i pass value
-
Hi Experts, I want to shift one GL account from assets to liabilities. The account which I want to transfer is a control accunt & also used in GL account determination, during implementation this account was wrongly placed in liabilities however this
-
ErrorSearchFolderNotInitialized
Hello, In my company, mail search in OWA stopped working a few days ago. However, we're still able to search for people. I noticed with Firefox development tools that this request is sent: https://owa.mycompany.com/owa/service.svc?action=FindConversa
-
ORABPEL-10903 error in eclipse plugin (v 0.9.13)
Hi, Modeled a workflow as provided in the eclipse example pdf on OTN. On build I get the below error, though I can see the wsdl (xml) via any other independent http clients (browser and java). Same build error with proxy selection unchecked or checke