Steps after learning SQL*PLUS
hi alll.....
i know sql*plus with good, now i want the next steps that i have to learn to become a DBA please.
regards..
Ali
user13721099 wrote:
hi alll.....
i know sql*plus with good, now i want the next steps that i have to learn to become a DBA please.
regards..
Ali=================================================
Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com.
Drill down to your product and version.
<b><i><u>BOOKMARK THAT LOCATION</u></i></b>
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
Similar Messages
-
Learn Objective-C after learning C plus plus
Hi,
I’m currently taking a C++ class but in the future I would like to learn Objective-C since I’m more interested on iOS development and I’m taking C++ only because is what the college uses.
I was looking at some online tutorials about Objective-C and I’m a little disappointed because I was hoping to see similarities between C++ and Objective-C since both languages come from C. I guess my confusion started when I tried to use the online compiler called idleone (www.idleone.com) to practice a few things I learned reading “Programming in Objective C 3rd Edition” but to my surprise the compiler doesn’t recognize a lot of the code ( NSLog etc…) and cannot compile my code. Let clarify that I only use this online compiler when I’m away from my computer, I do use Xcode.
- Why is Objective-C 2.0 not compatible with other compilers?
- Is Objective-C 2.0 an Apple version of Objective-C and will only compile using Xcode?
- Is Objective-C different from Objective-C 2.0, how many different versions of Objective-C exist?
- How hard would it be to get the basics on Objective-C after learning a little C++?
- Are there any similarities between C++ and Objective-C?
Can someone be so kind and help me to unsderstand the difference between these two languages and maybe the difference between Objective-C and Objective-C 2.0?
Sorry if my questions don’t make too much sense but as I said I’m confused.
Thanks a lotYou appear to have exhausted your allocation of two helpful stars. You can still award someone the full 10-point "solved" jackpot
Is there anything in particular that you still think could be answered? Learning to program is very much a personal experience. No one else can say how much you can or will learn using any method. In general, you learn by doing. Those parts of Objective-C that you need to use for your programs you will learn well. Other parts that you never use will continue to be a mystery. The basics of memory management, error handling, bindings, key/value observing, etc. will be the same. Just the details are different.
Anything you learn in your C++ class will likely be basic stuff and easily applicable to Cocoa. You probably won't get much into the details of template programming. That knowledge won't help you in Cocoa. It won't even help you in C++. I've been using C++ on and off since 1995. I used to be a big fan of the language but finally decided that the enormous effort required to understand templates just wasn't worth it. I could do the same thing far more easily in C, Objective-C, or Perl. So why punish myself? It was an enjoyable challenge getting C++ templates to work properly, but it sure wasn't doing anything for the bottom line - a very low return on intellectual investment. -
Print a report from sql*plus.
Regards all
Let me know whether it is possible to print a hard report rom sql*plus and how.
waitingLet me know whether it is possible to print a hard report rom sql*plus Yes. SPOOL is a command to get SQL*Plus screen results to disk real-time.
and how.A "report" is such a generic term, that you will have to get started with at least some reading :)
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a90842/toc.htm
(search for: "How Can I Learn SQL*Plus")
You may also address specific questions about the SQL*Plus product (that are not really Database SQL and/or PL/SQL related) via the [Technologies>Tools>iSQL*Plus] forum rather than here.
waiting That's up to you! Dig in!
Michael O'Neill
Publisher of the PigiWiki
clever-idea.com -
SQL*Plus hangs when connecting to remote DB (Solaris, 10gR2)
First of all the particulars:
Local System:
Solaris 8, Oracle 10.2.0.4, October CPU
Remote System:
Solaris 10, Oracle 10.2.0.4, July CPU
We are trying to initiate a connection from our local system to our remote system using a DB Link. After opening SQL*Plus, we log in with <user>@<dblink>, are asked for a password, and after entering the password, SQL Plus hangs indefinitely (we typically have to kill the sqlplus process to regain our session). Also, logging into the local system with a local account, and then querying using the db link (select * from dual@<link>) gives the same result.
From the remote system, we CAN log into the local system using the same process, and we can also query the local system. in other words, it works in one direction, but not the other.
We have checked all the usual suspects: tnsnames, sqlnet, db_domain, global_names, and all are set correct for our setup (although I of course welcome suggestions to check something else in the files). Also have confirmed validity of /etc/hosts entries, and permissions on those files for the 'oracle' user. A 'tnsping' and 'ping' are both successful in both directions, though I understand these only check the listener and hardware layer.
Our Sys Admin has checked firewall connections between the two systems, and stated that they're open on the listener port (1521).
Listener log files on the remote host, when the hang happens, show an established connection from the local host.
Does anyone have any suggestions as to what to check for next?
Thank you in advance for the assist!Whew, that truss output is enough to make your eyes bleed!
This system is on a closed network, so I cannot post the files here, nor would I wish reading those things on anyone nice enough to spend a minute here helping me out!@
But comparing the truss from the "broken" system, and the working one, the sqlplus that hangs returns a:
ERR #134 ENOTCONN on a getpeernam() thread.
The other truss (working side), does not throw that particular line, and the truss output varies widely after that line in the output fille.
After a few moments letting the sqlplus process "hang", I get:
ERR #62 ETIME
Outside of that, lust a lot of hex values! -
Learning PL/SQL with SQL plus
I'm looking to teach myself PL/SQL with SQL Plus, it's a works pc so I can not use any other software than SQL plus.
When starting SQL plus I'm asked for a username, password and host string.
I'm taking it the host string is the db I want to connect to and obviously supply the username and password for level of access?
Also what I ideally need is a sample db on my local machine to connect to with SQL plus to learn that way.
Can anyone point me in the right direction please. Any help is greatly appreciated.Use the net8 configuration assistant preferably as it'll get the syntax correct.
Otherwise you copy the sample one up one folder and edit that.
Connection information (SID, Server/IP, port number) you'll have to get off your DBA.
The name at the start of a tnsnames entry is the name that you want to reference the database as, so you can call it FRED if you like.
e.g.
FRED =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = <server name or ip address>)
(PORT = <port>) -- usually 1521 but can differ if more than one instance on the server
(CONNECT_DATA =
(SID = <database SID>) -- the name of the database on the server.
)Once that's set up you can then log onto the database in the following way:
sqlplus <user>/<password>@fred
What happens is that the TNS Listener service (that should be running on your PC) will look up "fred" in the tnsnames.ora file and then use the information from that to make the connection to the server on the correct port and connect you to the actual database on there.
After that.... it's up to you.
:) -
Issues trying to Access SQL Plus after downloading 8i Trial Version
After successfully downloading Oracle 8i Personal Edition, I am trying to access SQL Plus, it requires to enter a User Name, Password and Host String. I enter my OTN Password ID and I am refused access. Does anyone have any ideas why?
harry,
i am assuming you are using 6.0.8.8 of reports6i, which is base-release. there have been problems withthe OCA in this version. by using the latest patch you should solve this problem. for further details, please contact oracle support services.
regards,
the oracle reports team -
Im getting this error after trying to laounch SQL*Plus
Hallo, guys!
Help me on this one. I'm new to Oracle on Windows 2000 Professional
Im getting this error after trying to laounch SQL*Plus
Error 6 Initializing SQL*Plus
Message file spl<lang>.msb not found
SP2-0750:You may need to set ORACLE_HOME to your Oracle Software directory
Urgent please respond
Thanks
sridharVerify the contents of the following subkey in your Windows2000 registry:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_YOUR_HOME_NAME
Your Windows 2000 registry must contain several minimum parameters, defined as registry entries inside the above subkey (See http://download-east.oracle.com/docs/cd/B19306_01/win.102/b14304/registry.htm#i1006544). One of them is ORACLE_HOME, which could have been accidentally removed or changed. ORACLE_HOME must contain the home OS path to the SQL*Plus executable in your machine (For example, C:\Oracle\OraDB10g). I tried changing the name of the ORACLE_HOME registry entry in my machine and received the same exact messages you did when launching SQL*Plus.
In your OS, verify also Control Panel > System Properties > Advanced > Environment Variables > System Variables > Path, and make sure the above ORACLE_HOME's path is included in the Path variable (preferably in the starting position)
Regards,
Luis Morales
ConsiteNicaragua.com -
First Login to Oracle 9i Personal SQL Plus after installation
I downloaded the Opacle 9i for Windows NT/2000/XP,3 ZIP
fiels andI extracted them into 3 special folders disk1,
disk2 and disk3 according the instructions.Also I
installed the JRE which is required for that.After the
installation of Oracle 9,when I wanted to use the SQL Plus
I could not do it because I had no the first login User
Name and Password.
For example,in Oracle 7 Personal for Windows 95 and in
Oracle 8i Personal for Windows 98,the first login User
Name is "scott" and the Password is "tiger".
I shall be great thankfull to you if you will let me know
how to perform the first login to the SQL Plus of Oracle
9i (User Name and Password).
With Great Respect
Menahem Sharonin oracle9i all default users account are lock by default. so if you want to connect
first when you open sqlplus in user name type "/nolog"
sqlplus will open with no connection then issue the command.
conn / as sysdba
alter user scott account unlock;
conn scott/tiger
that is the procedure -
Cannot log in to SQL*Plus after initial login
Hi all,
I have an irritating problem that I am hoping that you can help with. I installed Oracle 10g on RedHat Linux ES 3. Everything seems to be working fine as long as I do not log out my oracle user. If I leave the user logged in everything works as expected. Once I log out, when I log back in I cannot access SQL*Plus normally.
I enter: sqlplus my_user/my_password
I get this:
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 27 11:59:01 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
Additional information: 1
Additional information: 360457
But, if I enter it with the connection string: sqlplus my_user/my_password@ora1 then it works fine.
I get the same behavior through VNC. As long as I never log out of VNC but just close the session, logging in to SQL*Plus works as normal.
Any thoughts? My ORACLE_BASE, ORACLE_HOME, and ORACLE_SID seem to be correct.
Thanks,
MikeHi,
Kill the shared memory process and restart your database.
Regards,
Umair -
Can't connect to SQL Plus after installation...
Windows XP (Admin account)
installed 10g XE
I have no other ORACLE_HOME or TNS files.
All services are started
here is the listener
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Beta
Start Date 17-NOV-2005 23:34:31
Uptime 0 days 0 hr. 5 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VANDERBI-M8R870)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
when I try to connect with SQL PLUS
SQL*Plus: Release 10.2.0.1.0 - Beta on Thu Nov 17 23:44:45 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
I do have the entry in TNSNAMES.ORA
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = VANDERBI-M8R870)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
any ideas?The TNS-12154 (ORA-12154) error appears when SQL*Net cannot find the alias specified for a connection in the TNSNAMES.ORA file or other naming adapter.
Since we can clearly see the XE entry in your TNSNAMES.ORA file from your further post, the message implies that you are not using the TNSNAMES.ORA that contains the entry, or something is changing the lookup so the entry is not found.
Using a different TNSNAMES.ORA can occur under the following situations:
1) You have a TNS_ADMIN environment variable or registry entry that points somewhere other than this TNSNAMES.ORA
2) You are on Windows NT and are using a SQLPLus that is in a different ORACLE_HOME. The WIndows environment forces the use of the networking subsystem in the ORACLE_HOME as the client program (such as SQLPLUS), which defaults to the TNSNAMES.ORA in the home as the client.
Things I would check:
- is there another TNSNAMES.ORA anywhere on the system
- is there a system environment variable called TNS_ADMIN, or is that string found in the registry
- is there possibly a second SQLPlus.exe (even on a networked drive) that migt be called before the XE - supplied SQLPLUS
It is also possible to have a SQLNET.ORA impacting the way TNSNAMES.ORA is used. If all else checks out, we should look at the %ORACLE_HOME%\network\admin\sqlnet.ora in detail as well.
By the way, the Oracle Network Administration docco has two whole chapters devoted to troubleshooting networking issues, from initial config through data errors in the various config files. If you want to track it faster, check out http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm -
After running sql scripts in SQL plus, where are the results(tables) stored
Hi ,
I am using oracleDb10g . i have used SQL plus to create a database. I have run 2 sql scripts and constructed the tables , but i dont know where the data is stored and how to make the data into a database, so that i can use it for connection through some UI.
for example: schema.sql, data.sql script files.
SQL> start schema.sql
SQL> start data.sql
The tables are created.
Now how can i group those table into a database and name it.(i mean i can create a database using SQL plus, but how to dump the tables into the database created). Because i want to use this database name for connecting to MS SQL, so i need the name.
Thanks
babu.when you are in Rome, sing with the romans !
Oracle is different from SQL Server.
Time to read some basic books.
--> http://tahiti.oracle.com -
i install in my computer the oracle9i
my problem is that : i can login to sql plus
althoge i was tring all the passwords that i know
scott/tiger
sys/change_on_install
system/manager and the result is allways the same
ora-12560 error
how can i solve that problem?
did i missed somthing during the installation?Thank you to EVERYONE!!
I have been searching every possible forum to find out how to install/run SQL *Plus on a home computer without a server/network to work within. As most just learning, I could not figure out how to get past the SQL Plus Username/Password/Host String logon.
After much trial and error, I got through and I hope this helps a lot of people just starting out.
I used 'SYSTEM' as my username and my password created on install.
When installing I created a database and fixed the password so my default password was the password I created on install.
As long as I had those two fields filled in, I could leave the Host String blank and I could still get into the SQL Plus workspace.
Since I also created a database on install, I found that I could also use the name I gave the installed database (I didn't leave the default database name so I do not remember what the default name was, but I think the default password was 'manager' for those who were not tempted to change it).
Worst case scenario if you forgot your database name given during install, you can do a search for all of your .ora files (usually in the drive you installed Oracle on). Open the tnsnames.ora file in Notepad and you can see which database names are available on your system. The path to my file was:
D:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
You want the SERVICE_NAME = 'databasename'
I hope this reduced someone's stress...and thanks for all the helpful hints on these threads...they led me to the final outcome!!
In the end, I tried a lot of other combinations for the username/host strings with plenty of errors. You would think this information would be on page one of every Oracle install!! Or maybe it is and I am just a bit slow. : )
Thanks again to all that posted with this initial question (years ago)...
Brian Reeves
Oracle Student -
Using Internet enabled SQL*Plus
I' d like to use this feature just as it is describe in the document from Luan Nim.
I wrote a simple test_sql.sh that work very well under unix.
# test utilisation sqlplus sous Web
#! /usr/bin/sh
# . $HOME/.profile
echo Content-type: text/html
# Mise en place des variables
ORACLE_HOME=/oracle/u01/app/oracle/product/9i/
export ORACLE_HOME
ORACLE_SID=oracle_sid
export ORACLE_SID
#export TNS_ADMIN
#NLS_LANG=FRENCH_FRANCE.WE8ISO8859P1
#export NLS_LANG
#echo $ORACLE_HOME
#echo $ORACLE_SID
# Execution de sqlplus
#echo $ORACLE_HOME/sqlplus -M \"html on\" user/pwd@$ORACLE_SID @./test_sql.sql
sqlplus -M "html on" -S user/pwd@$ORACLE_SID @./test_sql.sql
When calling it from Web Browser (IE5) I get the following error :
403 - Forbidden
You don't have permission to access cgi-bin directory ?
How can I do ?It looks like your web server is not configured to handle
CGI scripts. Does your web server documentation give steps
to configure CGI? Sometimes simple example CGI scripts
are included. Once these are working, then we can help
setting up a SQL*Plus CGI.
If you are using Apache, check the httpd.conf file for the
ExecCGI option. See if you can get the "printenv"
demonstration CGI script working. Then move your SQL*Plus
CGI shell script to the same directory, and try it there.
Don't forget to echo a blank line after the "Content-type:
text/html", else the CGI output will not be interpreted
correctly.
The SQL*Plus 9.2 UG&R has an example of a Perl CGI script
for calling SQL*Plus:
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a90842/ch8.htm#1005951
The iSQL*Plus web-based interface does most of the things
done by a CGI based call to command-line SQL*Plus. Its
"Dynamic Reports" feature is very similar to getting a CGI
script to return a report from a static .SQL file. If you
(i) have Oracle 9.2 (or 9.0 on Windows) installed (ii) don't
mind getting HTML pages back, then it may be a better
alternative to CGI. (Note the SET MARKUP HTML PREFORMAT OFF
command can be used to give traditional character aligned
text, but there will still be HTML page headers and
footers).
-- CJ -
Unable to Login to Idle Instance from SQL*Plus in windows
Hello,
I'm cloning the db from windows to windows enviornment. At auxilary instance after configuring the Listener and making Password file to right folder when I try to connect to Idle Instance through sql*plus by follwring connad
c:\sqlplus sys/password as sysdba
It gives me ORA-12518 Tns: Listener could not hand off client conenction error
Then I put the follwing parameter in listener.ora DIRECT_HANDOFF_TTC_LISTENER=OFF and restart listener and then try to connect it gives me Ora-12560: TNS protocol adapter error.
I try to connect through tnsnames but give me same error.
Kindly tell me how to resolve this issue as its not allowing me to connect to an idle instance so that I can go further.
I'm using 10gR2 on windows server 2003.
Regards,
Abbasifollow the steps to clone database:
# 1. Backup the source database.
To use RMAN duplicate an RMAN backup of the source database is required. If there is already one available, skip to step 2. If not, here is a quick example of how to produce an RMAN backup. This example assumes that there is no recovery catalog available:
rman target sys@<source database> nocatalog
RMAN>backup database plus archivelog ;
RMAN> backup archivelog all;
This will backup the database and archive logs.
# 2. Produce a pfile for the new database
This step assumes that the source database is using a spfile. If that is not the case, simply make a copy the existing pfile.
Connect to the source database as sysdba and run the following:
create pfile='init<new database sid>.ora' from spfile;
This will create a new pfile in the $ORACLE_HOME/database directory.
The new pfile will need to be edited immediately. If the cloned database is to have a different name to the source, this will need to be changed, as will any paths. Review the contents of the file and make alterations as necessary.
Because in this example the cloned database will reside on the same machine as the source, Oracle must be told how convert the filenames during the RMAN duplicate operation. This is achieved by adding the following lines to the newly created pfile:
db_file_name_convert=(<source_db_path>,<target_db_path>)
log_file_name_convert=(<source_db_path>,<target_db_path>)
# 3. Create bdump, udump & cdump directories
Create bdump, udump & cdump directories as specified in the pfile
# 4. Create a service
c:/>oradim –new –sid <clonedatabasename> –intpwd <pwd>
eg:
c:>oradim –new –sid clonedb –intpwd oracle
# 6. Duplicate the database
From sqlplus, start the instance up in nomount mode:
startup nomount
Exit sqlplus, start RMAN and duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If one is available, simply amend the RMAN command to include it.
rman target sys@<source_database> nocatalog auxiliary /
duplicate target database to <clone database name>;
thats it
For RMAN Cloning refer:
follow the documentation replace the destinations/locations with your location/folder/destination in source and target database.
http://www.dba-oracle.com/t_copy_clone_windows_database.htm
http://www.shutdownabort.com/quickguides/clone_rman.php
http://www.akadia.com/services/ora_duplicate_database_rman.html
for manual cloning in windows refer the link below:
http://coskan.wordpress.com/2007/04/20/adding-new-database-to-windows-without-dbca-or-rman-clone-or-rman-restore/ -
SQL Plus giving SP2-0024: Nothing to change error
I'm just about to lose my mind.
I'm running the following in SQL Plus -
set echo off
set feedback off
set linesize 1000
set sqlprompt ''
spool c:\TEMP2\App_Eng1.csv replace
Select A.OBJECTOWNERID||','||B.OBJECTVALUE1 from PSPROJECTITEM B, PSAEAPPLDEFN A
Where B.PROJECTNAME = 'PRJ732075'
and B.SOURCESTATUS = 2
and B.TARGETSTATUS = 1
and B.OBJECTVALUE2 = ' '
and B.OBJECTTYPE=33
and A.AE_APPLID = B.OBJECTVALUE1
spool off
and I get the following in return -
SQL> set echo off
SQL> set feedback off
SQL> set linesize 1000
SQL> set sqlprompt ''
spool c:\TEMP2\App_Eng1.csv replace
SP2-0024: Nothing to change.
Select A.OBJECTOWNERID||','||B.OBJECTVALUE1 from PSPROJECTITEM B, PSAEAPPLDEFN A
2 Where B.PROJECTNAME = 'PRJ732075'
3 and B.SOURCESTATUS = 2
4 and B.TARGETSTATUS = 1
5 and B.OBJECTVALUE2 = ' '
6 and B.OBJECTTYPE=33
7 and A.AE_APPLID = B.OBJECTVALUE1
8
spool off
SP2-0042: unknown command "off" - rest of line ignored.
Why am I getting these errors?
Also, when I clear the SQL, rerun the SQL and try to open the App_Eng1.csv file
I get a window telling me the file is locked. The only way for me to unlock the file is to shutdown the SQL Plus window. Why is this?
All I am trying to do is to download data from an Oracle table to an Excel spreadsheet. Is there a relatively easy way to do this using SQL Developer code or should I continue to fight with SQL Plus? I'm trying to automate a process so I don't want to use the manual steps like the DTS Import by Excel.
Any help? Please?Thanks for the info. I have another issue. I'm not sure that my Spool Off command is being recognized. Here's the script I'm running -
set echo off
set feedback off
set linesize 1000
set sqlprompt ''
SELECT COUNT(*) FROM PSPROJECTITEM;
spool c:\TEMP2\App_Eng1.csv replace
Select A.OBJECTOWNERID||','||B.OBJECTVALUE1
from PSPROJECTITEM B, PSAEAPPLDEFN A
Where B.PROJECTNAME = 'PRJ732075'
and B.SOURCESTATUS = 2
and B.TARGETSTATUS = 1
and B.OBJECTVALUE2 = ' '
and B.OBJECTTYPE=33
and A.AE_APPLID = B.OBJECTVALUE1;
spool off
Most of the time the App_Eng1.csv file is telling me that it can't be opened because it's being used by another user, even after I close SQL Plus. I have to physically perform the Spool Off command from the menu. But even then the csv file is blank. Any ideas?
Maybe you are looking for
-
How do I delete mobile account which is no longer ...
A couple of months ago I closed my BT mobile account. When l log on to MyBT to look at my landline/broadband account, the account shown first is the old mobile account so I have to reselect landline and wait for it to change. Can I either delete t
-
Center Image Component's Source
In my flex app, I have an image control within a VBOX and I set the size to 100%by100%. When an image loads (as usual) it is placed in the top left hand corner of the component. How can I keep the image component's source centered while still keeping
-
Wow styles for Photoshop Elements
I purhcased the wow styles for photoshop elements some years ago up until now they have always worked with all my versions but for some reason they do not work in the latest elements 9. The files are the same format but when you add them to the pres
-
Agent Error on AIX 5.1: Initialize error for nmigenctx
I am running Oracle 9.2.0.4 on AIX 5.1. After installation any operation on the agent, e.g. start, status, etc. I get the following error: NMS-00010: Parsing parameter file failed. nmiclbas_agentStatus:: Initialize error for nmigenctx Any thoughts?
-
Need to create a script.
Hi All, I need to create a view script based on the following assumptions. Table = TABLENAME View = PUB_TB_TABLENAME_V So, for the table COLUMNFORMAT I have created a view named PUB_TB_COLUMNFORMAT_V. The example view is below. CREATE OR REPLACE VIEW