How do I get the version of oracle?
Hi All,
how would I write function that would tell me
what version of the DBMS I am using?
Something like ...
<pre>
create function getVersion return varchar2 is
version varchar2(100);
begin
select ???? into version from ????;
return version
end;
</pre>
Thanks
Ok, the following I tried in 7.3.4.5, 8.1.7.0, 8.1.7.4, 9.2.0.1, 9.2.0.4, 9.2.0.5, 10.1.0.2 and 10.1.0.3
create function v return varchar2 is
v varchar2(40);
begin
select substr(banner, instr(banner,'Release')+8,instr(banner,' - ')-(instr(banner,'Release')+8)) into v from v$version where upper(banner) like 'ORACLE%';
return v;
end;
set serverout on
exec dbms_output.put_line(v())
9.2.0.1.0HTH
Laurent Schneider
OCM DBA
Similar Messages
-
How can I check the version of Oracle in Linux?
Dear all :
How can I check the version of Oracle in Linux ?
Regards
TerryHi terry;
How can I check the version of Oracle in Linux ?You mean your db version or something else? If you mean you want to control your version issue is:
source env file as oramgr
sqlplus "/as sysdba"
when u login sqlplus it will give u something as below:
SQL*Plus: Release 10.2.0.4.0 - Production on
Regard
Helios -
Where I can get the version of Oracle Forms 11.1.1.1
Friends.
Someone can help me get this version of Oracle Forms 11.1.1.1.
In the Oracle site exists only version 11.1.1.2 and 11.1.1.3
ThanksThat's right, look for this version of Oracle Forms 11.1.1.1, someone knows where I can download.
Thanks -
i am developing a utility for backup. i use exp and imp commands. i want to know the version of oracle installed.in oracle 8 it is exp80 and in oracle 9i it is exp.
can any body help me with code.The ctx_version view provides code version number for Oracle Text.
-
How to find out the version of oracle in a linux box
HI All,
Can anyone tell me how to find the version oracle 10g on a linux box.
ThanksSQL> set line 1000;
SQL> select banner from V$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> define
DEFINE _DATE = "12-NOV-09" (CHAR)
DEFINE CONNECTIDENTIFIER = "loghost" (CHAR)
DEFINE _USER = "SYSTEM" (CHAR)
DEFINE _PRIVILEGE = "" (CHAR)
DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
DEFINE _EDITOR = "Notepad" (CHAR)
DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Producti
With the Partitioning, OLAP and Data Mining options" (CHAR)
DEFINE ORELEASE = "1002000100" (CHAR)
SQL>
Regards
Asif Kabir -
How do I know the version of Oracle Client
How can I find out the version of my Oracle Client?
Thanks!arbabu wrote:
SQL> select BANNER product_versions
2 from v$version
3
SQL> /
PRODUCT_VERSIONS
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>That is obviously wrong.
SQL*Plus: Release 9.2.0.6.0 - Production on Fri Oct 31 10:50:34 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select BANNER product_versions
2 from v$version;
PRODUCT_VERSIONS
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Y:\>sqlplus -v
SQL*Plus: Release 9.2.0.6.0 - Production
Y:\>Nicolas. -
How do i get the version 7.5
How did you revert to 7.5? My laptop is running XP SP3 and isn't compatible with the version 7.6.
http://community.skype.com/t5/Windows-desktop-client/Skype-7-6-crashes-on-startup/m-p/4031560#M353247
-
How to find / get the list of oracle patches applied using SAPGUI
At OS Level as ora<SID> user from directory /usr/sap/<SID>/102_64/OPatch/opatch inventory command gives the output of applied oracle patches. How to find out form SAPGUI login the same information.
Thaanx in advance.
PRHi ,
You can execute few commands from SAP level, suppose for example if you don't have access to Operating system.But it will be executed under sidadm user.Opatch utility will executed under orasid user ( concerns if you have Unix flavour ) .
I have used this and it gives the result.
in SAP level ,
SE38 -
>program name RSBDCOS0 -
> execute -
>/oracle/<SID>/920_64/OPatch/opatch lsinventory
[1]/oracle/CWR/920_64/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home : /oracle/CWR/920_64
Oracle Home Inventory : /oracle/CWR/920_64/inventory
Central Inventory : /oracle/CWR/oraInventory
from : /etc/oraInst.loc
OUI location : /oracle/CWR/920_64/oui
OUI shared library : /oracle/CWR/920_64/oui/lib/aix/liboraInstaller.so
Java location : /oracle/CWR/920_64/jdk/jre/bin/java
Log file location : /oracle/CWR/920_64/.patch_storage/<patch ID>/*.log
Creating log file "/oracle/CWR/920_64/.patch_storage/LsInventory__06-12-2008_12-33-47.log"
Result:
Installed Patch List:
=====================
1) Patch 6000096 applied on Thu Dec 20 14:19:51 CET 2007
[ Base Bug(s): 5172444 3521347 3639130 5140931 4541524 4483286 5129407 5977665 5562159 ]
2) Patch 5530958 applied on Thu Dec 20 14:19:09 CET 2007
[ Base Bug(s): 5530958 ]
3) Patch 5496862 applied on Thu Dec 20 14:18:10 CET 2007
[ Base Bug(s): 5496862 ]
4) Patch 5369855 applied on Thu Dec 20 14:15:20 CET 2007
[ Base Bug(s): 5369855 ]
5) Patch 4660718 applied on Thu Dec 20 14:14:26 CET 2007
[ Base Bug(s): 4660718 ]
6) Patch 5901875 applied on Thu Dec 20 14:12:27 CET 2007
[ Base Bug(s): 5901910 5490859 2701372 5901875 5491035 ]
OPatch succeeded.
if you need , you can change the directory using change directory option. -
When/how can I get the version of Windows 10 for the Raspberry Pi?
All I have heard so far is the announcement of its availability. What version do I need? I have bought the new Pi and have some experience with the previous version with Linux
It hasn't been released yet but you can sign up for
here so you'll get all the latest updates. -
How can I get the version of the GPIB driver from Visual Basic ?
I want to readout from visual Basic which version of GPIB-Driver is installed on the PC. I must change some parameters for my application when GPIB 2.0 runs instead of 1.7.
Thanks for any solution...Hi,
The driver should create a key in registry depending on the driver version. Check for the existance of HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-488.2M\ (In my case I had a folder called 2.00).
Hope this helps out.
Best Regards,
Aaron K.
Application Engineer
National Instruments -
How do I get the version of the Directory Server I'm running?
Try something like this...
ldapsearch -h <ipaddress> -p <port> -D "cn=directory manager" -w <password -b "cn=config" -s base objectclass=* | grep version -
How to get the Version History of a stored document?
Hi,
I am trying to store and retrieve the content using Content Services features of ADEP 10.0.
I am able to store and retrieve content where as I am not able to get the version of the document. I am trying to store same or different document, but I donot get the version history or version label. Please guide me how I can get the version of a stored document.
Also, please advise me if there are simple alternative to do the same in ADEP10.
Please see below my sample code below:
package test.sample;
import java.io.File;
import java.util.*;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
import com.adobe.livecycle.contentservices.client.CRCResult;
import com.adobe.livecycle.contentservices.client.impl.DocumentManagementServiceClientImpl;
import com.adobe.livecycle.contentservices.client.impl.UpdateVersionType;
public class AddContent {
public static void main(String[] args) {
try{
//Set connection properties required to invoke Document Services in EJB mode
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
//Create a ServiceClientFactory object
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
//Create a DocumentManagementServiceClientImpl object
DocumentManagementServiceClientImpl docManager = new DocumentManagementServiceClientImpl(myFactory);
//Specify the store and node name
String storeName ="SpacesStore";
String nodeName = "/Company Home/Test Directory";
//Retrieve the document to store in /Company Home/Test Directory
Document contentA = new Document(new File("C://Adobe/New files/Data-A.pdf"), false);
Document contentB = new Document(new File("C://Adobe/New files/Data-B.txt"), false);
Document contentC = new Document(new File("C://Adobe/New files/Data-C.xlsx"), false);
//Create a MAP instance to store attributes
Map<String,Object> inputs = new HashMap<String,Object>();
//Specify attributes that belong to the new content
String creator = "{http://www.alfresco.org/model/content/1.0}creator";
String description = "{http://www.alfresco.org/model/content/1.0}description";
inputs.put(creator,"Veeraganteppa Sajjan");
inputs.put(description,"A sample application form");
//Store MortgageForm.pdf in /Company Home/Test Directory
CRCResult resultA = docManager.storeContent(storeName,
nodeName,
"dataA.pdf",
"{http://www.alfresco.org/model/content/1.0}content",
contentA,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
CRCResult resultB = docManager.storeContent(storeName,
nodeName,
"dataB.pdf",
"{http://www.alfresco.org/model/content/1.0}content",
contentB,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
CRCResult resultC = docManager.storeContent(storeName,
nodeName,
"dataC",
"{http://www.alfresco.org/model/content/1.0}content",
contentC,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
//Get the identifier value of the new resource
String idA = resultA.getNodeUuid();
String idB = resultB.getNodeUuid();
String idC = resultC.getNodeUuid();
System.out.println("A -The identifier value of the new content is "+idA);
System.out.println("B - The identifier value of the new content is "+idB);
System.out.println("C - The identifier value of the new content is "+idC);
System.out.println("A - The Browse Link is "+resultA.getBrowseLink());
System.out.println("B - The Browse Link is "+resultB.getBrowseLink());
System.out.println("C - The Browse Link is "+resultC.getBrowseLink());
System.out.println("A-The Version Label is "+resultA.getVersionLabel());
System.out.println("B-The Version Label is "+resultB.getVersionLabel());
System.out.println("C-The Version Label is "+resultC.getVersionLabel());
System.out.println("The Version History is "+docManager.getVersionHistory(storeName,nodeName, true));
}catch(Exception e)
e.printStackTrace();
Message was edited by: V B SajjanSorry I did not attach the output and errors. Please find the same below.
A -The identifier value of the new content is f5427f5b-c7c1-4c3c-b959-cb84e4e49a13
B - The identifier value of the new content is b237d22c-5ff5-4628-a83a-23f5e49ae48e
C - The identifier value of the new content is 34a9992c-3705-4488-bb55-6dd7ddfa0517
A - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/f5427f5b-c7c 1-4c3c-b959-cb84e4e49a13/dataA.pdf
B - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/b237d22c-5ff 5-4628-a83a-23f5e49ae48e/dataB.pdf
C - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/34a9992c-370 5-4488-bb55-6dd7ddfa0517/dataC
A-The Version Label is null
B-The Version Label is null
C-The Version Label is null
ALC-CSV-30015-000: com.adobe.livecycle.contentservices.client.exceptions.CSInvocationException: ALC-CSV-030-015-The node [/Company Home/Test Directory] is not versioned.
at com.adobe.contentservices.webscripts.impl.AbstractContentManager.doGetVersionHistory(Abst ractContentManager.java:1362)
at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.executeParams(ContentManager Impl.java:198)
at com.adobe.contentservices.webscripts.impl.CSRetryingTransactionCallback.execute(CSRetryin gTransactionCallback.java:45)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.execute(ContentManagerImpl.j ava:114)
at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:333)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContaine r.java:386)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContai ner.java:404)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java: 246)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:294)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:172)
at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEs tablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEst ablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:662) -
How can i get the map version in OVI?
In map loader,we can see the map version in the left of the bottom of the interface.
But,how can i get the version in my phone in OVI Suite map?
my phone is E72,ovi suite is the lastest.
3xHi think, currently you can check, what map data files there's in your device by browsing device in Nokia Ovi Suite. Just click arrow on top of the phone icon and check what map data files there's in the device.
Unfortunately, we don't have yet functionality to show, what version maps there's in device.
Cheers, Samuli -
Get the version of the host app
Hi,
how can I get the version of the host app?
HostObject.getRoot() only gives me the name of the app, not if it's CS6 or CC
(in my case I'm working with Premiere).
And are there any online docs available for these libs?
thanks,
Jeff.Oh, I forgot all about this post. This is how I got it:
var result:SyncRequestResult = CSXSInterface.getInstance().getHostEnvironment();
var hostEnv:HostEnvironment;
if((SyncRequestResult.COMPLETE == result.status) && result.data)
hostEnv = result.data as HostEnvironment;
// trace(hostEnv.appVersion);
Thanks! -
How do i get the current version of web logic server on obiee 11g
Hey
I am pretty new to 11g and Weblogic
How do i get the current version of web logic server on obiee 11g(11.1.1.5), I know that it should be higher than 10.3.5.
ThanksHi,
Obiee11.1.1.5.0/6.0 both version supporting weblogic 10.3.5.0/6.0 both are no issues.
http://blog.whitehorses.nl/2012/02/26/a-few-quick-tips-for-upgrading-ofm-11g-to-patch-set-5/
also refer
http://docs.oracle.com/cd/E23943_01/bi.1111/e16452/bi_plan.htm#BABECJJH
Thanks
Deva
Maybe you are looking for
-
Previewing Data in EAS Console on client machine throws an error.
When I preview data in EAS console(version 11.1.1.4) on a client workstation I get a "Cannot sign on to domain. Error initializing the ORB.java.io.FileNotFoundException: domain.db (Access is denied)" error. Now if I Use the URL for Admin Console on t
-
Dear all, I'm currently playing around with Flex modules api and got very confused with the "Module Domains" section on the Adobe docs. It's under: Adobe Flex 3 Help -> Advanced Flex Programming -> Creating Modular Applications -> Modular application
-
RMI & Web Start Client (ClassNotFound)
Hi, I've been using RMI with a client application and it works find but now I have tried to run the same application via web start I'm getting RMI issues. I've fixed all sorts of other issues but Im stuck on the RMI one. I get a ClassNotFound excepti
-
Is there a way to edit the context menus in Firefox?
Is there any way to edit the context menus in Firefox outside of installing an extension, or does anyone know of an extension that does so that is updated regularly? There is one called Menu Editor, but it doesn't look like it's being updated any tim
-
WTK 2.5 doesn't create the jar file
Please help me! I'm using wtk2.5 and it's doesn't creates the jar file. The classes are created and the program run's in the test phone, but the jar file is not created... Any ideas...? Please help! Thank you Message was edited by: tprimus83