Proc and oracle
Hello
We have an old c/proc program that writes data in an oracle database - 10 g
Rewrite us this in sql but looking at the code below illustrates
{code}
Select cus_account_status,
cus_selected_agent_net_sales,
TO_CHAR (cus_grant_date,
"(DD - MON - YYYY:HH24:MI:SS'),
TO_CHAR (cus_closed_since_date,
"(DD - MON - YYYY:HH24:MI:SS'),
TO_CHAR (cus_from_date,
"(DD - MON - YYYY:HH24:MI:SS'),
TO_CHAR (largest (cus_from_date,)
Decode (to_char (to_date (: timestamp,)))
'RRMMDDHH24MISS'),
'D'),
' 1', trunc (to_date (: timestamp,))
'RRMMDDHH24MISS'));
NEXT_DAY (trunc (to_date (: timestamp,)))
'RRMMDDHH24MISS'));
'SUNDAY'))),
"(DD - MY-'YYYY:HH24:MI:SS).
in: last_cus_account_status,.
: last_cus_selted_agent_net_sales,.
: last_cus_grant_date:last_cus_grant_date_ind,.
: last_closed_since_date:last_closed_since_date_ind,.
: last_cus_from_date,.
: calculated_from_date
customers
where cus_account_number = to_number(:cia_cu1_unique_ref)
and cus_to_date = to_date (: host_hidate, ' DD - MON - YYYY:HH24:MI:SS');
{code}
Familiar with select in but never seen this format
last_cus_grant_date:last_cus_grant_date_ind
with two points between
for example
: last_cus_grant_date:last_cus_grant_date_ind,.
: last_closed_since_date:last_closed_since_date_ind
We have 6 fields are selected, but do not understand how can select
TO_CHAR (cus_grant_date,
"(DD - MY-'YYYY:HH24:MI:SS).
in last_cus_grant_date:last_cus_grant_date_ind
Can someone explain this?
Thank you
See:
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/assignment_statement.htm#LNPLS937
Tags: Database
Similar Questions
-
Original title: I need emergency with a blue screen error after new Athlon Proc and motherboard.!
I had to fix my computer professional brothers due to its motherboard out. So, I advanced and ordered a motherboard latest and processor and also much more memory because the PC was about 6 years old. After installing, I he started and configured the BIOS and thought that it should start right up because it was working fine until the motherboard is out and also I left to himself, the hard drive that has XP installed, because he was also big enough for what he needs. But instead of cranking up XP, I get this error every time even when I try and boot in safe mode.
I have also ordered him a new copy of Windows 7 to update his OS, but until I can get into XP and do an upgrade, I'm stuck. (I have to do an upgrade because of her inability to save his business files before exiting the motherboard.)
* Without the [] error code: [stop: 0x0000007e (0xc0000005, 0xba2cb756, 0xba4c742c, 0xba4c7128)]
Any help will be greatly appreciated, thank you.
There is the old motherboard-specific drivers (for example, video, network, bridge, BIOS, etc.) in XP loads that are not compatible with the new motherboard. Conversely, you may need drivers specific to the new motherboard (see the disc that came with the motherboard for details). You might have to perform a repair installation on the existing XP. When you started on the XP installation disc, do not take into account the first mention of repair and then accept the option the second time, you are prompted to repair the existing installation.
To be honest, you also get a new drive of 500 GB for Windows 7. A hard drive of six year, or approximately 80Gb (...?) and who will get eaten up real quickly by installation of Windows 7. In addition, I don't think you can update directly from XP to Windows 7. I'm sure that there must be a Vista installation in the meantime, but I was called incorrectly.
-
5.1 ACS is not supported ODBC and Oracle
Hi Netpro
Train my familiar and careless with the old version of the ACS, ACS unit I bought two 5.1 device to work in the HA function. After installation and did ' t tried configured for use with the external database with ORACLE, I see nothing. I tried to read the paper and I saw no keyword that said this support the ODBC or Oracle version. If anyone can help me what is the workaround for ACS work with ODBC and Oracle.
Thank you
Pitcher
This pitcher,
4.2 the CSA can be installed on the CSACS-1120-K9 unit simply re-Imaging it (so not really a downgrade) with a dedicated DVD.
You can get such a DVD through an official TAC case:
http://Tools.Cisco.com/ServiceRequestTool/create/launch.do
Kind regards
Fede
--
If this helps you or answers to your question if it you please mark it as 'responded' or write it down, if other users can easily find it.
-
silent uninstall ODAC 12 c module 4 and Oracle development tools
Hi all
I need to uninstall a previously installed ODAC 12 c module 4 and Oracle Developer Tools silently. Oui\bin\setup.exe will be fine uninstall, but I want to uninstall it from script.
There is no button to save a responsefile at the end of the dialog box.
oui\bin\setup.exe-Enregistrer FichierDestination - odacr4 - deinst.rsp
Does not complain, but does not record a response file.
Installation notes describe uninstall them, but not without supervision/silencer.
Any advice?
Best regards
Niels Jespersen
Here's what I used to silently uninstall ODT with ODAC. It does not require a response file, but requires that you specify the Oracle home
"{' C:\oracle\product\12.1.0\client_1\oui\bin\setup.exe-silent - waitforcompletion - nowait - uninstall" DEINSTALL_LIST = {"oracle.odac.client","12.1.0.2.0"} "' REMOVE_HOMES={"C:\oracle\product\12.1.0\client_1 "}"
A log file is generated in C:\Program Files (x 86) \Oracle\Inventory\logs
-
SSO ADF and Oracle Forms?
Hello
Is there a recommended way to share authentication between ADF and Oracle forms?
We currently use Oracle 11 g 2 forms and we have our forms developed in-house running on this. I would like to start working on some applications of the ADF, but I do not know how to ensure that the username and passwords are the same for our existing forms applications and any new request to ADF we add.
I would use JDeveloper 12 c.
We have < 100 users, so this isn't a large installation, and most users are (same office).
Thanks for ideas or advice.
Check out this blog https://blogs.oracle.com/olaf/entry/ofm_11g_oam_sso_for_forms_and because it describes how using OAM.
Timo
-
What type of newspapers exist in and Oracle
What type of newspapers exist in and Oracle
and what format to be like them,
and can any body give me link or something to download these types of newspapers.
Thank you.
'' newspapers '' can have many interpretations
archived redo redo logs, logs, alert logs, tracking logs
-
Hello
I want to know I want to take the exam of Eloqua Oracle and Oracle Content Cloud Service 2013 Marketing Specialist pre-sales.
Currently, I'm taking classes, unable to find the page where I can go for the certification exam.Any suggestions?
Thanks in advance.
Hello
You should be able to access through this link: http://ilearning.oracle.com/ilearn/en/learner/jsp/offering_details_home.jsp?classid=1371508648
I was able to retrieve it by visiting this page, which has little more context that may be useful: Service of Cloud Marketing Oracle Eloqua specialization criteria
Please like and mark as helpful if you find it useful.
Joseph
-
Keystore of JKS and Truststore, and Oracle Wallet
I'm configureing Oracle Forms and reports 11 GR 2 incorporating OID/OIM/OAM webgate/webtier. WLS use JKS Keystore and Truststore, and Oracle HTTP Oracle Wallet. I have all of this on a single server. Do I have to keep two of them? I asked a certificate with OWM. It can also be used by JKS Keystore?
What should I do?
Thank you!
HP
Oracle Wallet is used by OHS, while WebLogic uses based JKS keystore.
So if you have the OHS and WebLogic and there is a requirement for SSL, you need both.
Ref: http://docs.oracle.com/cd/E23943_01/core.1111/e10105/wallets.htm#ASADM10226
-
Hi all
I'm doing some tests on a Windows 2008 (64-bit) R2 two-node failover Cluster.
I installed and configured successfully bone and the Failover Cluster feature.
So I followed Oracle Doc-ID 1916391.1 to perform the installation and configuration of Oracle 11.2.0.4 database and Oracle Fail Safe 4.1.1
After a successful (via Fail Safe Manager) validation of cluster and group, now I'm trying to validate the stand-alone database, but I'm stuck with this error (output in verbose mode of PowerShell):
PS C:\Users\demo > Test-OracleClusterAvailableDatabase TESTDB - SysPwd (Read-Host-AsSecureString-Prompt "SYS Password ')-verbose
SYS password: *.
DETAILES: FS-10915: NODE1: from verification of autonomous resources TESTDB
DETAILES: FS-10371: NODE1: run the initialization processing
DETAILES: FS-10371: NODE2: run the initialization processing
DETAILES: FS-10372: NODE1: resource owner information collection
DETAILES: FS-10372: NODE2: resource owner information collection
DETAILES: FS-10373: NODE1: determine the owner of the TESTDB resource node
DETAILES: FS-10374: NODE1: collection of cluster information required to perform the specified operation
DETAILES: FS-10374: NODE2: collection of cluster information required to perform the specified operation
DETAILES: FS-10375: NODE1: analysis of the cluster information required to perform the specified operation
DETAILES: FS-10378: NODE1: preparation for the configuration of resource TESTDB
TH: FS-10349: database TESTDB instance is not alive. You want to stop and restart the database instance?
Confirmation
Operation does?
Running dell' operation sulla "Test-OracleClusterAvailableDatabase' likelihood 'TESTDB '.
[S] Sì Sì [T] a [N] no [U] tutti a tutti [O] Sospendi [?] Guida (he valore predefinito e "S"):
DETAILES: FS-10350: from the TESTDB database
Test-OracleClusterAvailableDatabase: OCIEnvNlsCreate failed
Riga: 1 car: 1
+ Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell
Exception
+ FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase
Test-OracleClusterAvailableDatabase: FS-10999: an internal programming error
Riga: 1 car: 1
+ Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell
Exception
+ FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase
Test-OracleClusterAvailableDatabase: FS-10160: impossible to verify the Oracle of standalone TESTDB database
Riga: 1 car: 1
+ Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell
Exception
+ FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase
Test-OracleClusterAvailableDatabase: FS-10818: provider of resources of the database Oracle failed in preparing for
treatment for TESTDB resource configuration
Riga: 1 car: 1
+ Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell
Exception
+ FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase
Test-OracleClusterAvailableDatabase: FS-10890: Oracle Services for MSCS failed during the verifyStandalone operation
Riga: 1 car: 1
+ Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell
Exception
+ FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase
Attached is the log of the OFS Cluster Dump (no error in my opinion).
I surfed around but I can't find anything to solve the problem.
I think something about the language of the (Italian) OS and Oracle NLS settings (AMERICAN. AMERICA), but obviolsly I'm not sure about this.
Thanks in advance for any suggestion,
Alessandro
Message modificato da 1d457339-524e-4aa5-94aa-fd7d1ae98732 updated: attached is also output trace of the fss.
Hello Alessandro.
Solution to the issue is:
Patch 20744940: 4.1.1.1: ORACLE FAIL SAFE VERSION 4.1.1 PATCH SET 1
-
Tuxedo of Oracle and Oracle Tuxedo message queue on a virtual machine.
Hi friends.
How is it going?
A small question.
So let's go live using Oracle Tuxedo 12.1.1.0 with binding distinguished Bulletin Board and Oracle Tuxedo Message Queue 12.1.1.0 on a Virtual Machine (VMWARE) running Oracle Linux 6.2. However, we want to know if there are recommendations or mishaps in which we face before running Oracle Tuxedo on a virtual machine?
I mean, I wonder if I have to worry about kernel parameters, settings of virtual machine or any other thing that could ruin everything.
Another question.
Oracle also provides certification of VMS where Tuxedo Oracle would go on top of the?
Hi Bruno.
I'm not sure what you mean with single Liaison Bulletin Board. I guess you mean a cluster or the MP configuration? And is it really a clustered or just a single machine of the MP configuration?
About the configuration, you use Tuxedo services as well or just Tuxedo Message Queue? The biggest problem with the configuration of the BONE is the IPC resources. If you do a-c tmloadcf on your UBBCONFIG file, it will help you to determine the required minimum IPC resources. In general, I suggest configuration much more resources than the minimum to allow for the changes to come and for some of the parameters for heavier loads. In particular IPC message queue settings are strongly dependent on the load. So make sure that the maximum message size and the size of the queue are big enough for your expected workload. You can monitor the slot load using the ipcs command.
We don't certify virtual machine environment, but support also a long time the VM vendor to ensure compatibility, obviously VMware and Oracle VM who both do.
Kind regards
Todd little
Chief Architect of Oracle Tuxedo
-
OS and Oracle block size block size
[Condition] If the size of the block of BONE [512 b - 64K] is greater than the size of block Oracle [2K - 16K]
Assume: BONES Block Size: 32K and Oracle block size: 8K
Quebec: One-to-many relationship will always be true? or block Oracle will use 8K to 32 K, and the rest will be unused? or it will return the error at the time of the creation of the data file?
This will challenge the relationship "one to many".
Leader: Oracle logical and physical storage diagram.svg - Wikimedia Commons
Refer to the basis of the diagram.
" --------------------< "="" show's="" one="" to="" many="" relation.="" one="" x="" can="" contain="" many="">
">-------------------<" show's="" many="" to="" many"="" i.e="" many="" x="" can="" contain="" many="">">
You don't seem to be read or understand what everyone says.
There is NO such "one to many" relationship. Like I said above
There is no 'validation of one to many '.
1. the operating system uses a given block size
2. you choose an Oracle block size
All these "one to many" is just the result of the choices you made in #2 above. There isn't any 'validation' that occur.
This likely diagram shows this relationship based on the recommendation of Oracle to select a block size that is a multiple of the block size of OS. If you do that this diagram will NOT reflect the case of NORMAL use.
You can't believe everything you see on the internet. Articles/diagrams and others are often from unknown or reliable sources.
2.
'Validation' is not any process.
I just wanted to write the Validation of the theory, the relationship.
Re-read what I just said again above.
There is NO validation. There is NO theory of validation.
All there is is the reality of the block size, you choose and the reality of the OS block size you use. Any relationship between these two values is just a reflection of these two values.
If you choose two different values, they have a completely different relationship to each other.
Oracle works with blocks of the Oracle. The operating system works with the BONE blocks. Oracle does not care really what size a block of BONE is in connection with an Oracle block.
-
Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?
Alanysis and Hyperion reports has a scope of report include Hyperion Finanicial Reporting, web analytics services RA framework and the Foundation as a layer application and client level there EMP Workspace, SmartView etc.
Thank you
~ KKT ~.
-
Disable the Tunning &; diagnostic packs in oracle 10g and oracle 9i
Hello
According to the license agreement, our organization asked to disable the packs tuning & diag on Oracle databases.
We use versions diff of databases oracle (oracle 9i, 10g, 11g)
In oracle 11g, we can disable tuning & diag packs using the control_management_pack_access parameter to none.
How to disable the setting & diag packs in Oracle 10 g and oracle 9i?
Thank you
AWR did not exist up to 10g, so I don't think that the diagnosis of EM or Tuning Packs are a problem with 9i. As mentioned statspack is free and available always in 11g, so it is available for use. -Mark-
-
Version of grid Infrastructure: 11.2.0.4
Platform: Oracle Linux 6.3
For the separation of roles, we have created a grid and oracle users.
grid-> to manage the network infrastructure, which includes ASM
Oracle-> to manage the RDBMS
GI will be installed under the /grid mount point
RDBMS will be installed under the/U01 mount point
Who should be the owner of oraInventory in such a scenario? grid or oracle user
Where oraInventory should be placed? Under Mount /grid or/U01 point?
Who should be the owner of oraInventory in such a scenario? grid or oracle user
Better choose grid if you use the separation of roles.
Where oraInventory should be placed? Under Mount /grid or/U01 point?
As long as oracle and grid users have rwx privilege on the inventory directory, you can place on a consistent OFA or nearby location OFA compliant.
Personally, I prefer/u01/app/oraInventory
Approval should look like below
$ ls-l/u01/app/oraInventory
drwxrwx - 6 grid oinstall 4096/u01/app/oraInventory 13 August 2012
Its better for itself an inventory centralized for GRID_HOME and ORACLE_HOME. It is easy for opatch auto work properly with a properly configured central inventory.
The grid and oracle users must have the Oracle inventory group oinstall as their primary group, so that each owner (grid, oracle) Oracle software installation can write on the central inventory.
-
What LKM and IKM for b/w MSSQL 2005 and Oracle 11 of fast data loading
Hello
Can anyone help to decide what LKMs and IKMs are best for data loading between MSSQL and Oracle.
Staging area is Oracle. Need to load around the lines of 400Million of MSSQL to Oracle 11 g.
Best regards
Muhammad"LKM MSSQL to ORACLE (BCP SQLLDR)" may be useful in your case which uses BCP and SQLLDR to extract and laod of MSSQL and Oracle database.
Please see details on KMs to the http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/ms_sqlserver.htm#BGBJBGCC
Maybe you are looking for
-
C:/ProgramFiles/freeopener.exe. Is it safe?
All of a sudden, it's on my shortcut icons, and I have not installed it. What kind of program is it and who published it?
-
If you access the storage area, then choose Administration. Can you make a user who has no name and no password? I know there is a guest account, but if I do an IE FTP it ask for the (guest) username, then password (just press enter)... I am looking
-
Venue 11 pro keyboard guard disconnection
When I plug my place 11 pro in the mobile keyboard (the one with the extra battery) it will work for about 5 minutes, but then the Tablet ceases to recognize the keyboard and keys and the touch pad does not work anymore. I have to turn off the screen
-
How can I stop Auto opening of Windows Media Player?
Windows Media Player automatically opens every time that I have connect or leave the sleep mode. How can I stop this automatic activation? I just want it opens when I ordered it.
-
How do eject you safely photocarte media on windows 7
How do eject you safely map media photo of SD/MMC-MS/Pro of a windows 7