Click here to Skip to main content
15,895,084 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL query Pin
Michael Potter24-Aug-07 5:10
Michael Potter24-Aug-07 5:10 
QuestionHow to upload an Ntext column value to a text file Pin
edukulla23-Aug-07 6:48
edukulla23-Aug-07 6:48 
QuestionHow can I optimize this script? Pin
Skanless23-Aug-07 6:11
Skanless23-Aug-07 6:11 
AnswerRe: How can I optimize this script? Pin
Michael Potter23-Aug-07 8:41
Michael Potter23-Aug-07 8:41 
Questionreturn int (urgent) [modified] Pin
ksaw12323-Aug-07 5:28
ksaw12323-Aug-07 5:28 
AnswerRe: return int (urgent) Pin
Colin Angus Mackay23-Aug-07 5:34
Colin Angus Mackay23-Aug-07 5:34 
GeneralRe: return int (urgent) [modified] Pin
ksaw12323-Aug-07 5:38
ksaw12323-Aug-07 5:38 
GeneralRe: return int (urgent) Pin
Xandip24-Aug-07 17:31
Xandip24-Aug-07 17:31 
There is another way to check the date.. try this..

Select * From ....
Where
Convert(DateTime, @ParameterDate, 103) = Convert(DateTime, GetDate(), 103)

This is for checking with current date(GetDate()). For more precision yo can add the following lines of code with the above code.

And Year(@ParameterDate) = Year(GetDate())
And Month(@ParameterDate) = Month(GetDate())




The name is Sandeep

GeneralRe: return int (urgent) Pin
ksaw12325-Aug-07 0:14
ksaw12325-Aug-07 0:14 
Questionloop in sql table Pin
costavo23-Aug-07 4:06
costavo23-Aug-07 4:06 
AnswerRe: loop in sql table Pin
Colin Angus Mackay23-Aug-07 5:30
Colin Angus Mackay23-Aug-07 5:30 
QuestionConnect to sql server Pin
messages23-Aug-07 3:56
messages23-Aug-07 3:56 
AnswerRe: Connect to sql server Pin
WhiteGirl2323-Aug-07 4:00
WhiteGirl2323-Aug-07 4:00 
GeneralRe: Connect to sql server Pin
messages23-Aug-07 4:14
messages23-Aug-07 4:14 
AnswerRe: Connect to sql server Pin
Colin Angus Mackay23-Aug-07 4:03
Colin Angus Mackay23-Aug-07 4:03 
GeneralRe: Connect to sql server Pin
messages23-Aug-07 4:17
messages23-Aug-07 4:17 
GeneralRe: Connect to sql server Pin
Colin Angus Mackay23-Aug-07 5:35
Colin Angus Mackay23-Aug-07 5:35 
GeneralRe: Connect to sql server Pin
Colin Angus Mackay23-Aug-07 5:37
Colin Angus Mackay23-Aug-07 5:37 
GeneralRe: Connect to sql server Pin
messages23-Aug-07 6:55
messages23-Aug-07 6:55 
AnswerRe: Connect to sql server Pin
martin_hughes23-Aug-07 13:21
martin_hughes23-Aug-07 13:21 
GeneralRe: Connect to sql server Pin
messages23-Aug-07 21:12
messages23-Aug-07 21:12 
AnswerRe: Connect to sql server Pin
edukulla23-Aug-07 22:05
edukulla23-Aug-07 22:05 
QuestionOracle learning? Pin
Mel Padden23-Aug-07 3:48
Mel Padden23-Aug-07 3:48 
AnswerRe: Oracle learning? Pin
shivvish30-Aug-07 22:57
shivvish30-Aug-07 22:57 
QuestionSELECT 1 Query Question Pin
Programm3r23-Aug-07 1:40
Programm3r23-Aug-07 1:40 

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.