Click here to Skip to main content
15,910,234 members
Home / Discussions / Database
   

Database

 
QuestionProblem in Query Pin
Care Career29-Nov-07 22:52
Care Career29-Nov-07 22:52 
AnswerRe: Problem in Query Pin
Raviii_198329-Nov-07 23:06
Raviii_198329-Nov-07 23:06 
GeneralRe: Problem in Query Pin
Care Career30-Nov-07 0:31
Care Career30-Nov-07 0:31 
AnswerRe: Problem in Query Pin
Usharva29-Nov-07 23:28
Usharva29-Nov-07 23:28 
QuestionSQL 2005 Pin
Sipder29-Nov-07 22:40
Sipder29-Nov-07 22:40 
AnswerRe: SQL 2005 Pin
Colin Angus Mackay29-Nov-07 22:57
Colin Angus Mackay29-Nov-07 22:57 
AnswerRe: SQL 2005 Pin
Frank Kerrigan30-Nov-07 0:12
Frank Kerrigan30-Nov-07 0:12 
Questionset command error Pin
veereshIndia29-Nov-07 22:03
veereshIndia29-Nov-07 22:03 
Hi All

Iam getting error on executing this procedure

Alter procedure LogProc
(
@UserId varchar(500),
@Password varchar(500)
)
as
declare @str varchar(500)
set @str='select AstId from UserTable where UserId='+@UserId+'and
Password='+@Password
exec (@str);


exec LogProc 'uname','xyz';


Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'Password'.


i want to join this group

AnswerRe: set command error Pin
Marek Grzenkowicz29-Nov-07 22:22
Marek Grzenkowicz29-Nov-07 22:22 
GeneralRe: set command error Pin
veereshIndia29-Nov-07 22:27
veereshIndia29-Nov-07 22:27 
GeneralRe: set command error Pin
veereshIndia29-Nov-07 22:39
veereshIndia29-Nov-07 22:39 
GeneralRe: set command error Pin
riyam hussain mm30-Nov-07 0:42
riyam hussain mm30-Nov-07 0:42 
AnswerRe: set command error Pin
Joe29-Nov-07 22:30
Joe29-Nov-07 22:30 
QuestionBulk Update Fails Pin
Joe29-Nov-07 21:58
Joe29-Nov-07 21:58 
AnswerRe: Bulk Update Fails Pin
andyharman29-Nov-07 22:36
professionalandyharman29-Nov-07 22:36 
GeneralRe: Bulk Update Fails Pin
Joe29-Nov-07 23:46
Joe29-Nov-07 23:46 
GeneralRe: Bulk Update Fails Pin
andyharman30-Nov-07 2:06
professionalandyharman30-Nov-07 2:06 
AnswerRe: Bulk Update Fails Pin
Mike Dimmick30-Nov-07 0:58
Mike Dimmick30-Nov-07 0:58 
GeneralRe: Bulk Update Fails Pin
Joe30-Nov-07 1:23
Joe30-Nov-07 1:23 
QuestionA recursive dilema??? Pin
AndyBrew7029-Nov-07 21:06
AndyBrew7029-Nov-07 21:06 
AnswerRe: A recursive dilema??? Pin
pmarfleet29-Nov-07 21:17
pmarfleet29-Nov-07 21:17 
AnswerRe: A recursive dilema??? Pin
AndyBrew7029-Nov-07 23:55
AndyBrew7029-Nov-07 23:55 
Questionsql,query very urgent Pin
rameshdontagani29-Nov-07 19:14
rameshdontagani29-Nov-07 19:14 
AnswerRe: sql,query very urgent Pin
Joe29-Nov-07 19:41
Joe29-Nov-07 19:41 
GeneralRe: sql,query very urgent Pin
rameshdontagani29-Nov-07 19:44
rameshdontagani29-Nov-07 19:44 

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.