Click here to Skip to main content
16,014,748 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to move existing controls to access form groupbox? Pin
Dan Neely6-Jun-07 7:18
Dan Neely6-Jun-07 7:18 
AnswerRe: How to move existing controls to access form groupbox? Pin
Mike Dimmick6-Jun-07 11:47
Mike Dimmick6-Jun-07 11:47 
Questionhow to know the datatype of a field in a database? Pin
kalaveer6-Jun-07 2:15
kalaveer6-Jun-07 2:15 
AnswerRe: how to know the datatype of a field in a database? Pin
andyharman6-Jun-07 2:53
professionalandyharman6-Jun-07 2:53 
GeneralRe: how to know the datatype of a field in a database? Pin
kalaveer6-Jun-07 3:33
kalaveer6-Jun-07 3:33 
GeneralRe: how to know the datatype of a field in a database? Pin
andyharman6-Jun-07 3:38
professionalandyharman6-Jun-07 3:38 
AnswerRe: how to know the datatype of a field in a database? Pin
ScottM16-Jun-07 5:09
ScottM16-Jun-07 5:09 
Questiondate functions Pin
rkherath6-Jun-07 0:16
rkherath6-Jun-07 0:16 
hi,
i have 2 fields with varchar dates as follows

SDATE OUT_DATE
20070604 20070528
20070604 20070529
20070605 20070601

i have converted both in to date like following,

//SDATE
CONVERT(NVARCHAR,(substring(TFRTTV.SDATE,1,4)+'/'+substring(TFRTTV.SDATE,5,2)+'/'+substring(TFRTTV.SDATE,7,2)),111)


//OUT_DATE
CONVERT(NVARCHAR,(substring(TFRTTV.OUT_DATE,1,4)+'/'+substring(TFRTTV.OUT_DATE,5,2)+'/'+substring(TFRTTV.OUT_DATE,7,2)),111)

now i wanna filter records to show only

select SDATES ,OUT_DATE where OUT_DATE>SDATE-5


please tell me how to do this.

Regards

Ruwandi

rkherath
AnswerRe: date functions Pin
ganesamoorthidhayalan6-Jun-07 1:05
ganesamoorthidhayalan6-Jun-07 1:05 
GeneralRe: date functions Pin
rkherath6-Jun-07 1:17
rkherath6-Jun-07 1:17 
GeneralRe: date functions Pin
ganesamoorthidhayalan6-Jun-07 1:23
ganesamoorthidhayalan6-Jun-07 1:23 
AnswerRe: date functions Pin
ganesamoorthidhayalan6-Jun-07 1:55
ganesamoorthidhayalan6-Jun-07 1:55 
AnswerRe: date functions Pin
Krish - KP7-Jun-07 22:40
Krish - KP7-Jun-07 22:40 
QuestionHow can I Call batch file (i.e..bat) from Procedure? Pin
Guru_yogi5-Jun-07 23:54
Guru_yogi5-Jun-07 23:54 
AnswerRe: How can I Call batch file (i.e..bat) from Procedure? Pin
Amit Kumar G7-Jun-07 6:10
Amit Kumar G7-Jun-07 6:10 
QuestionSQL SERVER is Locked Pin
PavanPareta5-Jun-07 23:47
PavanPareta5-Jun-07 23:47 
AnswerRe: SQL SERVER is Locked Pin
Mike Dimmick6-Jun-07 12:04
Mike Dimmick6-Jun-07 12:04 
QuestionSQL Urgent Q. Pin
Memo Soso5-Jun-07 23:43
Memo Soso5-Jun-07 23:43 
AnswerRe: SQL Urgent Q. Pin
Krish - KP6-Jun-07 19:59
Krish - KP6-Jun-07 19:59 
GeneralRe: SQL Urgent Q. Pin
Memo Soso7-Jun-07 0:35
Memo Soso7-Jun-07 0:35 
GeneralRe: SQL Urgent Q. Pin
Krish - KP7-Jun-07 22:33
Krish - KP7-Jun-07 22:33 
GeneralRe: SQL Urgent Q. Pin
Memo Soso11-Jun-07 22:30
Memo Soso11-Jun-07 22:30 
GeneralRe: SQL Urgent Q. Pin
Krish - KP12-Jun-07 17:21
Krish - KP12-Jun-07 17:21 
GeneralRe: SQL Urgent Q. Pin
Krish - KP7-Jun-07 22:44
Krish - KP7-Jun-07 22:44 
Questionconnecting my application with SQL server Pin
Prakash_Mishra5-Jun-07 23:31
Prakash_Mishra5-Jun-07 23:31 

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.