Viewing 15 posts - 376 through 390 (of 1,048 total)
Hi Riya, its better if you keep of your old data in some temp table and then insert the new data....
first insert the old data into a temp table...
July 17, 2013 at 12:54 am
Shadab Shah (7/17/2013)
kapil_kk (7/17/2013)
vinu512 (7/16/2013)
July 17, 2013 at 12:47 am
vinu512 (7/16/2013)
-- Enable...
July 17, 2013 at 12:17 am
Hi,
as per the explanation- The stmt "return (select 5)" gives error because in a batch RETURN with integer_expression is not admitted (note: PARENTHESIS cast the SELECT to an integer_expression for...
July 16, 2013 at 11:58 pm
sa.ordekci (7/16/2013)
Should I use below bode?set @isexist=(select count(*) from GNL_OgretmenDevamsizlikGirisLog
where OgretmenID=@ogretmenID
and DersYiliID=@dersyiliID
and SinifID=@sinifID
and DersID=@dersID
and
Convert(date,GirisTarihi) = Convert(date,getdate())
)
if(@isexist>0)
begin
end
I think Chris have already done your homework... refer his post please
July 16, 2013 at 6:40 am
Your stored procedure was executing as you didn't specify any parameters in that sp...
Please refer Luis post...
July 16, 2013 at 6:20 am
yes, you can create database and database objects with the role dbcreator...
July 16, 2013 at 1:33 am
Ed Wagner (7/15/2013)
The RAISERROR simply throws the error. To terminate processing in a stored procedure, you should fire a RETURN.
yes, that why now am insteady of choosing severity 20...
July 15, 2013 at 11:19 pm
Actually first I tried with Batch Abort but it did nt work for me.......
SET XACT_ABORT On;
select 'yes'
RAISERROR('yes',20,1)
select 'yes'
RAISERROR('NO',16,1)
SELECT 'NO'
When error raises then also all select statements gets executed so...
July 15, 2013 at 6:55 am
Viewing 15 posts - 376 through 390 (of 1,048 total)