Format of the date when the table was created
Hi all
Is it possible to create the table with the specific date format: as I want to create table with the format date must be in the format "mmddyyy" or no matter what specific.
I am using oracle 11g
Thank you
Hello Abbas85,
not only the dates Oracle occupy only 7 bytes, but using DATES give some benefits, like:
-verification of the data: the system will not accept things like '44-JAN-2014' or 15 months,...
-date arithmetic: it's so easy and convenient to be able to do things like "date2 - date1", or "date 1 + x days!"
-l' effectiveness of the index: when stored as dates, Oracle knows that there's only one second between 27-APR-2014 23:59:59 and 28 April 2014 00:00:00, but if it is stored as strings or numbers, for example there is a bigger difference between 20140331235959 and 20140401000000 and between 20140331010203 and 20140331195959. This may mislead the optimizer...
But in any case if for any reason any bad you persist in the idea of storing dates as numbers or strings, be sure to keep the items in the order YYYY MM DD HH24 MI SS; at least the order is respected. With the help of MMDDYYYY would be really sad!
And on the addition of certain "quality check" If you use for example a 8 string ((aucune heure min sec)): this can be achieved with a constraint, as for example
SQL > CREATE TABLE aajessica1986 (a_date TANK (8) CHECK (TO_DATE (a_date, 'MMDDYYYY') > DATE ' 1900-01-01'));
Table created.
SQL > INSERT INTO aajessica1986 VALUES ('15212014');
INSERT INTO aajessica1986 VALUES ('15212014')
*
ERROR on line 1:
ORA-01843: not one month valid
SQL > INSERT INTO aajessica1986 VALUES ('10082014') / * (but maybe the user has waited 10 - AUG and not 08 - OCT) * /;
1 line of creation.
Best regards
Bruno Vroman.
Tags: Database
Similar Questions
-
How to list the when a Table is created, and when the last change?
Is there a way to know when a TABLE was created originally, and when the last change (=. for example, the last INSERTION of a line or UPDATE a line)?
PeterHello!
select created,last_ddl_time from dba_objects where object_type = 'TABLE' and object_name = 'table_name'
created ways to create object (table)
last_ddl_time means when the structure of tables was the last modified timeBut there no opinion with dml last on the table. You must provide this with a few columns on table (Last_dml_time) that should be filled with
Some database triggersOr if you have enabled AUDITING, then last time dml is registered also in audit trail
T
-
Hello
I have a problem when the pack was created in Creative Cloud Packager, there are two selectable 'same' organisation.
The first one named "Centre professional of the Littoral Neuchâtelois" offered license type ' named ' or 'license of device.
The other named "Centre professional of the Littoral Neuchâtelois" (ditto) offered only a license type "named license.
My question is why do I have two organization?
Thank you very much.
Pellaton Roman
It seems that your ID is associated with two accounts.
We have an approval attached and the other has a license of creative teams of cloud (username).
If you want to check more details about these accounts please contact customer service
-
The virtual disk parent has changed since the child was created
Hi all, need your help with this one.
I deleted two snapshots and now I can not start the virtual machine.
Get the following error:
Reason: The virtual disk parent has changed since the child was created.
Cannot open disk ' / vmfs/volumes/4c483d34-a8c778c4-46a5-001cc460f09e/WEBPDXXXY/WEBPDXXXY_1-000003.vmdk' or one of the snapshot disks it depends on.I tried that link but still did not work KB: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 1007969
I can still see the WEBPDXXXY_1 - 000003.vmdk, WEBPDXXXY_1 - 000002.vmdk and WEBPDXXXY_1 - 000001.vmdk when I browse the data store.
WEBPDXXXY_1 - 000003.vmdk
# Disk DescriptorFile
version = 1
Encoding = 'UTF-8 '.
CID = 59fab513
parentCID = a4a63bd5
isNativeSnapshot = 'no '.
createType = "vmfsSparse."
parentFileNameHint = "WEBPDXXXY_1 - 000002.vmdk".
# Description of the measure
RW 157286400 VMFSSPARSE ' WEBPDWEBPDXXXY_1-000003 - delta.vmdk.# The database disk
#DDBWEBPDXXXY_1 - 000002.vmdk
# Disk DescriptorFile
version = 1
Encoding = 'UTF-8 '.
CID = a4a63bd5
parentCID = 0f8995f3
isNativeSnapshot = 'no '.
createType = "vmfsSparse."
parentFileNameHint = "WEBPDXXXY_1 - 000001.vmdk".
# Description of the measure
RW 157286400 VMFSSPARSE ' WEBPDXXXY_1-000002 - delta.vmdk.# The database disk
#DDBDDB. Deletable = 'true '.
ddb.longContentID = "ab1b7008e386c884ae920930a4a63bd5".WEBPDXXXY_1 - 000001.vmdk
# Disk DescriptorFile
version = 1
Encoding = 'UTF-8 '.
CID = 0f8995f3
parentCID = 926f96fa
isNativeSnapshot = 'no '.
createType = "vmfsSparse."
parentFileNameHint = "WEBPDXXXY_1.vmdk".
# Description of the measure
RW 157286400 VMFSSPARSE ' WEBPDXXXY_1-000001 - delta.vmdk.# The database disk
#DDBddb.longContentID = "0336846d9f849b4b97ad028f0f8995f3".
DDB. Deletable = 'true '.WEBPDXXXY_1.VMDK
# Disk DescriptorFile
version = 1
Encoding = 'UTF-8 '.CID = 926f96fa
parentCID = ffffffff
isNativeSnapshot = 'no '.
createType = "vmfsRawDeviceMap."# Description of the measure
RW 209715200 VMFSRDM ' WEBPDXXXY_1 - rdm.vmdk '.# The database disk
#DDBddb.toolsVersion = "8295.
ddb.adapterType = "free".
DDB. Geometry.sectors = "63".
DDB. Geometry.Heads = "255".
DDB. Geometry.Cylinders = "13054.
DDB. UUID = "60 00 C2 92 41 62 5 d 8f-10 59 12 60 53 0 to a8 94.
ddb.longContentID = "b204c5bc523bbc83c01dd3ed926f96fa".
ddb.virtualHWVersion = "7".
DDB. Deletable = 'true '.Is there a chance to run ls-lisa from the command line (SSH) in the virtual machine folder and provide the output!
I ask because I'm a little worried about the timestamp of the hard (May 2011). Depending on the size of the files in the snapshot, it seems that the second virtual disk is not really used by the guest operating system and we could come back manually (by editing the .vmx file) on the resized basic disk (100 GB compared to 75 GB for snapshots) without losing important data!
If you want to revert manually,
- delete the virtual machine of the inventory
- backup and then edit the .vmx file (replace "WEBPDMAPPD_1 - 000003.vmdk" with "WEBPDMAPPD_1.vmdk")
- Move 3 snapshots in a directory temporary sub
- Add the virtual machine to inventory
- create a new snapshot to prevent the current hard files to be modified
- Turn on the virtual machine
If everything works as expected, you can delete the snapshot files moved and remove the snapshot created in the Snapshot Manager again.
André
-
Hello!
I have a problem with a server that does not start.
We had a virtual machine running on VMWare Infrastructure 3 with two hard drives and an instant backup of them.
This machine has been removed from the inventory, but when it has been recreated, the secondary hard drive is mentioned for the basic-disk vmdk
instead of being referenced to the instant vmdk and used for a few days.All changes made after the snapshot, were kept in the delta snapshot file, which is not loaded.
We are with difficult to reference the secondary disk for the snapshot file. We tried to edit the .vmx and hard disk files
to correct the CID made reference, but when we try to start the virtual machine, we got this error:"The virtual disk parent has been changed since the child was created.
I think it happens because we made a blow-up of a secondary drive a few weeks after the backup snapshot. We spent 30 GB to 50 GB.
And because it has been referenced and used in another vm.*** Log is attached
Thank you
Bruno.
It is a bad sign
next step in the usual forest is to use "testdisk" since a LiveCD to set the tables MBR and partition - if possible
-
My Apple ID has been locked for security reasons. I have all the details to recover my account that the account was created by a child of 6 years. How to unlock my account to use the same?
< email published by host >
It is illegal for a child from 6 years to create an Apple ID.
You can take a date-genius bar with Apple and bring the original receipt Apple.
-
Export the file HAVE to PNG format in the same dimension created
Hello
I'm an illustrator file of the size of 1000px * 1000px. Have selected the 300 DPI when the file was created.
So was the point where I pasted, then export in PNG file increase to some other dimensions.
The exported file is used for printing T-shirt, so it must be in 300 dpi.
y at - it a help in this?
Enjoy your entries in it.
Suresh,
A total of 3000 x 3000 pixel image size is 10 inches at 300 DPI.
For example, you can create the illustration/work plan at a size of 3000 x 3000 pixels and just save for the Web or export at 72 DPI.
You can create the illustration/work plan at a size of 10 x 10 inches and export at 300 PPI or save to the Web by setting the size of the Image to 3000 x 3000 pixels.
The two will give the same picture with the same size of file that can be printed in the same size/quality.
Or something similar.
-
Virtual disk parent has changed since the child was created.
I recently had one of my virtual machines go down and I couldn't connect to access anything whatsoever, so I rode as an extra hard drive to another virtual machine in order to access the data I needed.
Once I had finished I he took off the other VM and proceeds to the power on the virtual machine, but I got an error of:
"The virtual disk parent has been changed since the child was created." The content of the virtual disk ID parent does not match the ID of parent matching the child content. »
Reason: The virtual disk parent has changed since the child was created. The content of the virtual disk ID parent does not match the ID of parent matching the child content.Cannot open disk ' / vmfs/volumes/4e24c6fe-3c2ad61e-a57c-e4115bbbce6c/SNCTrillium/SNCTrillium-000003.vmdk' or one of the snapshot disks it depends on.I read upward through the knowledge base of VMWare on the modified files, but I've never had to do that before and I'm not sure about how to go on this subject as I've never used the vsphere CLI either.
I am currently using ESXi 5.0.0 with vsphere client 5.0.0. I've attached a screenshot of the error.
According to the snapshot between SNCTrillium - 000001.vmdk and the basic disk SNCTrillium.vmdk is broken, which means that the basic disk has been changed. I have attached an instant replacement for the SNCTrillium - 000001.vmdk with a fixed string that should allow you to open the virtual machine. However, since I do not know what and how much data has changed on the basic disk, I can't tell you how much data corruption, you will see. So you better take an another snapshot to be temporary once loading hard file attached, in order to ensure the current hard data files cannot be changed.
André
-
[CS6] Download the version of the application in which the document was created
Hi all
Is there a way to get the version of the application in which the document was created?
For example: I have a CS6 plugin in which I want to know if the current document has been initially created in CS3 or CS5 or so away.
Any help will be much appreciated.
Use IMetaDataAccess from IDocument.
-
Hello
We have ESX 3.5 Update2
During the withdrawal of one of the many snapshots, the process has been crushed and the CID string seems to be corrupted.
Now the last work of x file - 000006.vmdk cannot start because the file is based on x - 000004.vmdk.
Now, I get this message:
Cannot open disk /vmfs/volumes...x-000007.vmdk or one of the Flash disk that it depends on.
Reason: The virtual disk parent has changed since the child was created.
If you provide vmdk small text files, all the vmware.logs, the vmsd file and the vmx file I can look into it
___________________________________
VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual
-
OK, here's the situation, (maybe you can find a lot of discussion on this one)
I have a vmware server running SuSE Linux Enterprise Server 10. I use as its host vmware ESX 3.0.1.
I realize that I need to extend the drive because he must have more space disk for the production server. Then I resize the disk using vmkfstools x 90 G TARANTELA - TEST.vmdk. The bad news is, I didn't know that the server has a snapshot on VI client. As you know, the error occurred:
Failed to open the disc
"/ vmfs/volumes/4652e777-3eb2a038-8fce-0019bb343796/TARANTELLA-TEST-000007.vmdk" or one of the snapshot disks it depends on.
Reason: The virtual disk parent has been changed since the child was created
Then I remove the snapshot of the VI client and re-save the virtual machine to inventory, but it may yet open the disc unless I edited the .vmx line file:
scsi0:0. FileName = 'TARANTELA-TEST - 000007.vmdk '.
TO
scsi0:0. FileName = ' TARANTELA - TEST.vmdk.
It runs as the first time I installed the system, but all the important configuration is in 'TARANTELA-TEST - 000007.vmdk' snapshot.
Someone there the sollution, how can I do my work of snapshot again?
Kind regards
Arfal
In SL32-AP-TARANTELA - TEST2.vmdk
change
CID=dc621992
TO
CID=ce700012
and
RW 188743680 VMFS "SL32-AP-TARANTELA-TEST2-flat.vmdk"
TO
RW 31457280 VMFS "SL32-AP-TARANTELA-TEST2-flat.vmdk"
and
ddb.geometry.cylinders = "11748"
TO
ddb.geometry.cylinders = "1958"
in SL32-AP-TARANTELA-TEST2 - 000007.vmdk
change
RW 188743680 VMFSSPARSE "SL32-AP-TARANTELA-TEST2-000007-delta.vmdk"
TO
RW 31457280 VMFSSPARSE "SL32-AP-TARANTELA-TEST2-000007-delta.vmdk"
And then you change the changes you have made to the VMX file.
Try power o the VM - you will get probably mistakes (inside the virtual machine).
If this works report back (we are not yet made).
-
Confusion about the use of the tables [was: tables]
I was told, at some point by someone, that the new web site design uses no tables. I'm so confused that I just read in the Help Guide of Dreamweaver Reference Guide, Chapter 5 page layout and Design, there is a whole section for tables. Many help sites, I was told that my site does not even because it is built in the tables. I built it using the ancient DW in 2002. I don't know which version, but the most recent version was Dreamweaver 4 back then. I am trying the trial of 2015, making many tutorials to learn the latest that has completely changed what I learned 14 years ago.
So, what I can, or may not, use arrays? Please see the reference guide for DW 2015, 5 ml
Thank you, Deb
Oh, my site is mainemadestuff.com
[Edited by moderator subject line]
Dreamweaver reference Guide is desperately obsolete. Because Dreamweaver is now updated several times per year, new features have been added, but the old material has not been removed. For example, Chapter 5 contains 12 pages on executives. Dreamweaver can't stand frames.
Advice than a website "shouldn't even work because it is built in the tables" are nonsense. Your site does not, and will continue to work for many years to come.
The problem with the page layout using tables, it's that it is rigid. The content is not redistributed when the site is displayed on a mobile device. Tables is also bad for technology assistance for the blind. A blind person trying to access your site would have great difficulty of navigation on every page.
Tables should be used these days for their original purpose: to display data, such as sports or statistical results in tables of trade. Modern web design uses CSS to control page layout and styles. But do not worry about your existing site stop suddenly work. Spend the time learning the latest techniques and reorganize your site when you feel more comfortable with CSS. But forget the so-called Dreamweaver reference Guide. It will be much more to enlighten confused them.
-
How to get the text formatting in the tables
Dear experts and aid
For my project, I import an RTF file and then read the data into 3 tables. It works fine when just using the contents of the string of paragraphs. However, the final script should be able to read and to replace the text formatted...
Why use intermediate tables? Because otherwise I need to swap between two fm-documents (and you can be a part of the book).The imported file starts with a certain number of lines separated into two parts by a TAB ("designates a TAB in \x08 FM)
[[Garneau, 1990 #12]] » [9]
The good article can also be locally as text, e.g. [9]
Then follow the same (or smaller) number of paragraphs with text formatted like this:
[9]"D. Garneau, ed., National Language Support Reference Manual (national language Information Design Guide. Toronto, CDN: IBM National Language technical Centre, 1990.Is it possible to replace in the body of the function below the next song
while(pgf.ObjectValid()) { pgfText = GetText (pgf, newDoc); gaBibliography.push(pgfText); pgf = pgf.NextPgfInFlow; }
with this
while(pgf.ObjectValid()) { gaBibliography.push(pgf); pgf = pgf.NextPgfInFlow; }
Do I need a special statement of the gaBibliography range?
And how to get the right part of the lines as formatted intro thingy in table gaFmtCitsFmt ?Currently, I read in the tables as "strings" (function GetText not shown):
var gaFmtCitsRaw = []; // left column in processed RTF var gaFmtCitsFmt = []; // right column in processed RTF var gaBibliography= []; // bibliography lines from processed RTF // filename is something like E:\_DDDprojects\FM+EN-escript\FM-testfiles\BibFM-collected-IEEE.rtf function ReadFileRTF (fileName) { var nCits=0, nBib = 0, openParams, openReturnParams, newDoc, pgf, pgfText ; var TAB = String.fromCharCode(8); // FM has wrong ASCI for TAB var parts = []; openParams = GetOpenDefaultParams(); openReturnParams = new PropVals(); newDoc = Open (fileName, openParams, openReturnParams); pgf = newDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf; // get first pgf in flow // --- read the temp/formatted citations while(pgf.ObjectValid()) { pgfText = GetText (pgf, newDoc); if (pgfText.substring (0,2) == "[[") { // citation lines start with [[ parts = pgfText.split(TAB); // get the two parts of the line gaFmtCitsRaw.push (parts[0]); // Push the result onto the global array gaFmtCitsFmt.push (parts[1]); pgf = pgf.NextPgfInFlow; } else { break } } // --- read the bibliography while(pgf.ObjectValid()) { // until end of doc pgfText = GetText (pgf, newDoc); gaBibliography.push(pgfText); pgf = pgf.NextPgfInFlow; } newDoc.Close (Constants.FF_CLOSE_MODIFIED); } // --- end ReadFileRTF
The following questions will then be how to change the script of FindAndReplace of Ian Proudfoot for managing text formatted as replacement. I will need to use the copy and paste IMHO...
Klaus, okay, before pasting, you must assign the TextSelection object at your insertion point.
// Add a new paragraph after the current paragraph. var newPgf = oDoc.NewSeriesPgf (lastPgf); var textRange = new TextRange (new TextLoc (newPgf, 0), new TextLoc (newPgf, 0)); oDoc.TextSelection = textRange; oDoc.Paste ();
-Rick
-
Small product problems page format of the table with the unused sections
Hi all
I hope someone can help me identify what it is that I have trouble with my small product catalog pages. I have this problem where I have unused sections or blanks where normally the images/Details of the product would be. I think it can come from my product titles that use more than two lines of characters with these products that I have for sale where the price is bordered by the intermediary with a new price below (extra row of text) where the product is more space than the standard height. It seems to be pushing other products more far more/down to another column/row. I don't know it's somelthing I'm wrong with how the table is set up for the management of the height of each box of product dynamically, but I'm new to this so not sure what you need to fix in the code.
Here is a link to a page problem showing the problem:
http://tigressartscomics.com/CGC-graded-comics
Any help would be greatly appreciated.
Thank you
Kennedy
Hi Kennedy,
Believe that it is caused by your products from the list in varying heights.
Have you tried to add a "height: 400px; ' your '.produits-grid li .productSmall?
Concerning
Mike
-
Surrogate mother or business identifier when the Dimension was created?
Hi, I use OWB and I'm confused by carrier mother identification or business identifiers? What are they and how can I find out if a certain field is an identifier of buisness or substitute?Business identifier is an attribute to save the value of row identifier of the source system (i.e. a primary key in the source table column).
Identifier for substitution is a primary key attribute in the table target (or dimension).Kind regards
Oleg
Maybe you are looking for
-
Unable to sign in MarketWatch or so registered same disk?
While registered to post comments to articles from MarketWatch and drive I can't "connect" and validate. I jump without ANY explanation. It seems that my username and password are simply rejected without reason or explanation.
-
I just downloaded Firefox and there is no url line, without period of tool bar.
The only thing I have in mind is a Firefox tab in the left upper corner.
-
Y at - it an app that can access the Appleworks files?
I have a lot of old Appleworks files that I can be more open because they are not supported. I had to keep an old iMac that is still just able to endure the old Appleworks both latest software, but it is causing more and more problems to each new up
-
How can I save my iphone to my computer Win10?
I found a lot of so-called solutions to this, but none of them work. I ran out of space on iCloud and do not want to buy more. How can I save on my computer? All it will do (via iTunes) is sync. I want to make a backup. Also, if I make a backup, wher
-
Buy MLB via apple TV but can't
When I try to make a play on mlb after going through a few steps, I find myself with: "iTunes store purchase step finish create identity point Failed Apple status: 0". the receipt is valid and the subscription is active"what happens? How can I solve