Database refresh of a 10gb database through export-import
hi ,
I am using oracle 10g R2 . I need to refresh the development server from the production server .
The size of the database is 10GB . Can I do it with export-import ?
Thank you .
besides these mentioned methods, i.e. 1) exp/imp; 2) data pump; 3) transportable tablespaces; 4) rman duplicate. you can also use manual duplication of the production database which is faster and easier I would say. Below is link, which can be used for detailed steps.
http://www.dba-oracle.com/oracle_tips_db_copy.htm
Please note that, if your source database can not be shut down, so you can copy your datafiles by putting tablespaces or database into hot backup mode.
Similar Messages
-
Move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility
Hi,
I want to move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility in Oracle EBS (FINANCILA) environment.
My Current Setup:
OS: SUN SPARC 8
ORACLE APPS: 11.5.7
DB Version: 8.1.7.3
My New Setup:
OS: SUN SPARC 10
ORACLE APPS: R12
DB Version: 10gR2
I have successfully created Upgraded file R12 file system and installed R12 tech stack.
Now we want to move data from Current to New Setup by using Export/Import utility.
Please suggest me steps or meta link note .
Thanks
AnupWhat shoul be better for my case:
Upgrade Paths :
E-Business Suite Releases Available Paths
11.5.8 with 9.2.0.x database Path A
11.5.9 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
11.5.9 CU2 with 9.2.0.x or 10.1.0.x database Path A or Path C
11.5.9 CU2 with 10.2.0.2 database Path D
11.5.9 CU2 with 10.2.0.3 database Path E
11.5.9 CU2 with 10.2.0.4 database Path B
11.5.10 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
11.5.10.2 with 9.2.0.x or 10.1.0.x database Path A or Path C
11.5.10.2 with 10.2.0.2 database Path D
11.5.10.2 with 10.2.0.3 database Path E
11.5.10.2 with 10.2.0.4 database Path B
Regards
Anup -
Are there performancebenefits to reorganizing database-using export/import?
I have a production database using Oracle 9.2.0.5, which has been running for last 3 years since it was upgraded from 8.1.7. At that time we had done full export of 8.1.7 database and then created 9.2. instance and then imported all the application schemas.
Load on our database has been increasing and there are constant pressures from management to improve performance. We have looked at indexes many times, have lots of memory for SGA and have tuned various init.ora parameters. Being a third party packages, we cannot rewrite queries.
Application is a mix of OLTP and reporting, it is definitely more read than write.
Are there any benefits to reorganize database using export/import, i.e., we will do a full export of existing database and then delete all objects from application schemas and do schema imports. We will run the dbms_Stats again to recomputed statistics. Of course, we will test all of that in a test environment before making change sin production.
I have heard different views on reorganization. Some people say it is useless, some people say it can improve performance since data will be placed homely in fewer blocks.
Appreciate your feedback.Hi,
Oracle gave us reorg utilities (dbms_redefinition) because Oracle does not do real-time reorganization for performamnce reasons.
In some applications, reorgs are critical to high-performance, while in others, it may make no difference.
Remember, a reorg simply puts the indexes and tables into their "optimal" pristine state.
The most striking benefit of table reorgs is when a "sparse" table experiences lots of full scans. After the reorg, response time can be cut in half.
Also, in cases where related rows are queried together, a reorg with row-resequencing (like 10g sorted hash clusters) make a bif difference:
http://www.dba-oracle.com/t_table_row_resequencing.htm
But like I said, it depends on many factors . . .
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm -
Choose a database among various databases for export/import using.
Hello,
I am using forms 6i and I want to export several databases using
forms.
With regards to that what is the technique/code I could use to select
the database of my choice for export.
How could we get the name/services of a particular database among
various databases using Forms 6i.
Could some one give me the idea/code to get the above requirement?
Thanks
AmitWhy would you want to use Forms (a client tool) to import or export a database? Imp and exp are command line tools meant to be run on the database server.
You will probably be hitting other problems, like different database versions. For every database version you need the correct imp and exp.
If you really want to use Forms, than just make a table that hold the names of the databases. -
Exporting/Importing Reports
Hi,
We have different environments for our application....Dev, Test, and Production.
We want to create Discoverer Reports on Dev and then port them on test and Production. Is there any way I can do this through Exporting/Importing.
I know one way of doing this is through the Discoverer Desktop. is there any other way to do this via Discoverer Plus?
Please let me know.
Thanks and Regards,
SMHey Jayu,
Thanks for the reply. It works.
We have the Discoverer Admin but I didnt knew that it can be used to import/export workbooks too.
Thanks Again.
Cheers,
SM -
ORA-12547 error while creating new database through dbca
i installed oracle 10g R2 on parallels virtuozzo container. (it is a product similar to openvz and solaris containers)
added: oracle version is 10.2.0.1.0
the installation goes off without too much fuss but when i try to create a general purpose database through dbca it throws up an error
ORA-12547 : TNS lost contact
my listener is up and runing and did stop and restart it. i also created a new listener after deleting the previous one.
still the error persists.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 19-MAY-2009 15:39:06
Uptime 0 days 0 hr. 55 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /export/home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /export/home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyi am running dbca from oracle user only and i did ensure that the contents of the oracle home directory (on which oracle is installed) has permissions of oracle:oinstall.
i am clueless as to what is causing this error.
just to add to issues which i faced during installation on virtuozzo containers. containers does not allow me to create a swap space. but i had to ignore the error and go ahead with the installation with most of the steps followed from http://wiki.openvz.org/Oracle_10g_VE.
please guide
Edited by: iinfi on May 19, 2009 4:53 PMhi all
virtuozzo during creation of containers doesnt install the following.
sysstat-5.0.5-1
libaio-0.3.103-3
libaio-0.3.103-3 (i386)
libaio-devel-0.3.103-3
the oracle documentation tells us to install the following and so i didnt know i had to install other packages as well.
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
thanks for your time. -
Migrate Database- Export/Import
Hi,
I need to migrate an Oracle database 9i from Sun Solaris to Linux. The final target database version would be 11g.
Since this is a 9i database, I see that we have only option of export and database. We have around 15 schemas.
I have some queries related to it.
1. If I perform a export with full=y rows=y, Does it export Sys, System Schema objects also?
2. Can we perform export in Oracle 9i and use datapump import on targert 11g?
3. What is the ebst approach - a) to perform schema by schema export or b) to perform a full database export with exp / file=xxx.dmp log=xxxx.log full=y?
Since there is a database version different I dont want to touch sys, system schema objects.
Appreciate your thoughts.
Regards
Cherrish VaidiyanHi,
Let me try to answer some of these questions you queried for:
1. If I perform a export with full=y rows=y, Does it export Sys, System Schema objects also?Export won't export sys objects. For example, there are tables in sys, like obj$ that contain information for other metadata objects, like scott.emp, etc. This is not exported becuase when scott.emp is exported, the data from obj$ is essentially exported that way. When the dumpfile is imported and scott.emp is recreated, the data in sys.obj$ will be restored through the create table statement. As far as the SYSTEM schema is concerned, some objects are exported and some are not. There are tables in system that contain information about queues, jobs, etc. These will probably not make any sense on the target system so those types of tables are excluded from the export job. Other objects make sense to export/import so those are done. This is all figured out in the internals of export/import. Thre are other schemas that are not exproted. Some that I can think of are DMSYS, ORDSYS, etc. This would be for the same reason as SYS.
2. Can we perform export in Oracle 9i and use datapump import on targert 11g?No, the dumpfiles are formatted differently. If you use exp, then you must use imp. If you use expdp, then you must use impdp. You can do exp on 9i and imp on 11g with the dumfile that was created on 9i.
3. What is the ebst approach - a) to perform schema by schema export or b) to perform a full database export with exp / file=xxx.dmp log=xxxx.log full=y?This is case by case decision. It depends on what you want. If you want the complete database moved, then I would personally think that a full=y is what you would want to do. If you just did schema exports, then you would never export the tablespaces. This would mean that you would have to create the tablespaces on the source system before you ran imp. There are other objects that are not exported when a schema level export is performed that are exproted when a full is performed. This information can be seen in the utilities guide. Look to see what is exported when in user/schema mode vs full/database mode.
Since there is a database version different I dont want to touch sys, system schema objects.This is all done for you with the internal workings of exp/imp.
Dean
Edited by: Dean Gagne on Jul 29, 2009 8:38 AM -
Issue in creation of group in oim database through sql query.
hi guys,
i am trying to create a group in oim database through sql query:
insert into ugp(ugp_key,ugp_name,ugp_create,ugp_update,ugp_createby,ugp_updateby,)values(786,'dbrole','09-jul-12','09-jul-12',1,1);
it is inserting the group in ugp table but it is not showing in admin console.
After that i also tried with this query:
insert into gpp(ugp_key,gpp_ugp_key,gpp_write,gpp_delete,gpp_create,gpp_createby,gpp_update,gpp_updateby)values(786,1,1,1,'09-jul-12',1,'09-jul-12',1);
After that i tried with this query.but still no use.
and i also tried to assign a user to the group through query:
insert into usg(ugp_key,usr_key,usg_priority,usg_create,usg_update,usg_createby,usg_updateby)values(4,81,1,'09-jul-12','09-jul-12',1,1);
But still the same problem.it is inserting in db.but not listing in admin console.
thanks,
hanuman.Hanuman Thota wrote:
hi vladimir,
i didn't find this 'ugp_seq'.is this a table or column?where is it?
It is a sequence.
See here for details on oracle sequences:
http://www.techonthenet.com/oracle/sequences.php
Most of the OIM database schema is created with the following script, located in the RCU distribution:
$RCU_HOME/rcu/integration/oim/sql/xell.sql
there you'll find plenty of sequence creation directives like:
create sequence UGP_SEQ
increment by 1
start with 1
cache 20
to create a sequence, and
INSERT INTO UGP (UGP_KEY, UGP_NAME, UGP_UPDATEBY, UGP_UPDATE, UGP_CREATEBY, UGP_CREATE,UGP_ROWVER, UGP_DATA_LEVEL, UGP_ROLE_CATEGORY_KEY, UGP_ROLE_OWNER_KEY, UGP_DISPLAY_NAME, UGP_ROLENAME, UGP_DESCRIPTION, UGP_NAMESPACE)
VALUES (ugp_seq.nextval,'SYSTEM ADMINISTRATORS', sysadmUsrKey , SYSDATE,sysadmUsrKey , SYSDATE, hextoraw('0000000000000000'), 1, roleCategoryKey, sysadmUsrKey, 'SYSTEM ADMINISTRATORS', 'SYSTEM ADMINISTRATORS', 'System Administrator role for OIM', 'Default');
as a sequence usage example.
Regards,
Vladimir -
How to connect a PDF form to SQL server database through web service?
Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice.Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice. -
How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.
If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
This page is a good starting point for learning about Flex and PHP communication:
http://www.adobe.com/devnet/flex/flex_php.html
Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/ -
Error while creating Auxiliary database through RMAN on the same host.
I got the following error while cloning a stand by database through RMAN.
I got the following error while cloning a stand by database through RMAN.
[oracle@localhost admin]$ rman auxiliary sys/clonedb@clonedb
Recovery Manager: Release 11.1.0.6.0 - Production on Mon Sep 19 10:51:48 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12154: TNS:could not resolve the connect identifier specified
My LISTENER looks like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
TNS Names:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
CLONEDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CLONEDB)
And SQLNet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES,HOSTNAME, EZCONNECT)
Any help would be highly appreciated.
Thanks,
-Revku.Hello,
I think there is something wrong with the ")" in the listener.ora : the second SID_DESC is not part of the SID_LIST.
Instead of
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)It should be :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)Hope it will help.
Regards,
Sylvie -
System copy using SAPInst(Export Import database Independent prcoess failed
Hello ,
I am doing a System copy using SAPInst export/import process .
Source system : SAP Netweaver'04( BW 3.5 , Kernel : UC 640 ,Patch level 196 )
Export process fails at Phase 2 - Database Export at R3load jobs running 1,waiting 0 . Below is the log details
SAPSDIC.log
(EXP) INFO: entry for BAPICONTEN in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
(EXP) INFO: entry for BAPICONTENT255 in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20031127161249
(EXP) INFO: entry for BAPICONVRS in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20010131174038
(EXP) INFO: entry for BAPICREATORDATA in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
(EXP) INFO: entry for BAPICRMDH1 in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
(EXP) INFO: entry for BAPICRMDH2 in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
(EXP) INFO: entry for BAPICRMEXP in DDNTT is newer than in DDNTT_CONV_UC: 20051229175513 > 20031211120627
(EXP) INFO: entry for BAPICRMEXT in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120627
(EXP) INFO: entry for BAPICRMKEY in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
(EXP) INFO: entry for BAPICRMKEY_T in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
(EXP) INFO: entry for BAPICRMMSG in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
(EXP) INFO: entry for BAPICRMMSG_T in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
(EXP) INFO: entry for BAPICRMOBJ in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120628
(EXP) INFO: entry for BAPICRMPAREX_T in DDNTT is newer than in DDNTT_CONV_UC: 20051229175452 > 20031211120305
(EXP) INFO: limit reached, 5000 tables in DDNTT are newer than in DDNTT_CONV_UC
(EXP) INFO: NameTab check finished. Result=2 #20100113131216
(EXP) INFO: check for inactive NameTab entries: Ok.
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(DB) INFO: disconnected from DB
D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 20100113131216
***SAPCLUST.log ****
(NT) Warn: EDIDOC: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
(EXP) TABLE: "EDIDOC"
(NT) Warn: PCDCLS: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
(EXP) TABLE: "PCDCLS"
(NT) Warn: SFHOA: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
(EXP) TABLE: "SFHOA"
(NT) Warn: SFHYT: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
(EXP) TABLE: "SFHYT"
(NT) Warn: UMG_TEST_C: normal NameTab from 20040211095029 younger than alternate NameTab from 20031113150115!
(EXP) TABLE: "UMG_TEST_C"
myCluster (55.22.Exp): 712: error when retrieving alternate nametab description for physical table UMG_TEST_F.
myCluster (55.22.Exp): 713: return code received from nametab is 32
myCluster (55.22.Exp): 299: error when retrieving physical nametab for table UMG_TEST_F.
(CNV) ERROR: data conversion failed. rc = 2
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(DB) INFO: disconnected from DB
D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 2010011312563
Please suggest.
Thanks & Regards
GaneshIs your DB unicode? If so, did you select the unicode flag in sapinst?
This [thread|System Copy Error while exporting ABAP; might offer some help.
-Zach -
Can't startup the database through "isqlplusdba"
I have connectd as sysdba to the oracle 9i database through iSQLPLUSDBA. My database was initially in started mode. Then I did a normal shutdown(successfully).
But When I try to startup it gives me following error.
LRM-00101: unknown parameter name 'db_cache_size' LRM-00101: unknown parameter name 'dispatchers' LRM-00101: unknown parameter name 'fast_start_mttr_target' LRM-00101: unknown parameter name 'pga_aggregate_target' LRM-00101: unknown parameter name 'undo_management' LRM-00101: unknown parameter name 'undo_retention' LRM-00101: unknown parameter name 'undo_tablespace' ORA-01078: failure in processing system parametersHi,
I am having exactly the same problem:
SQL> startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
LRM-00101: unknown parameter name 'db_cache_size'
LRM-00101: unknown parameter name 'dispatchers'
LRM-00101: unknown parameter name 'fast_start_mttr_target'
LRM-00101: unknown parameter name 'pga_aggregate_target'
LRM-00101: unknown parameter name 'undo_management'
LRM-00101: unknown parameter name 'undo_retention'
LRM-00101: unknown parameter name 'undo_tablespace'
ORA-01078: failure in processing system parameters
SQL>
This is my "ini" file:
*.aq_tm_processes=1
*.background_dump_dest='d:\oracle\admin\mydb\bdump'
*.compatible='9.2.0.0.0'
*.control_files='d:\oracle\oradata\mydb\control01.ctl','d:\oracle\oradata\mydb\control02.ctl','d:\oracle\oradata\mydb\control03.ctl'
*.core_dump_dest='d:\oracle\admin\mydb\cdump'
*.db_block_size=8192
*.db_cache_size=629145600
*.db_domain='skmconsulting.com'
*.db_file_multiblock_read_count=16
*.db_name='mydb'
*.dispatchers='(PROTOCOL=TCP)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='mydb'
*.java_pool_size=33554432
*.job_queue_processes=10
*.large_pool_size=8388608
*.log_archive_format='arch_mydb_%t_%s.arc'
*.log_archive_dest = D:\oracle\archive-logs\mydb
*.log_archive_start=TRUE
*.max_enabled_roles=148
*.open_cursors=500
*.optimizer_mode='rule'
*.pga_aggregate_target=25165824
*.processes=200
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=83886080
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='d:\oracle\admin\mydb\udump'
Any ideas?
Thanks. -
Class not found Exception when accessing database through java using ASP
I am trying to access the database through ASP via java:
the database is setup as a system database..
the java class works fine if i try to run it as a stand alone.. but as soon as I run it through ASP.. it does not get passed the driver line.. is there anything in particular I need to do ?
JAVA and ASP and the output code looks like as follows:
java code looks like this:
import java.sql.*;
public class testDB{
private Connection connection;
private Statement statement;
public static void main(String[] args){
public String getDriver(){
String x = "start of program ";
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
x = x + " Got Driver";
connection = java.sql.DriverManager.getConnection("jdbc:odbc:database", "sunny", "jassal");
x = x + " After connection statement";
statement = connection.createStatement();
x = x + " After statement statement";
statement.execute("Insert into name (name, age) values ('hello', 33)");
x = x + " after insert";
connection.close();
} catch (Exception sqlex){x = x + sqlex.getMessage() + " " ;
x = x + sqlex.toString() + " " ;
x = x + sqlex.getLocalizedMessage();}
return x;
and the asp looks like this:
<html>
<%
set javaobject = GetObject("java:testDB")
response.write "after getting object"
response.write javaobject.getDriver()
set javaobject = nothing
%>
</html>
after getting objectstart of program sun/jdbc/odbc/JdbcOdbcDriver java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver sun/jdbc/odbc/JdbcOdbcDriverwhat would I set the classpath to be .. and I am sorry I am new to this.. but how would I be able to check the CLASSPATH .. or even how do I set the CLASSPATH.. to which directory would i need to set the classpath to
I know I can set the classpath in dos by set CLASSPATH=
but I dont know how to set it so it would read the drivers -
Store and display word document in database through forms
how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
regardsHi Alex
"Create a datablock and specify the item datatype as blob"
BUT: How to bring the document to the blob?
Hi user 611..
Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
We have a application with documents stored via OLE - terrible!
OLE is no longer supported by forms 10. But webutil would help.
I asked a similar question and got a good answer:
OLE-Container and migration to the web
Wolfram
Maybe you are looking for
-
Purchase Requisition to Purchase Order
In 4.6C I noticed a few requisitions have been used to create 2 purchase orders and doubled the quantity ordered. After the status of the req changes to B I thought the req will not allow creation of a second po. How can I prevent this from happening
-
Thnk my ipod got wet while workingout "it snt turning on Wht can I do?
I forgot to turn on the Ipod when I started working out ( all because a friend) It was in my waist, then when I desided tu use it, It just didn't do anything, My frien told me that it had got wet and I can't belive I'm going to loose my Ipod. I put i
-
I have been using OS X Lion for years. Last night I updated to OS X Yosemite. Now I cannot update either my iPhoto nor iMovie. How do I fix this? Telling me to go to the Support at App Store is not helpful as they are oriented to my MacBook Pro and n
-
SelectManyShuttle proxy usage with reset() and addItem() methods
I would like to pre-populate the trailing list of the shuttle with values that can change with a select one choice component. The leading list would be populated with another select one choice and these could be added to the existing values in the tr
-
I SIMPLY WANT TO REMOVE A DUPLICATE SONG IN MY PLAYLIST,IN I-TUNES 'HELP SAYS PRESS THE 'DELETE' KEY........WHERE IS THE 'DELETE' KEY????? i TRIED THE DELTE KEY ON THE COMPUTER, THAT DOESSN'T WORK??? WHAT AM I MISSING??? THANKS