Click here to Skip to main content
15,909,242 members
Home / Discussions / Database
   

Database

 
AnswerRe: how to split a string in oracle Pin
DerekFL18-Aug-08 10:40
DerekFL18-Aug-08 10:40 
GeneralRe: how to split a string in oracle Pin
Wendelius19-Aug-08 10:55
mentorWendelius19-Aug-08 10:55 
QuestionProblem StoredProcedure for LINQ Pin
K V Sekhar17-Aug-08 18:33
K V Sekhar17-Aug-08 18:33 
AnswerRe: Problem StoredProcedure for LINQ Pin
Syed Mehroz Alam18-Aug-08 7:04
Syed Mehroz Alam18-Aug-08 7:04 
NewsSQL Server 2008 Express edition released for download [modified] Pin
Wendelius17-Aug-08 2:40
mentorWendelius17-Aug-08 2:40 
GeneralRe: SQL Server 2008 Express edition released for download Pin
Colin Angus Mackay17-Aug-08 3:13
Colin Angus Mackay17-Aug-08 3:13 
GeneralRe: SQL Server 2008 Express edition released for download PinPopular
Wendelius17-Aug-08 3:17
mentorWendelius17-Aug-08 3:17 
QuestionStored Procedure help Pin
Vimalsoft(Pty) Ltd16-Aug-08 23:34
professionalVimalsoft(Pty) Ltd16-Aug-08 23:34 
hi Guys

i have a Stored procedure
Create Procedure [prcLoginv]
(
@User_name varchar(20),
@U_Password varchar(23),
@Results int Output
)
IF EXISTS (Select * from Login
where Username = @User_name and U_Password = @U_Password)
return 1
else
return 0


i get the following Error

Msg 156, Level 15, State 1, Procedure prcLoginv, Line 8
Incorrect syntax near the keyword 'IF'.


what is wrong

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Stored Procedure help Pin
Wendelius16-Aug-08 23:47
mentorWendelius16-Aug-08 23:47 
GeneralRe: Stored Procedure help Pin
Colin Angus Mackay16-Aug-08 23:55
Colin Angus Mackay16-Aug-08 23:55 
GeneralRe: Stored Procedure help Pin
Wendelius17-Aug-08 1:59
mentorWendelius17-Aug-08 1:59 
AnswerRe: Stored Procedure help Pin
Colin Angus Mackay16-Aug-08 23:57
Colin Angus Mackay16-Aug-08 23:57 
GeneralRe: Stored Procedure help Pin
Vimalsoft(Pty) Ltd17-Aug-08 2:26
professionalVimalsoft(Pty) Ltd17-Aug-08 2:26 
QuestionUsing SQL Server 8.0 hashes to connect to SQL Server 9.0 Pin
jchalfant16-Aug-08 13:50
jchalfant16-Aug-08 13:50 
NewsRe: Using SQL Server 8.0 hashes to connect to SQL Server 9.0 Pin
jchalfant16-Aug-08 14:12
jchalfant16-Aug-08 14:12 
QuestionDebug Transact SQL in SQL 2005 Pin
Christiaan Laubscher16-Aug-08 2:57
Christiaan Laubscher16-Aug-08 2:57 
AnswerRe: Debug Transact SQL in SQL 2005 Pin
Wendelius16-Aug-08 7:02
mentorWendelius16-Aug-08 7:02 
GeneralMessage Removed Pin
18-Aug-08 1:02
Christiaan Laubscher18-Aug-08 1:02 
GeneralRe: Debug Transact SQL in SQL 2005 Pin
Wendelius18-Aug-08 4:50
mentorWendelius18-Aug-08 4:50 
Questionhow to check wherther a passed string contains a specified word or not . Pin
lakshmichawala16-Aug-08 1:52
lakshmichawala16-Aug-08 1:52 
AnswerRe: how to check wherther a passed string contains a specified word or not . Pin
Blue_Boy16-Aug-08 3:25
Blue_Boy16-Aug-08 3:25 
QuestionImporting multiple files Pin
Kicza14-Aug-08 22:40
Kicza14-Aug-08 22:40 
AnswerRe: Importing multiple files Pin
Mycroft Holmes14-Aug-08 22:49
professionalMycroft Holmes14-Aug-08 22:49 
AnswerThink low tech Pin
David Mujica15-Aug-08 2:56
David Mujica15-Aug-08 2:56 
QuestionBulk Data Import Pin
FyreWyrm14-Aug-08 16:11
FyreWyrm14-Aug-08 16:11 

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.