Click here to Skip to main content
16,003,417 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to filter Dataset Pin
Tobias Schoenig1-Jan-08 21:12
Tobias Schoenig1-Jan-08 21:12 
Questionhow used execute in function [modified] Pin
Rami Said Abd Alhalim30-Nov-07 21:35
Rami Said Abd Alhalim30-Nov-07 21:35 
GeneralRe: how used execute in function Pin
Paul Conrad8-Dec-07 5:21
professionalPaul Conrad8-Dec-07 5:21 
QuestionHow to Pass column names to query dynamically Pin
veereshIndia30-Nov-07 19:46
veereshIndia30-Nov-07 19:46 
AnswerRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 20:45
IMQ30-Nov-07 20:45 
GeneralRe: How to Pass column names to query dynamically Pin
veereshIndia30-Nov-07 21:06
veereshIndia30-Nov-07 21:06 
GeneralRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 21:16
IMQ30-Nov-07 21:16 
GeneralRe: How to Pass column names to query dynamically Pin
veereshIndia30-Nov-07 21:26
veereshIndia30-Nov-07 21:26 
Dear Sir,

Thanks for your help.But it's not comming here.Can you tel me how to use
that in this query.Here is my query


alter procedure LogProc
(
@UserId varchar(500),
@Password varchar(500)
)
as
Begin
declare @str1 varchar(500)
declare @str2 varchar(500)
declare @str3 varchar(500)
declare @str4 varchar(500)
select @str1=AstId from UserTable where UserId=@UserId and Password = @Password;
select @str2=RoleID from AstProf where AstId =@str1 ;
set @str4=@str2;
select @str3=MenuId from MenuTable where @str4='y';
exec(@str4);
select @str3;
End


exec LogProc 'veeresh','veeresh'

But its giving error Like this

(1 row(s) affected)

Server: Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'R1'.


i want to join this group

GeneralRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 21:38
IMQ30-Nov-07 21:38 
GeneralRe: How to Pass column names to query dynamically Pin
veereshIndia30-Nov-07 22:05
veereshIndia30-Nov-07 22:05 
GeneralRe: How to Pass column names to query dynamically Pin
Rami Said Abd Alhalim30-Nov-07 22:16
Rami Said Abd Alhalim30-Nov-07 22:16 
GeneralRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 22:19
IMQ30-Nov-07 22:19 
GeneralRe: How to Pass column names to query dynamically Pin
Rami Said Abd Alhalim30-Nov-07 22:27
Rami Said Abd Alhalim30-Nov-07 22:27 
GeneralRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 22:37
IMQ30-Nov-07 22:37 
GeneralRe: How to Pass column names to query dynamically Pin
Rami Said Abd Alhalim30-Nov-07 22:51
Rami Said Abd Alhalim30-Nov-07 22:51 
GeneralRe: How to Pass column names to query dynamically Pin
IMQ30-Nov-07 23:12
IMQ30-Nov-07 23:12 
GeneralRe: How to Pass column names to query dynamically Pin
Rami Said Abd Alhalim30-Nov-07 23:19
Rami Said Abd Alhalim30-Nov-07 23:19 
QuestionNatural and Surrogate Keys Pin
Brady Kelly30-Nov-07 19:01
Brady Kelly30-Nov-07 19:01 
QuestionHow to store result of a query in a variable Pin
veereshIndia30-Nov-07 18:29
veereshIndia30-Nov-07 18:29 
AnswerRe: How to store result of a query in a variable Pin
IMQ30-Nov-07 19:07
IMQ30-Nov-07 19:07 
GeneralRe: How to store result of a query in a variable Pin
veereshIndia30-Nov-07 19:17
veereshIndia30-Nov-07 19:17 
Questioncan SQL contains (saves) excel sheet? Pin
Knowledgestudent30-Nov-07 10:32
Knowledgestudent30-Nov-07 10:32 
AnswerRe: can SQL contains (saves) excel sheet? Pin
Pete O'Hanlon30-Nov-07 10:34
mvePete O'Hanlon30-Nov-07 10:34 
QuestionRe: can SQL contains (saves) excel sheet? Pin
Knowledgestudent30-Nov-07 10:43
Knowledgestudent30-Nov-07 10:43 
AnswerRe: can SQL contains (saves) excel sheet? Pin
Pete O'Hanlon30-Nov-07 10:53
mvePete O'Hanlon30-Nov-07 10:53 

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.