Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Phumzile
Starting Member
5 Posts |
Posted - 2008-11-06 : 05:22:36
|
| thanks bt i dnt understand that i need a procedure that will select all information under one procedure and when a user login must her/his information only. this is my login procedure. ALTER procedure [dbo].[Logginde]@UserName varchar(100)='',@Password int=0AsSELECT UserName,Password,AssignTo,FirstName,IdNumber,R_Address,R_Code,CellNumber,E_mailFROM(SELECT Username AS UserName,Passwordd AS Password,AssignTo,FirstName,IdNumber,R_Address,R_Code,CellNumber,E_mailFROM UserrUNION ALLSELECT SurName,MembershipNum,Languages,FirstName,IdNumber,R_Address,R_Code,CellNumber,E_mailFROM Member)tWHERE UserName=@UserName and Password=@Password |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-06 : 05:40:04
|
| duplicatehttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=113958 |
 |
|
|
|
|
|
|
|