cursor for loop
From: karthika Jegatheesan via SQLMonster.com (forum_at_SQLMonster.com)
Date: 01/13/05
- Next message: Tedy Pranolo: "What is the best way to query for used foreign key"
- Previous message: avnrao: "Re: Normalization insanity"
- Next in thread: AR: "Re: cursor for loop"
- Reply: AR: "Re: cursor for loop"
- Reply: David Gugick: "Re: cursor for loop"
- Reply: David Portas: "Re: cursor for loop"
- Reply: Pradeep Kutty: "Re: cursor for loop"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 04:58:32 GMT
cursor c is select * from emp;
for emp_rec IN c loop
dbms_output.put_line(emp_rec.ecode,emp_rec.empname,emp_rec.dept);
end loop;
Similar to cursor for loop in oracle is there any corresponding for loop in SQL Server
-- Message posted via http://www.sqlmonster.com
- Next message: Tedy Pranolo: "What is the best way to query for used foreign key"
- Previous message: avnrao: "Re: Normalization insanity"
- Next in thread: AR: "Re: cursor for loop"
- Reply: AR: "Re: cursor for loop"
- Reply: David Gugick: "Re: cursor for loop"
- Reply: David Portas: "Re: cursor for loop"
- Reply: Pradeep Kutty: "Re: cursor for loop"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|