Click here to Skip to main content
15,888,269 members
Home / Discussions / Database
   

Database

 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Niladri_Biswas28-Jun-09 17:47
Niladri_Biswas28-Jun-09 17:47 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Sujay chakraborty28-Jun-09 18:16
Sujay chakraborty28-Jun-09 18:16 
QuestionSQL Issue during database creation Pin
Bahram.Zarrin27-Jun-09 5:42
Bahram.Zarrin27-Jun-09 5:42 
AnswerRe: SQL Issue during database creation Pin
Luc Pattyn27-Jun-09 6:09
sitebuilderLuc Pattyn27-Jun-09 6:09 
AnswerRe: SQL Issue during database creation Pin
Jerry Hammond28-Jun-09 17:19
Jerry Hammond28-Jun-09 17:19 
QuestionWhere the SSIS package saved in SQL2005 Pin
Aman786Singh27-Jun-09 3:39
Aman786Singh27-Jun-09 3:39 
AnswerRe: Where the SSIS package saved in SQL2005 Pin
Niladri_Biswas27-Jun-09 17:13
Niladri_Biswas27-Jun-09 17:13 
QuestionStored procedure help Pin
paypony27-Jun-09 1:34
paypony27-Jun-09 1:34 
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER proc [dbo].[Usp_D_et_Login1234]
@name nvarchar(max),
@pwd nvarchar(100),
@type nvarchar(5)

as
begin
if @type='1'
begin
select DId,LoginName from dd_login where LoginName=@name and Password=@pwd
end

if @type='0'
begin
select RId,LoginName from dr_login where LoginName=@name and Password=@pwd
end

end



Is this stored procedure can be injected?
Whether sql injections can be apply on this procedure?
If yes tell me how ?
and also how to recover from it? In sqlserver2005.(backend)(asp.net frontend)
AnswerRe: Stored procedure help Pin
Niladri_Biswas27-Jun-09 6:05
Niladri_Biswas27-Jun-09 6:05 
QuestionFetching dependent records from the same table Pin
Neeraj Kr26-Jun-09 7:12
Neeraj Kr26-Jun-09 7:12 
AnswerRe: Fetching dependent records from the same table [modified] Pin
Niladri_Biswas26-Jun-09 15:54
Niladri_Biswas26-Jun-09 15:54 
GeneralRe: Fetching dependent records from the same table Pin
Neeraj Kr26-Jun-09 19:45
Neeraj Kr26-Jun-09 19:45 
AnswerRe: Fetching dependent records from the same table Pin
Mycroft Holmes27-Jun-09 0:37
professionalMycroft Holmes27-Jun-09 0:37 
AnswerRe: Fetching dependent records from the same table Pin
Niladri_Biswas27-Jun-09 16:05
Niladri_Biswas27-Jun-09 16:05 
GeneralRe: Fetching dependent records from the same table Pin
Neeraj Kr27-Jun-09 16:42
Neeraj Kr27-Jun-09 16:42 
GeneralRe: Fetching dependent records from the same table [modified] Pin
Niladri_Biswas27-Jun-09 16:59
Niladri_Biswas27-Jun-09 16:59 
QuestionDevelop own small database-system Pin
softwarejaeger26-Jun-09 6:21
softwarejaeger26-Jun-09 6:21 
AnswerRe: Develop own small database-system Pin
Luc Pattyn26-Jun-09 6:55
sitebuilderLuc Pattyn26-Jun-09 6:55 
GeneralRe: Develop own small database-system Pin
softwarejaeger26-Jun-09 7:04
softwarejaeger26-Jun-09 7:04 
GeneralRe: Develop own small database-system Pin
Luc Pattyn26-Jun-09 7:08
sitebuilderLuc Pattyn26-Jun-09 7:08 
GeneralRe: Develop own small database-system Pin
softwarejaeger26-Jun-09 7:14
softwarejaeger26-Jun-09 7:14 
GeneralRe: Develop own small database-system Pin
Luc Pattyn26-Jun-09 7:18
sitebuilderLuc Pattyn26-Jun-09 7:18 
GeneralRe: Develop own small database-system Pin
softwarejaeger26-Jun-09 7:34
softwarejaeger26-Jun-09 7:34 
GeneralRe: Develop own small database-system Pin
David Mujica26-Jun-09 7:21
David Mujica26-Jun-09 7:21 
GeneralWeb Apps only have 1 user Pin
David Mujica26-Jun-09 7:16
David Mujica26-Jun-09 7:16 

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.