Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dont know how to create a storage procedure to Pin
paddymega16-Aug-12 3:00
paddymega16-Aug-12 3:00 
QuestionRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 3:12
professionalEddy Vluggen16-Aug-12 3:12 
AnswerRe: Dont know how to create a storage procedure to Pin
paddymega16-Aug-12 5:11
paddymega16-Aug-12 5:11 
GeneralRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 5:24
professionalEddy Vluggen16-Aug-12 5:24 
GeneralRe: Dont know how to create a storage procedure to Pin
paddymega16-Aug-12 6:00
paddymega16-Aug-12 6:00 
AnswerRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 6:20
professionalEddy Vluggen16-Aug-12 6:20 
GeneralRe: Dont know how to create a storage procedure to Pin
paddymega16-Aug-12 7:29
paddymega16-Aug-12 7:29 
AnswerRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 8:30
professionalEddy Vluggen16-Aug-12 8:30 
paddymega wrote:
The error is "incorrect syntax near INT, must declare the scalar variable @naim"

You could look up the syntax in the documentation[^]. I'm guessing that the parameters need to be declared like in the documentation; the example I gave was not tested, and according to the docs, the parametername should precede the type, like this;
SQL
CREATE PROCEDURE EDITROW (@naim INT, @aig INT, @fmno INT, @doab INT) 
AS
BEGIN
  UPDATE elecdb             
     SET name=@naim,        
         age=@aig,          
         fammemno = @fmno, 
         dob = @doab
   WHERE dob = @doab; 
END


If you have more errors, feel free to post them; but please include your actual version of the code, and the error-message; that way you'll get the most (useful) replies.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: Dont know how to create a storage procedure to Pin
paddymega16-Aug-12 8:36
paddymega16-Aug-12 8:36 
GeneralRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 8:37
professionalEddy Vluggen16-Aug-12 8:37 
AnswerRe: Dont know how to create a storage procedure to Pin
Eddy Vluggen16-Aug-12 1:59
professionalEddy Vluggen16-Aug-12 1:59 
Questionhow to how message from window serviece Pin
ashjassi16-Aug-12 1:27
ashjassi16-Aug-12 1:27 
AnswerRe: how to how message from window serviece Pin
Eddy Vluggen16-Aug-12 1:34
professionalEddy Vluggen16-Aug-12 1:34 
AnswerRe: how to how message from window serviece Pin
Wes Aday16-Aug-12 1:35
professionalWes Aday16-Aug-12 1:35 
AnswerRe: how to how message from window serviece Pin
Shameel16-Aug-12 1:47
professionalShameel16-Aug-12 1:47 
AnswerRe: how to how message from window serviece Pin
Vijay Selvaraj26-Aug-12 22:03
Vijay Selvaraj26-Aug-12 22:03 
Questionauto sleep/wakeup windows 7 at specified times Pin
lordrt15-Aug-12 10:04
lordrt15-Aug-12 10:04 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
Wes Aday15-Aug-12 11:13
professionalWes Aday15-Aug-12 11:13 
NewsRe: auto sleep/wakeup windows 7 at specified times Pin
Eddy Vluggen15-Aug-12 11:41
professionalEddy Vluggen15-Aug-12 11:41 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
OriginalGriff15-Aug-12 20:42
mveOriginalGriff15-Aug-12 20:42 
AnswerRe: auto sleep/wakeup windows 7 at specified times Pin
lordrt16-Aug-12 5:38
lordrt16-Aug-12 5:38 
QuestionHaving Problem with small Function Pin
computerpublic15-Aug-12 8:11
computerpublic15-Aug-12 8:11 
AnswerRe: Having Problem with small Function Pin
Dave Kreskowiak15-Aug-12 8:14
mveDave Kreskowiak15-Aug-12 8:14 
GeneralRe: Having Problem with small Function Pin
computerpublic15-Aug-12 9:06
computerpublic15-Aug-12 9:06 
GeneralRe: Having Problem with small Function Pin
Wes Aday15-Aug-12 9:43
professionalWes Aday15-Aug-12 9:43 

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.