473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

check whether a value is valid year or not in oracle

how can we check whether a value is valid year or not in oracle , please give your suggestions
Aug 17 '07 #1
4 3736
JosAH
11,448 Expert 8TB
how can we check whether a value is valid year or not in oracle , please give your suggestions
You should have asked your question in the Oracle Forum (see the blue menu bar
near the top of this page).

kind regards,

Jos
Aug 17 '07 #2
kestrel
1,071 Expert 1GB
Im moving this to the Oracle forum :)

--
Kestrel
Aug 17 '07 #3
debasisdas
8,127 Expert 4TB
it should be according to deault date format.
Aug 17 '07 #4
gintsp
36
how can we check whether a value is valid year or not in oracle , please give your suggestions
If the value you have is in character format then you can try to convert it to date and catch exception if it is not date.

Gints Plivna
[Edit: Sorry Gints, links not allowed in technical questions]
Aug 19 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: | last post by:
If I need to check if a certain value does exist in a field, and return either "yes" or "not" which query would be the most effestive?
2
by: Konstantin Zakharenko | last post by:
Hello, Our QA team have running a lot of test scripts (for automated regression testing), they run them on the different databases (Oracle/MS SQL). Several of those tests are dependent on the...
9
by: JKop | last post by:
Here's a little pickle I've been pondering over. I've simplified it down for posting, here goes: Consider a function as simple (and as dumb) as the following: bool IsAfter1998(Year year)...
2
by: Benedict Teoh | last post by:
I created a dropdownlist containing day, month and year field and expose a property to assign a date. When I call from a aspx page and assign the value, the new date is not displayed until a submit...
4
by: WebBuilder451 | last post by:
I have a function that returns a dataset or a boolean depending upon whether a record was found. I can check for the string value of the return type, but i don'r think this is the right way to do...
21
by: sanjaymeher | last post by:
Hi, Right now addDynamicMemory(char **ptr, int size) method can able to handle if input ptr is intitialized to NULL or something. But how to improve this method to handle uninitialized pointed...
4
by: td0g03 | last post by:
Hello I have a small question. I'm trying to loop a question and scan the number that the user input. The user input must be valid such as that it has to between 1000-3000 range. I tried a small...
11
by: aisling.cronin | last post by:
Hi I am using ctime to convert the following string 1144412677847 .... Please could some one to double check if they get the same result as me (The Time is Sun Nov 02 09:11:51 2031). It seems...
6
by: GarryJones | last post by:
The following function checks to see if a variable read from a mysql database is numeric. The funtion worked until I hit the value 15 303 That is a valid number but because of the space between...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.