Click here to Skip to main content
15,918,808 members
Home / Discussions / Database
   

Database

 
QuestionCreating Stored Proc in Text Editor [modified] Pin
ASPnoob31-Jul-07 21:17
ASPnoob31-Jul-07 21:17 
AnswerRe: Creating Stored Proc in Text Editor Pin
originSH31-Jul-07 22:10
originSH31-Jul-07 22:10 
QuestionNested Select statement Pin
Prakash_Mishra31-Jul-07 20:34
Prakash_Mishra31-Jul-07 20:34 
AnswerRe: Nested Select statement Pin
kubben1-Aug-07 2:18
kubben1-Aug-07 2:18 
GeneralRe: Nested Select statement Pin
Prakash_Mishra1-Aug-07 3:05
Prakash_Mishra1-Aug-07 3:05 
AnswerRe: Nested Select statement Pin
Prakash_Mishra1-Aug-07 3:02
Prakash_Mishra1-Aug-07 3:02 
QuestionSyntax error converting character string to smalldatetime data type..., Pin
Member 387988131-Jul-07 20:00
Member 387988131-Jul-07 20:00 
AnswerRe: Syntax error converting character string to smalldatetime data type..., [modified] Pin
Pete O'Hanlon1-Aug-07 0:45
mvePete O'Hanlon1-Aug-07 0:45 
Hmm - this seems to be a little bit overcomplicated. Drop the varchar fields and change your where condition to
where edate < cast(@mthinc as varchar) + '/01/' + cast(@years as varchar)
I really should point out here that you would be better off explicitly converting the condition into a smalldatetime to give the query optimizer a better chance of using an index on the column.




-- modified at 14:44 Wednesday 1st August, 2007

Deja View - the feeling that you've seen this post before.

QuestionHelp with update query Pin
student_rhr31-Jul-07 19:36
student_rhr31-Jul-07 19:36 
AnswerRe: Help with update query Pin
Prakash_Mishra31-Jul-07 20:52
Prakash_Mishra31-Jul-07 20:52 
Questiontable name Pin
hos8531-Jul-07 14:46
hos8531-Jul-07 14:46 
AnswerRe: table name Pin
Christian Graus31-Jul-07 18:44
protectorChristian Graus31-Jul-07 18:44 
AnswerRe: table name Pin
Aaron VanWieren31-Jul-07 23:21
Aaron VanWieren31-Jul-07 23:21 
AnswerRe: table name Pin
Pete O'Hanlon1-Aug-07 0:32
mvePete O'Hanlon1-Aug-07 0:32 
QuestionGetting the sum? ADO related Pin
deostroll31-Jul-07 13:40
deostroll31-Jul-07 13:40 
QuestionReplace function not work in access database Pin
Rupesh Kumar Swami31-Jul-07 5:53
Rupesh Kumar Swami31-Jul-07 5:53 
AnswerRe: Replace function not work in access database Pin
DQNOK1-Aug-07 4:41
professionalDQNOK1-Aug-07 4:41 
QuestionSQL Server 2000 xp_SendMail fails Pin
Kiefie31-Jul-07 4:44
Kiefie31-Jul-07 4:44 
QuestionQuerying for unused parent entries Pin
GregStevens31-Jul-07 4:35
GregStevens31-Jul-07 4:35 
AnswerRe: Querying for unused parent entries Pin
Kiefie31-Jul-07 5:03
Kiefie31-Jul-07 5:03 
GeneralRe: Querying for unused parent entries Pin
GregStevens31-Jul-07 5:18
GregStevens31-Jul-07 5:18 
GeneralRe: Querying for unused parent entries Pin
Kiefie31-Jul-07 20:06
Kiefie31-Jul-07 20:06 
AnswerRe: Querying for unused parent entries Pin
Pete O'Hanlon31-Jul-07 10:11
mvePete O'Hanlon31-Jul-07 10:11 
GeneralRe: Querying for unused parent entries Pin
Mike Dimmick31-Jul-07 12:28
Mike Dimmick31-Jul-07 12:28 
GeneralRe: Querying for unused parent entries Pin
Pete O'Hanlon1-Aug-07 0:09
mvePete O'Hanlon1-Aug-07 0:09 

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.