Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 PL/SQL

Author  Topic 

mrhardy76
Starting Member

6 Posts

Posted - 2008-07-15 : 07:45:21
How would you write and execute a PL/SQL script to print running total of numbers 1 to 10. Also use for loop. Can someone help me please?

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2008-07-15 : 07:48:14
i don't know how to do it in PL/SQL. But i know how to do it in T-SQL

FYI, this is a MICROSOFT SQL Server forum. For Oracle, please post at dbforums.com


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-07-15 : 07:48:50
This is a MS SQL Seerver forums. You would get more help if you post this in Oracle forums.
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-07-15 : 08:55:20
Duplicate post
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=106620
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=106612
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=106365


E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-07-15 : 08:58:15
quote:
Originally posted by mrhardy76

How would you write and execute a PL/SQL script to print running total of numbers 1 to 10. Also use for loop. Can someone help me please?


Running Total should be done in front end application for better performance. Also post Oracle related questions at www.orafaq.com

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-07-15 : 09:31:57
continued here:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=106365

_______________________________________________
Causing trouble since 1980
Blog: http://weblogs.sqlteam.com/mladenp
Speed up SSMS development: www.ssmstoolspack.com <- version 1.0 out!
Go to Top of Page
   

- Advertisement -