Click here to Skip to main content
15,902,112 members

Comments by adilmemon (Top 27 by date)

adilmemon 14-Jul-12 12:16pm View    
i want take input in pl/sql block which is in sql server 2005

declare
x number;
begin
x := &enter_value;
select * from employee where sal=x;
end;

thats how i am taking input in oracle 10g
adilmemon 14-Jul-12 11:57am View    
i want take input variable value from user
how can i take just like i am taking in oracle 10g pl/sql

adilmemon 13-Jul-12 15:48pm View    
after declaring variable
can we take variable value from user in sql server 2005 or not
DECLARE @input int
begin
select * from employee where salary>=input
end

that is taking value for input variable
adilmemon 13-Jul-12 15:42pm View    
no i want it input in pl/sql statement
adilmemon 13-Jul-12 15:32pm View    
ya i want to take input from user
but in pl/sql first declare the variable
then take the input
e.g.
DECLARE @input int
begin
select * from employee where salary>=input
end
like that