Click here to Skip to main content
15,917,795 members
Home / Discussions / Database
   

Database

 
AnswerRe: Benefits of Access 2007 Pin
Aaron VanWieren1-Aug-07 4:24
Aaron VanWieren1-Aug-07 4:24 
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 
Hi when i parse this query i am getting sucesfull command...,
When i execute the query getting error like "Syntax error converting character string to smalldatetime data type"...,

Thsi is my procedure:

declare
@mthinc as tinyint,
@years as smallint,
@mth as varchar(50),
@yr as varchar(50)

set @mthinc=6
set @mth='@mthinc'
set @years=2007
set @yr='@years'


begin

select empid,max(edate) as edate from tblsalarydetails
where edate < @mth + '/01/' + @yr group by empid

end

I think to assign the tinyint & smallint value to varchar variable place i am getting error...,
How to solve that...,
Plz hlp me...,
Advance thanks,

Regards,
Magi

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 
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 

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.