Solved

Get Month and Year from date field...

Posted on 2008-06-24
2
3,791 Views
Last Modified: 2013-12-09
How can I get the MONTH and YEAR from a Date field in an Interbase database  (I believe it's 7)
0
Comment
Question by:kevp75
2 Comments
 
LVL 19

Accepted Solution

by:
NickUpson earned 500 total points
ID: 21869517
select extract(month from datefield) from mytable

or within an SP

mymonth =  extract(month from datefield);
0
 
LVL 25

Author Comment

by:kevp75
ID: 21870853
DOH...

figured it out, just before you posted that :)

points off to you :)  thanks!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
microsoft access question 8 52
Need a replacement data type in Oracle 6 66
SQL Server - Check Constraint or NOT NULL? 11 69
Trigger usage 2 59
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now