Click here to Skip to main content
15,894,720 members
Home / Discussions / Database
   

Database

 
QuestionSQL Server 2008 Spatial Data Pin
Bassam Saoud4-May-10 4:34
Bassam Saoud4-May-10 4:34 
AnswerRe: SQL Server 2008 Spatial Data Pin
Peter_in_27805-May-10 18:36
professionalPeter_in_27805-May-10 18:36 
GeneralRe: SQL Server 2008 Spatial Data Pin
Bassam Saoud6-May-10 4:09
Bassam Saoud6-May-10 4:09 
Questionhow to write querry for this month,3months ,6months,annual Pin
developerit4-May-10 1:05
developerit4-May-10 1:05 
AnswerRe: how to write querry for this month,3months ,6months,annual Pin
Corporal Agarn4-May-10 6:35
professionalCorporal Agarn4-May-10 6:35 
GeneralRe: how to write querry for this month,3months ,6months,annual Pin
developerit4-May-10 21:05
developerit4-May-10 21:05 
GeneralRe: how to write querry for this month,3months ,6months,annual Pin
Corporal Agarn5-May-10 1:57
professionalCorporal Agarn5-May-10 1:57 
AnswerRe: how to write querry for this month,3months ,6months,annual Pin
Simon_Whale4-May-10 23:22
Simon_Whale4-May-10 23:22 
try something like this.

*assumption that all contract end dates are in the future

select branchname, contractno, email, startdate, enddate, contractreminder, remindertype
from branch
where convert(varchar(20), enddate,112) = convert(varchar920), dateadd(dd, contractreminder, current_timestamp),112)  
      -- this will then removes the issues of the times in the datetime column

Marc Clifton wrote:
That has nothing to do with VB. - Oh crap. I just defended VB!


QuestionSearch based on percentage - sql server 2005 Pin
abcurl4-May-10 0:04
abcurl4-May-10 0:04 
AnswerRe: Search based on percentage - sql server 2005 Pin
Simon_Whale4-May-10 23:33
Simon_Whale4-May-10 23:33 
Questionproblem with Query Pin
mjawadkhatri3-May-10 21:22
mjawadkhatri3-May-10 21:22 
AnswerRe: problem with Query Pin
Paramhans Dubey3-May-10 22:08
professionalParamhans Dubey3-May-10 22:08 
GeneralRe: problem with Query Pin
mjawadkhatri3-May-10 22:16
mjawadkhatri3-May-10 22:16 
GeneralRe: problem with Query Pin
mjawadkhatri3-May-10 22:26
mjawadkhatri3-May-10 22:26 
AnswerRe: problem with Query Pin
Simon_Whale4-May-10 23:26
Simon_Whale4-May-10 23:26 
QuestionSQL Server Indexes [modified] Pin
mobius1110013-May-10 3:13
mobius1110013-May-10 3:13 
AnswerRe: SQL Server Indexes Pin
Luc Pattyn3-May-10 4:15
sitebuilderLuc Pattyn3-May-10 4:15 
GeneralRe: SQL Server Indexes Pin
mobius1110013-May-10 4:35
mobius1110013-May-10 4:35 
AnswerRe: SQL Server Indexes Pin
Henry Minute3-May-10 4:28
Henry Minute3-May-10 4:28 
AnswerRe: SQL Server Indexes Pin
Luc Pattyn3-May-10 4:53
sitebuilderLuc Pattyn3-May-10 4:53 
GeneralRe: SQL Server Indexes Pin
Henry Minute3-May-10 4:58
Henry Minute3-May-10 4:58 
GeneralRe: SQL Server Indexes Pin
Luc Pattyn3-May-10 5:05
sitebuilderLuc Pattyn3-May-10 5:05 
GeneralRe: SQL Server Indexes Pin
Henry Minute3-May-10 5:09
Henry Minute3-May-10 5:09 
GeneralRe: SQL Server Indexes Pin
Luc Pattyn3-May-10 5:17
sitebuilderLuc Pattyn3-May-10 5:17 
GeneralRe: SQL Server Indexes Pin
Chris Meech3-May-10 6:43
Chris Meech3-May-10 6:43 

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.