Need help with coversion date
HelloI have a date format that is varchar2 and value is as on 2009-03 - 31.i need to convert to date and it must be as on 31 March 09
I get as error 0RA-01981... Please help me in this
SQL> select to_date('2009-03-31','yyyy-mm-dd') xc from dual ;
XC
------------------------------
31-MAR-09
For your http://ora-01981.ora-code.com/ error
SS
Tags: Database
Similar Questions
-
Need help with the data storage store, local array and network connections
Need help with my ESXi 4.1 installation
My hardware:
I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis. I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.
The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.
I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.
My Situation:
I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service. I've set up host via a dynamic DNS service name give me a static hostname on the internet. I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup. It is a domestic installation.
Help with the data store and network:
I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format. Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box. I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.
I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.
Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs. I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top. I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.
I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?
Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.
You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).
Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.
RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.
You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.
Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.
UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.
-
Need help with the date of Validation Urgent
Hello
We need help in the Validation Date.
We have 2 fields of Date on the form the Start Date, End Date
The requirement is: End Date (cannot be more than 30 years as of the start date).
I wrote after the script on the exit eventof the End Date . But the problem is its calculation of 30 years from the current Date not from the Start Date
var
tDate = util.scand (' mm/dd/yyyy', new Date());
var
M = tDate.getMonth ();
var
D = tDate.getDate ();
var
Y = tDate.getFullYear ();
var
SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );
App.Alert (SRes)
If
(SRes < = this.rawValue)
{
App.Alert ("cannot be greater than 30 years from the start date")
() xfa.host.setFocus
ce );
}
can someone help me please
Kind regards
Jay
Hello
You need to get the LCD field javascript and calculate & compare with the future date in date javascript.
Try the following script.
var sDate = StartDate.rawValue;
var wkStartDate = util.scand ("yyyy-mm-dd", sDate);nYear var = wkStartDate.getFullYear ();
nMonth var = wkStartDate.getMonth ();
nJour var = wkStartDate.getDate ();var wkFutureDate = new Date (+ 30 nYear, nMonth, nJour);
sDate = EndDate.rawValue;
var wkEndDate = util.scand ("yyyy-mm-dd", sDate);If (wkEndDate.getTime () > wkFutureDate.getTime ()) {}
xfa.host.messageBox ("cannot be more than 30 years from the start date");
xfa.host.setFocus (this);
} -
Having problems reading CLOB data > 32000 and thought that maybe I can load the data into 3 separate columns less than 32000 k each.
I tried to substring of a part of it first to see if it worked.
DDL
CREATE TABLE 'E406702 '. "" DSR3 ".
(
"RECORDNO' CHAR (8 BYTES),
'DOCUMENTUNIVERSALID' CHAR (32 BYTES),
"CREATIONDATE" TANK (30 BYTES),
VARCHAR2 (250 BYTE) "ETL_STATUS."
VARCHAR2 (4000 BYTE) "DSRDESCRIPTION."
VARCHAR2 (4000 BYTE) "FORM."
'REQUESTID' VARCHAR2 (4000 BYTE)
)
CONTROL FILE
DOWNLOAD THE DATA
INFILE 'DSR2DATA.txt' ' str "\r '"
ADD
IN THE DSR3 TABLE
FIELDS TERMINATED BY ' <: s: >.
(RecordNo CHAR (8),
DocumentUniversalID TANK (32),
CreationDate CHAR (30),
CHAR ETL_STATUS (250).
DSRDescription TANK (32700) "substr(:DSRDescription,1,32)."
SHAPE TANK (4000).
RequestId TANK (4000))
Doing this, that I was able to load half of my files.
Check the newspaper and saw
SQL * Loader: release 11.2.0.1.0 - Production on sea Feb 19 09:40:40 2014Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Control file: c:\mytest7\DSR3CONTROL.txt
Data file: DSR2DATA.txt
Chain of the treatment of the files option: ' str "\r '"
Bad leadership: c:\mytest7\DSR3CONTROL.bad
Discard File: none is specified
(Allow all releases)Number of loading: ALL
Number of jump: 0
Authorized errors: 50
Link table: 64 lines, maximum of 256000 bytes
Continuation of the debate: none is specified
Path used: classicsTable DSR3, loaded from every logical record.
Insert the option in effect for this table: APPENDColumn Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
RECORDNO FIRST 8 CHARACTERS
String endpoint of: "<: s: > '"
DOCUMENTUNIVERSALID THEN 32 CHARACTERS
String endpoint of: "<: s: > '"
CREATIONDATE THEN 30 CHARACTERS
String endpoint of: "<: s: > '"
ETL_STATUS THEN 250 CHARACTERS
String endpoint of: "<: s: > '"
DSRDESCRIPTION CHARACTER THEN 32700
String endpoint of: "<: s: > '"
The SQL string for the column: 'substr(:DSRDescription,1,32) '.
TRAIN THEN 4000 CHARACTERS
String endpoint of: "<: s: > '"
REQUESTID THEN 4000 CHARACTERS
String endpoint of: "<: s: > '"value used for the parameter LINES increased from 64 to 6
Record 79: Rejected - error on the DSR3 table.
ORA-01461: can bind to a LONG value only for insert into a LONG columnRecord 82: Rejected - error on the DSR3 table.
ORA-01461: can bind to a LONG value only for insert into a LONG columnRecord 94: Rejected - error on the DSR3 table.
ORA-01461: can bind to a LONG value only for insert into a LONG columnRecording 160: Rejected - error on the DSR3 table.
What is the problem that. My goal was to make it work and then try to perform the following operations:
Change the ddl to
'DSRDESCRIPTION' CLOB,
'DSRDESCRIPTION1' CLOB,
'DSRDESCRIPTION2' CLOB,
Change the control for this file.
DSRDescription TANK (32700) "substr(:DSRDescription,1,32700)."
DSRDescription2 TANK (32700) "substr(:DSRDescription,32701,65401)."
DSRDescription3 TANK (15000) "substr(:DSRDescription,65402,80000)."
Is - this bad way to go on this subject?
If you can load data without any problem and read-only is a problem then you can use SUBSTR and concate (|) to read the entire string. Something like this:
Select substr (DSRDescription, 1, 32000) | substr (DSRDescription, 32001, 64000) | dsr3 substr(DSRDescription,64001);
or
with the data as
(
Select substr (DSRDescription, 1, 32000) in the DSRDescription of dsr3
Union of all the
Select substr (DSRDescription, 32001, 64000) in the DSRDescription1 of dsr3
Union of all the
Select substr(DSRDescription,64001) in the DSRDescription2 of dsr3
)
Select * from data;
Onkar
-
Hi all
need your spiritual help once more!
I have a table 'product' as below:
create table product)
product_id number (2),
product_info varchar (4000));
Select * from product:
product_id product_info
1 < ticketing > < product = 'TV' > < productservice = "shipping" > < / productservice > < / product = 'TV' > < / ticket >
I need to get the column product_info information in a new table with 2 columns product and productservice product_details. as in: -.
Select * from product_details:
product_id product productservice
1 expedition TV
any suggestions on how to do it.
PS-> for a product it can be several services and there may be several products for a ticket.Your XML file is not well formed at all (so many errors in there).
However, if you had a valid XML code, you could do something like that...
SQL> ed Wrote file afiedt.buf 1 with t as (select 1 as product_id, '
' as product_info from dual union all 2 select 2, ' ' from dual) 3 -- 4 -- end of test data 5 -- 6 select t.product_id, x.* 7 from t 8 ,xmltable('/ticketing/product' 9 passing xmltype(t.product_info) 10 columns product varchar2(10) path '/product/@name' 11 ,service varchar2(15) path '/product/productservice/@name' 12* ) x SQL> / PRODUCT_ID PRODUCT SERVICE ---------- ---------- --------------- 1 TV shipping 2 VCR delivered -
What is the 'Live' page and need help with the data merge
Hello
Im very new to indesign naked with me. Im trying to merge data (need to create a fusion template?) and what I understand is that I need to be on the page 'Live '. Someone on the forum suggested this...
There are two ways to set up the model of fusion. You can put your placholders on the master page or on the live page. If the placehlders are on the master page, only the frame (s) with placeholders, as well as other grouped objects, will be duplicated. On the live page, ID will try to duplictate EVERYTHING on the page, so you must be very careful about installation and sizing of objects.
I want to be on the LIVE page... How can I do this? Got any other sort but can't get several records for the life of me to come.
Thank you for your help adavance
It is the opposite of multiple records per page. Make x copies of a single record on a page, put x sets of organized placeholders as you want on the page. A good way to do it is with Edit > step and repeat after you set up the left superior set. Now merge as one record per page.
-
Hi, I need help with the dates of the plugins added to my browser
Hi I need to know when a plugin has been installed on my browser.
openh264 / video codec provided by cisco systems.
If you can't help, please point me in the direction of someone who can?
Any help much appreciated.
Hello, this particular plugin has been installed with the update for firefox 33.
http://andreasgal.com/2014/10/14/openh264-now-in-Firefox/ -
Hi all
I have a requirement where my table contains the values key1, Key2, and timestamp (example 24 January 2013 06:45:45)
Now I have several values for the same key1, key2, and date with different stamps. I need to keep records only 2 with less output and max timestamp for key1 and key2.
Can you please indicate how this can be done?
Like this
SQL > create table k (key1, key2 whole integer, date of ts);
Table created.
SQL > insert into k
2. Select 1, 1, trunc (sysdate) + numtodsinterval (level, 'time')
3 double
4. connect by level<=>=>10 rows created.
SQL > alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";
Modified session.
SQL > select * from k;
CLE1 KEY2 TS
---------- ---------- --------------------
1 1 31 JANUARY 2014 01:00
1 1 31 JANUARY 2014 02:00
1 1 31 JANUARY 2014 03:00
1 1 31 JANUARY 2014 04:00
1 1 31 JANUARY 2014 05:00
1 1 31 JANUARY 2014 06:00
1 1 31 JANUARY 2014 07:00
1 1 31 JANUARY 2014 08:00
1 1 31 JANUARY 2014 09:00
1 1 31 JANUARY 2014 10:0010 selected lines.
SQL > select key1
2, key2
3, ts
4 of)
5. Select k.*
6, min (ts) over (partition by key1, key2, trunc (ts)) min_ts
7, max (ts) over (partition by key1, key2, trunc (ts)) max_ts
8 k
9 )
10 where ts = ts or min_ts = max_ts;CLE1 KEY2 TS
---------- ---------- --------------------
1 1 31 JANUARY 2014 01:00
1 1 31 JANUARY 2014 10:00SQL >
-
Need help with vSphere data script, packaging and sending it to the data warehouse
Greetings PowerCLI gurus.
Everyone can offer suggestions on a script which can query vSphere and pull on the following fields of the virtual computer:Name State Status Host Space in use Space used Format in a file in the CSV format and send the file to an FTP server?
Much respect to all, thanks a lot in advance.
Hello-
Happy to help you.
OK, well, if this database is accessible through a UNC path, you might make a copy directly using Copy-Item. If you use different credentials, you can encrypt and store in an XML file. HAL Rottenberg wrote to do http://halr9000.com/article/531.
Or, if this pension data is something that supports the secure copy (scp) or secure FTP (SFTP), those who would be good options. Again, you can store the alternative credentials in an encrypted in an XML file format and use them as needed.
Certainly, there is a balance to be struck between security and ease of use. It may be such that the transmitted data are not considered sensitive to all, and clear data transfers are acceptable. Probably still a good idea to take measures to protect the credentials at least.
-
Hi all
CREATE TABLE INV (INV_DATE DATE , QTY NUMBER)
I need result like this (I have total amount per month)Insert into INV (INV_DATE,QTY) values (to_date('01/01/13','DD/MM/RR'),2); Insert into INV (INV_DATE,QTY) values (to_date('02/01/13','DD/MM/RR'),1); Insert into INV (INV_DATE,QTY) values (to_date('01/02/13','DD/MM/RR'),5); Insert into INV (INV_DATE,QTY) values (to_date('10/02/13','DD/MM/RR'),6); Insert into INV (INV_DATE,QTY) values (to_date('03/03/13','DD/MM/RR'),1); Insert into INV (INV_DATE,QTY) values (to_date('04/03/13','DD/MM/RR'),77);
inv_date qty 1 3 2 11 3 78
Analytical use.
John post in a hurry lolselect to_number(TO_CHAR (inv_date, 'MM')) inv_date, sum(QTY) from INV group by to_number(TO_CHAR (inv_date, 'MM'))
-
Need help with SQL/PL/SQL for Dates
Hi Experts - need help with a SQL query.
I need to insert some date fields in a table called CALENDAR_PERIOD.
Current data in CALENDAR_PERIOD table with their data types:
STARTPERIOD (DATE) YEAR (NUMBER) PERIOD_LABEL (Varchar2 255)
02/11/2014 2014 2014/02/11 SUN
03/11/2014 2014 14/03/11 MON
04/11/2014 2014 11/04/14 MAR
I have to increment above values up to the year 2025. I don't know how to write SQL and increment of these values.
Ex: My next value should insert: 05/11/2015 2014 11/05/14 WED like that I need to insert data until 12 31, 2025.
Can you please help me with PL/SQL block?
Really appreciate your help!
DB version:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Thank you
SandyHello Sandy,
Maybe something like
INSERT INTO calendar_period (startperiod, year, period_label)
SELECT DATE '' 2014-11-04 + LEVEL
, TO_NUMBER (TO_CHAR (DATE '' 2014-11-04 + LEVEL, "YYYY"))
, TO_CHAR (DATE '' 2014-11-04 + LEVEL, "MM/DD/YY DY")
OF the double
CONNECT BY LEVEL<= date="" '2025-12-314="" -="" date="">=>
;
((mais je ne comprends pas pourquoi nous créons une telle table "année" et "period_label" peuvent être calculé à partir de startperiod))
Best regards
Bruno Vroman.
-
Need help with query between 2 dates
Hello
I did not SEE in a long time and need help with a simple query.
I have a table of DB access with 3 fields, name, date and number
What I want is to create a query to retrieve all the names between 2 dates
When I ask the date field, the results are showing in this formats 2013-07-12 00:00:00
Here's my query
< cfquery datasource = 'mydb' name = 'test' >
SELECT name from myTable
where edate between ' 2011-01-01 00:00:00 ' AND ' 2013-01-01 00:00:00 '
< / cfquery >
< cfoutput query = 'test' >
#name #.
< / cfoutput >
What I get is this error
ODBC = 22005 (assignment error) error code
[Microsoft] [ODBC Microsoft Access driver] Type mismatch of data in the expression of the criteria.
Don't know what I'm doing wrong here.
Please let me know.
Thank you
SELECT ename
FROM MyTable
WHERE edate BETWEEN
AND
#ename #.
-
Need help with network home using Airport extreme
I need help with my home network. I'm not very aware when it comes to all things network. Here's how my network is currently set up.
Cable modem to Airport Extreme for Gigabit Switch. Cables come out of the switch to all areas of the House. I have 2 other extreme airport connected in other rooms of the House directly on the wall that dates back to the switch. I hope I am explaining that properly.
My problem is that this seems to have caused some of my connections cable does not work. When everything is configured, it has worked well. All connections in the House worked. Then we have disconnected one of the extreme airport and moved to another location in the House to have the best wifi coverage. Since that time, a lot of the ethernet wall plugs are not working. For example, when I plug in my Macbook Pro in making ethernet in my kitchen, it says connected but it has an assigned ip address and cannot connect to the internet.
Any help you can provide would be great.
I would like to get the return tech to help you to...
But it is likely that something (or someone) has tampered with the settings.
The layout is fine... but you can cause problems with the network by creating a loop.
This can happen because the AE you moved is connected wrongly... somewhere in the network it is connected to the switch again.
Or AE is set to expand wireless... It's FAKE... It will loop the network on the back main EI wireless.
Unplug the two AE you have that function as extensions...
Turning off everything else... then it works again...
Do it in this order.
Modem... Wait 2 min
AE... Wait 2 min
Switch.
Now check that the network is working properly... power of customers in various locations and make sure everything is good.
If so, then manually reset the two AE of factory and redo their installation.
-
Need help with my Y40-80? power management
I get message to the center of the Action as follows:
Compatibility problem between your power management system and Windows
Your power management system is not compatible with this version of Windows.
The name of the model of your power management system is ACPI Lenovo compatible virtual controller.
Can anyone help please. I have windows running Y40-80 8.1 is a clean install of windows 8.1 x 64 all drivers are up to this day, just need help with the question above thank you
Lenovo today released a new bios update for Y40-80 laptops, I did the update and, so far, the error message that I posted above has not appeared again so set the mite of update of the bios not sure yet, I'll keep up to date on this subject and write again soon
-
need help with windows update C8000F1A error code
I need help with an error code that is given to my PC when I try to put up-to-date
Hello
1. don't you make recent changes?
2. This does happen with any special updates or all updates?
I suggest you to follow these steps and check if that helps:
Method 1:
If you have installed a security software on the computer, then I suggest you try to disable temporary and check to see if the same problem happens. Make sure that you enable security software back once the diagnosis is made to prevent the computer from virus attacks.
http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-softwareMethod 2:
I suggest you follow the steps in the link below and check if it helps:
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updatesIt will be useful.
Maybe you are looking for
-
Error Vista Office 2003. Everything is not going away
I get on the following error message "the component you are trying to use is on a CD-ROM or another removable disk that is not available. Insert the disc of "Microsoft Office Professional Edition 2003"and click OK. It won't let me not uninstall Offi
-
Using a HTML5 Web page as a user interface for Wallpaper app selection
I designed a very simple app that uses HTML5 to create a small site which allows the user to select a thumbnail graphic linked to a jpg size wallpaper to use as, well, wallpaper. I have downloaded all the files on my Playbook and they load into the b
-
After I blacked out in a jam of paper for the printing device is not accept nor print more. Tried to close for compensation but the message continues to show the message 'shutting down '. How to return printer printing mode?
-
An update and my NIK filters went
IK heb een subscription op PS/Br/Lr. Via een update van Adobe, treat ik nu een en al mijn-filters NIK zijn weg test.I have a subscription on bridge/PS/Lr. I did not now how, but I got an update for these 3 programs. My subscription is gone... I ha
-
Can Hi everyone, please how I fix this, ORA-03113:?
SQL > startupORA-10997: another start/stop operation this instance InProgressORA-09968: cannot lock fileLinux error: 11: Resource temporarily unavailableAdditional information: 3720SQL > the judgmentORACLE instance stops.SQL > startupORACLE instance