Click here to Skip to main content
15,890,512 members
Home / Discussions / Database
   

Database

 
GeneralRe: Incorrect syntax near stored procedure Pin
Krazy Programmer4-Apr-08 2:06
Krazy Programmer4-Apr-08 2:06 
GeneralRe: Incorrect syntax near stored procedure Pin
Pete O'Hanlon4-Apr-08 2:15
mvePete O'Hanlon4-Apr-08 2:15 
GeneralHP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 22:34
Piyush Vardhan Singh3-Apr-08 22:34 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Colin Angus Mackay4-Apr-08 0:27
Colin Angus Mackay4-Apr-08 0:27 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
blackjack21504-Apr-08 2:23
blackjack21504-Apr-08 2:23 
GeneralEdit multiple rows at once Pin
Yevgeny Efter3-Apr-08 20:38
Yevgeny Efter3-Apr-08 20:38 
GeneralRe: Edit multiple rows at once Pin
A Wong4-Apr-08 2:42
A Wong4-Apr-08 2:42 
Generalwhy it is not work Pin
tittly3-Apr-08 17:03
tittly3-Apr-08 17:03 
i write store procedure for the time .it insert time in the database before inserting it check this time is already
exit or not .if exit it not allow me to insert and rasise error

butit not work it give error on starting "begin" statement

i don't understand where i am doing wrong
someone help me to reconver this error






CREATE PROCEDURE InsertTiming(@timing nvarchar(255))
BEGIN
SET NOCOUNT ON;

-- Check if timing already exists
DECLARE @tmp nvarchar(255);
SELECT @tmp = s_time FROM timing WHERE s_time = @timing;
IF @tmp IS NOT NULL
BEGIN
raiserror(N'Timing %s already assigned',
10,
1,
@timing);
END

-- Insert new value
INSERT INTO timing(s_test) VALUES (@timing);
END

okey

GeneralRe: why it is not work Pin
SimulationofSai3-Apr-08 18:29
SimulationofSai3-Apr-08 18:29 
GeneralRe: why it is not work Pin
tittly3-Apr-08 19:34
tittly3-Apr-08 19:34 
Generalslow updating Pin
Xmen Real 3-Apr-08 16:18
professional Xmen Real 3-Apr-08 16:18 
GeneralRe: slow updating [modified] Pin
Blue_Boy3-Apr-08 18:59
Blue_Boy3-Apr-08 18:59 
GeneralRe: slow updating [modified] Pin
Xmen Real 3-Apr-08 22:27
professional Xmen Real 3-Apr-08 22:27 
GeneralRe: slow updating Pin
Blue_Boy4-Apr-08 7:22
Blue_Boy4-Apr-08 7:22 
GeneralRe: slow updating Pin
Xmen Real 4-Apr-08 7:25
professional Xmen Real 4-Apr-08 7:25 
GeneralRe: slow updating Pin
Blue_Boy4-Apr-08 8:01
Blue_Boy4-Apr-08 8:01 
GeneralRe: slow updating Pin
Xmen Real 4-Apr-08 14:51
professional Xmen Real 4-Apr-08 14:51 
QuestionCalling Web Service From SQL Stored Procedures Pin
Adewale3-Apr-08 5:25
Adewale3-Apr-08 5:25 
GeneralRe: Calling Web Service From SQL Stored Procedures Pin
pmarfleet3-Apr-08 9:38
pmarfleet3-Apr-08 9:38 
QuestionPassing IN clause to SP via Parameter Pin
stuebbie3-Apr-08 3:53
stuebbie3-Apr-08 3:53 
GeneralRe: Passing IN clause to SP via Parameter Pin
Mark J. Miller3-Apr-08 4:13
Mark J. Miller3-Apr-08 4:13 
AnswerRe: Passing IN clause to SP via Parameter Pin
stuebbie3-Apr-08 21:57
stuebbie3-Apr-08 21:57 
GeneralRe: Passing IN clause to SP via Parameter Pin
SimulationofSai3-Apr-08 13:04
SimulationofSai3-Apr-08 13:04 
QuestionHow to register custom control Pin
lav naphade3-Apr-08 2:13
lav naphade3-Apr-08 2:13 
AnswerRe: How to register custom control Pin
pmarfleet3-Apr-08 9:34
pmarfleet3-Apr-08 9:34 

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.