Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: JPEG loading ! Pin
Mazdak12-May-02 5:19
Mazdak12-May-02 5:19 
GeneralMicrosoft Forms Image 2.0 question ! Pin
Hadi Rezaee12-May-02 4:31
Hadi Rezaee12-May-02 4:31 
QuestionProxy Source code? Pin
chaolong12-May-02 3:25
chaolong12-May-02 3:25 
AnswerRe: Proxy Source code? Pin
chaolong12-May-02 16:36
chaolong12-May-02 16:36 
GeneralDisable Menu Items Pin
Michi77712-May-02 2:31
Michi77712-May-02 2:31 
GeneralRe: Disable Menu Items Pin
Matt Gullett12-May-02 2:49
Matt Gullett12-May-02 2:49 
QuestionDB2/SQL question ? Pin
Learning12-May-02 2:16
Learning12-May-02 2:16 
AnswerRe: DB2/SQL question ? Pin
Matt Gullett12-May-02 2:37
Matt Gullett12-May-02 2:37 
One way I could suggest doing this is to...

1) Create a new table for dates (say -re-generate dates out 5-10 years).
2) As part of the date table have a DUMMY_COLUMN which has a value of say 1.
3) Add a DUMMY_COLUMN to your name table again with a value of 1.
4) Now you can do a join against the 2 tables and get the date range you want at any time.

This method should work in just about any database product you might use.

Another way is to write a stored procedure to build the target table. Depending on what version/platform of DB2 you are using this can be easy or very difficult. It could be written in JAVA, COBOL or whatever other language DB2 SPs support.

GeneralRe: DB2/SQL question ? Pin
Learning12-May-02 6:30
Learning12-May-02 6:30 
GeneralVC.NET together with VC ++ 6.0 Pin
Eugene Pustovoyt12-May-02 1:54
Eugene Pustovoyt12-May-02 1:54 
GeneralRe: VC.NET together with VC ++ 6.0 Pin
Mazdak12-May-02 5:06
Mazdak12-May-02 5:06 
GeneralRe: VC.NET together with VC ++ 6.0 Pin
Eugene Pustovoyt12-May-02 18:33
Eugene Pustovoyt12-May-02 18:33 
GeneralRe: VC.NET together with VC ++ 6.0 Pin
Michael P Butler12-May-02 6:40
Michael P Butler12-May-02 6:40 
GeneralRe: VC.NET together with VC ++ 6.0 Pin
Eugene Pustovoyt12-May-02 18:37
Eugene Pustovoyt12-May-02 18:37 
GeneralKeyboard binds Pin
Todd Smith11-May-02 18:26
Todd Smith11-May-02 18:26 
GeneralRe: Keyboard binds Pin
Tom Archer11-May-02 19:04
Tom Archer11-May-02 19:04 
GeneralRe: Keyboard binds Pin
Rama Krishna Vavilala12-May-02 3:48
Rama Krishna Vavilala12-May-02 3:48 
GeneralRe: Keyboard binds Pin
Tom Archer12-May-02 4:40
Tom Archer12-May-02 4:40 
GeneralWriting CFileDialog pathname to disk Pin
In_Way_Too_Deep11-May-02 17:19
In_Way_Too_Deep11-May-02 17:19 
GeneralRe: Writing CFileDialog pathname to disk Pin
Christian Graus11-May-02 18:21
protectorChristian Graus11-May-02 18:21 
GeneralRe: Writing CFileDialog pathname to disk Pin
Nish Nishant11-May-02 19:02
sitebuilderNish Nishant11-May-02 19:02 
GeneralRe: Writing CFileDialog pathname to disk Pin
Christian Graus11-May-02 20:52
protectorChristian Graus11-May-02 20:52 
GeneralRe: Writing CFileDialog pathname to disk Pin
Nish Nishant11-May-02 21:04
sitebuilderNish Nishant11-May-02 21:04 
GeneralRe: Writing CFileDialog pathname to disk Pin
Tom Archer12-May-02 4:44
Tom Archer12-May-02 4:44 
GeneralWSAAsyncSelect I/O Mode :: Winsock Pin
valikac11-May-02 15:15
valikac11-May-02 15:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.