Click here to Skip to main content
15,903,033 members
Home / Discussions / Database
   

Database

 
QuestionTimeout while reading data from database Pin
Muhammad Ahmed6-Aug-07 6:45
Muhammad Ahmed6-Aug-07 6:45 
AnswerRe: Timeout while reading data from database Pin
vimal_yet6-Aug-07 22:23
vimal_yet6-Aug-07 22:23 
AnswerRe: Timeout while reading data from database Pin
Pete O'Hanlon6-Aug-07 22:38
mvePete O'Hanlon6-Aug-07 22:38 
QuestionDataAdapter.Update Problem Pin
MohammadAmiry6-Aug-07 6:12
MohammadAmiry6-Aug-07 6:12 
Questionproblem with pop3 mail box Pin
shaikshavali6-Aug-07 2:17
shaikshavali6-Aug-07 2:17 
AnswerRe: problem with pop3 mail box Pin
Marek Grzenkowicz6-Aug-07 22:30
Marek Grzenkowicz6-Aug-07 22:30 
QuestionDate Range Pin
Brendan Vogt5-Aug-07 20:50
Brendan Vogt5-Aug-07 20:50 
AnswerRe: Date Range Pin
Krish - KP5-Aug-07 21:10
Krish - KP5-Aug-07 21:10 
searching on datetime column for dates between May-2007 and Aug-2007

DECLARE @Mth1 varchar(5)
DECLARE @Yr1 varchar(5)
DECLARE @Mth2 varchar(5)
DECLARE @Yr2 varchar(5)

SET @Mth1 = '5'
SET @Yr1 = '2007'
SET @Mth2 = '8'
SET @Yr2 = '2007'

DtCol >= Convert(datetime, '01/' + @Mth1 + '/' + @yr1, 103) 
   AND DtCol < DateAdd(m, 1, Convert(datetime, '01/' + @Mth2 + '/' + @yr2, 103))

here the condition is starting from 1st of May-2007 to 31st of Aug-2007
i.e. deriving both dates initial date would be 1st of the month and ending date is less than 1st of required month + 1


Regards
KP

QuestionReducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan5-Aug-07 20:32
tonic_valan5-Aug-07 20:32 
AnswerRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
Marek Grzenkowicz5-Aug-07 21:02
Marek Grzenkowicz5-Aug-07 21:02 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan5-Aug-07 22:03
tonic_valan5-Aug-07 22:03 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
Marek Grzenkowicz5-Aug-07 23:47
Marek Grzenkowicz5-Aug-07 23:47 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan6-Aug-07 1:50
tonic_valan6-Aug-07 1:50 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
Marek Grzenkowicz6-Aug-07 21:57
Marek Grzenkowicz6-Aug-07 21:57 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan7-Aug-07 20:33
tonic_valan7-Aug-07 20:33 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
Marek Grzenkowicz7-Aug-07 23:12
Marek Grzenkowicz7-Aug-07 23:12 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan8-Aug-07 23:34
tonic_valan8-Aug-07 23:34 
QuestionSQL 2005 Default Scripts Directory Pin
jareddavies5-Aug-07 14:09
jareddavies5-Aug-07 14:09 
QuestionRestore database using t-sq Pin
WDI4-Aug-07 9:57
WDI4-Aug-07 9:57 
AnswerRe: Restore database using t-sq Pin
Paul Conrad4-Aug-07 18:25
professionalPaul Conrad4-Aug-07 18:25 
GeneralRe: Restore database using t-sq Pin
Stathread5-Aug-07 10:24
Stathread5-Aug-07 10:24 
AnswerRe: Restore database using t-sq Pin
ScottM16-Aug-07 2:12
ScottM16-Aug-07 2:12 
AnswerRe: Restore database using t-sq Pin
Mike Dimmick6-Aug-07 3:54
Mike Dimmick6-Aug-07 3:54 
QuestionHow to Code for Inserting Data into SQL using C# [modified] Pin
sacheesach3-Aug-07 22:10
sacheesach3-Aug-07 22:10 
AnswerRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 22:28
Colin Angus Mackay3-Aug-07 22:28 

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.