Stored Proce

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

CREATE TABLE #Students (
StudentId int,
FirstName varchar(20),
LastName Varchar(20),
Email Varchar(20),
Gender Char(1),
PNo int constraint mob_uq unique,
Address Varchar(30),
BranchId int,
constraint uq_Add unique(Address)
)

insert into #Students values (101,'Deeps','Gurr','[email protected]','F',232323,'Peets street',501);
insert into #Students values (102,'Anu','Mer','[email protected]','F',546789,'Hello street',501);
insert into #Students values (103,'Apps','Gurr','[email protected]','F',546343,'Velo street',502);
insert into #Students values (104,'Sur','Gur','[email protected]','F',762323,'Indiana street',501);


begin transaction
delete #Students where StudentId = 104;
select * from #Students;
rollback

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results