473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Time and date in sql

1 New Member
I have a project in Isql*plus database.In this project I have to get names for Employees who started work in the first half of the year(01 january to June 30 th)...I'm stuck..please help
================================================== ============
Here is my Algorithm:
select last_name,Hire_date,Department_ID
from employees
where ??????????????????????????????????????
what can i put where there are ??????????????
Nov 9 '11 #1
2 1702
Rabbit
12,516 Recognized Expert Moderator MVP
Assuming hire_date is a datetime field and not char.
Expand|Select|Wrap|Line Numbers
  1. hire_date between '01/01/2011' and '06/30/2011'
Nov 9 '11 #2
anuradha22
1 New Member
select * from scott.emp where hiredate between '01-jan-1981' and '01-jun-1981';


For More queries http://www.yellowpen.co.in/oracle_No...s/Queries.html
Nov 9 '11 #3

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

Similar topics

1
7140
by: Shaiboy_UK | last post by:
Hi All, Sorry if this is the wrong newsgroup to post into, on this topic, if so, please point me in the right direction..... Currently working on a ASP for a friend, which requires the date...
3
3384
by: Roel Castro | last post by:
Hello everyone, Could somebody help me how to open time/date item in Control panel by codes in access form modules? Taking in consideration the operating system which is Windows 98, Windows 2000...
4
2628
by: qtip | last post by:
I have a simple table the has First Name , Last Name, SSN, Date&Time. I have a report that will show all this information but I would like to put in at calculation to tell the difference between 2...
9
3214
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
8
4545
by: bessie | last post by:
I have a registration form that loads into a dava.csv file (code below). I want to add a time/date stamp so that each time someone registers, the last column in the spreadsheet shows the time/date....
9
3017
by: Jackson1 | last post by:
I am new to access and have created a database. I have created a couple of fields Date/ Time of Call Date and Time of placement Date and time of procedure I need to calculate the differance...
1
1541
by: tulikapuri | last post by:
Friends , i want to chart the data from report for on daily, weekly and monthly basis and i have three variable i.e. time , date and Moisture. Can someone guide me how to arroach this issue,...
3
2283
by: climber | last post by:
Hello, I am attemping to append a memo box or text box with a time/date stamp. What I would like to happen is either when I click a button the time/date stamp prints below what is already typed...
12
5541
by: skyy | last post by:
Hi.. I am working on Arm-linux os on developement board. The OS reset the time and date whenever the board is reset. Is there any way that i can run a script to set the time/date instead of...
1
1337
by: thesti | last post by:
hi, i'm new to php. how to show the time / date, a message is posted. like in forums, there are something like, "5 minutes ago", "8 hourse 17 minutes ago", "Yesterdar", "10-07-2008". in...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.