Click here to Skip to main content
15,919,613 members
Home / Discussions / Database
   

Database

 
GeneralRe: Recursive call to stored procedure Pin
Niladri_Biswas7-Jun-09 0:28
Niladri_Biswas7-Jun-09 0:28 
GeneralRe: Recursive call to stored procedure Pin
Mycroft Holmes7-Jun-09 2:57
professionalMycroft Holmes7-Jun-09 2:57 
Questionlocked transaction Pin
Morad SAJID15-May-09 10:32
Morad SAJID15-May-09 10:32 
AnswerRe: locked transaction Pin
Henry Minute15-May-09 12:02
Henry Minute15-May-09 12:02 
AnswerRe: locked transaction Pin
David Mujica16-May-09 13:47
David Mujica16-May-09 13:47 
QuestionProblem with between function with date timepicker Pin
nazimghori15-May-09 8:18
nazimghori15-May-09 8:18 
AnswerRe: Problem with between function with date timepicker Pin
Blue_Boy15-May-09 10:26
Blue_Boy15-May-09 10:26 
AnswerRe: Problem with between function with date timepicker Pin
AlexeiXX316-May-09 9:54
AlexeiXX316-May-09 9:54 
nazimghori wrote:
format of my date is dd/MMM/yyyy


The format of your sql or the format of your datetimepicker?


nazimghori wrote:
If optn1.Checked = True Or optn3.Checked = True Then


You dont need to compare a booleanvalue with true or false
Just do it like this:
If optn1.Checked Or optn3.Checked Then
Or even better:
If optn1.Checked OrElse optn3.Checked Then


nazimghori wrote:
sqlstr="select * from des_mast"
sqlstr = sqlstr & "where pickup_date between '" & Me.dtp1.Value & "' and '" & Me.dtp2.Value & "'"

After concatenating this, i dont think youll get a space between des_mast and where, youll get des_mastwhere

Also, have you tryed using # for the date values: between #12/12/2009# and #12/12/2009#

If you still cant get it to work, you can test manually the query in sql server managment studio

Alexei Rodriguez

QuestionSyntax for alter table Pin
hrishiS15-May-09 3:12
hrishiS15-May-09 3:12 
AnswerRedesign your database Pin
David Mujica15-May-09 3:41
David Mujica15-May-09 3:41 
GeneralRe: Redesign your database Pin
hrishiS15-May-09 3:56
hrishiS15-May-09 3:56 
GeneralRe: Redesign your database Pin
David Mujica15-May-09 4:07
David Mujica15-May-09 4:07 
QuestionWithout rollback Pin
Rock Star.15-May-09 1:32
Rock Star.15-May-09 1:32 
AnswerRe: Without rollback Pin
Henry Minute15-May-09 1:46
Henry Minute15-May-09 1:46 
GeneralRe: Without rollback Pin
Rock Star.15-May-09 3:15
Rock Star.15-May-09 3:15 
GeneralRe: Without rollback Pin
David Mujica15-May-09 3:31
David Mujica15-May-09 3:31 
QuestionRe: Without rollback Pin
Rock Star.15-May-09 20:54
Rock Star.15-May-09 20:54 
AnswerRe: Without rollback Pin
Mycroft Holmes15-May-09 22:10
professionalMycroft Holmes15-May-09 22:10 
QuestionNeed some help with SQL Join statements please Pin
MarkB77715-May-09 1:14
MarkB77715-May-09 1:14 
QuestionREport server Pin
Tauseef A15-May-09 0:48
Tauseef A15-May-09 0:48 
AnswerRe: REport server Pin
Niladri_Biswas4-Jul-09 20:16
Niladri_Biswas4-Jul-09 20:16 
QuestionCreate "report query" Pin
AlexeiXX314-May-09 20:48
AlexeiXX314-May-09 20:48 
AnswerRe: Create "report query" Pin
Mycroft Holmes14-May-09 21:56
professionalMycroft Holmes14-May-09 21:56 
AnswerRe: Create "report query" [modified] Pin
Jörgen Andersson14-May-09 22:06
professionalJörgen Andersson14-May-09 22:06 
GeneralRe: Create "report query" Pin
AlexeiXX315-May-09 7:23
AlexeiXX315-May-09 7:23 

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.