Some1 know a good pl/sql sites for beginners.
I need to find a good site 4 beginners.
basic whit easy english.
>
The underlined section demonstrates my problem with
some sites.
I would have taken issue with more of the statement than you underlined...
Cursors are of 2 types: implicit and explicit
....... implicit cursors are created by oracle engine
itself while explicit cursors are created by the
users
Damn, does that mean I can't create implicit cursors, I can only write them explicitly.
...... cursors are generally used in such a
case when a query returns more than one rows ....Erm.... no. All queries are cursors regardless of how many rows they return.
normal pl/sql returning more than one rows givens
error but using cursor this limitation can be avoided
.... so cursors are used ....
RAOTF,LMFAO.
Writing the query correctly avoids that 'limitation'. If you only expect to get one row then write the query to ensure it returns one row, otherwise you are doing something wrong in your design.
What the hell is "normal pl/sql"?Well, I've seen some pl/sql written by some people and it's definitely not 'normal'. ;)
Similar Messages
-
I'm traveling to London for the summer, does anyone know a good power adapter/converter for my MacBook Pro? I know there's the Travel Adapter Kit but it's only for iPhones, iPods, iPad, etc.
Apple World Travel Adapter Kit
The World Travel Adapter Kit includes the Apple USB Power Adapter, USB Cable and six interchangeable AC adapter plugs for use with iPod, iPhone, and iPad. The adapter plugs can also be used with Apple MagSafe Power Adapters, Portable Power Adapters, and AirPort Express, so you can plug your power adapter into most electrical outlets around the world.
Copied from the Apple Store: http://store.apple.com/uk/product/MB974ZM/B?fnode=MTY1NDEwMQ&mco=MTA4NDE3MDQ -
How good is oreilly site for learning PERL on Mac??
I am trying to learn perl from oreilly site.
http://www.perl.com/pub/a/2000/10/begperl1.html
Instructions said to save this text in a file.pl (I copied and pasted this into a plain text file and named it as p.pl)
#!/usr/local/bin/perl
print "Hi there!\n";
and go to the directory with the file and run from command line perl file.pl
And nothing happened.
Then tried these things and finally it worked..
#!/usr/bin/env perl
removed whitespace by hitting the delete key..
Not sure what I did but it worked..
Any suggestions how to avoid this problem in the future...
Mac OS X (10.4.1)Generally, the O'Reilly sites are as good as it gets - they have some of the best technical documentation around, although not necessarily the best for beginners.
In any case, the link you reference does state:
In this series, I'm going to assume that you're using a Unix system and that your Perl interpreter is located at /usr/local/bin/perl.
Like any unix system you need to know a little bit about your environment in order to get the most out of it. In this case perl is not installed in /usr/local/bin and therefore you need to make some adjustments to your scripts.
Mac OS X installs perl in /usr/bin by default, so you should rewrite the first line as:
#! /usr/bin/perl -
Anyone know the name of the site for guest maps, comments, etc?
Hi,
Does anyone know the name of the site that has lots of iWeb things, they have many kinds of guest maps, sunlit earth maps, comments you can add to iWeb, etc. They had lots of cool things and I can't find them.
All help appreciated.
Thanks,
ToddThis isn't the particular site you're looking for, but it may qualify as "cool": "NeoPlanet displays your blog's visitors on a rotating 3D Earth globe composed of actual NASA satellite images." Click below to go to the site...
And perhaps this is the "iWeb Tool Chest" site you were thinking of (click on the icon): -
HT4543 Does anyone know a good external CPU fan for macbook pros?
Whenever I attempt to play games on my macbook pro, mid 2012 edition, it heats up to an extreme temperature in the top-left hand corner of my computer. I recognize this isn't safe for the computer. Do you guys know a good mac cpu fan, if that is indeed the heated piece of the computer, that I can plug into my mac via USB port or something of that nature?
It's good that you're looking into something to cool down your MBP. Unfortunately, even good fans will only moderately - maybe 5•F at best.
Also, download this free software:
http://eshop.macsales.com/articles/keep-you-and-your-macbook-pro-cool
And use your machine so that the temperature is never above 160•F at any time.
Post with your questions! -
Anyone know a good, free video converter for a Mac?
These boards have gotten very PC centric. Anyone know of a good free ipod video converter?
Thanks!Anyone know of a good free ipod video converter?
In the "free" category I would recommend:
MoviesForMyPod -- simple non-muxed QT file conversions
iSquint -- handles AVI and MPEG1 formats in addition to non-muxed QT file conversions
MPEG StreamClip -- Muxed (MPEG1, MPEG2, VOB), as well as normal QT file types and includes limited but nice editing features. 2-pass H.264 mode is a bit loose but I would recommend it for any experienced user
HandBrake -- already recommended by previous responder, this application is limited to DVDs, DVD images, and VIDEO_TS (VOB) files and has a few minor "bugs" which may catch the careless user off guard, but is generally a quite functional program. -
I have a short film I produced and I need to burn off copies however I am having no end of trouble with finding a simple DVD burning programme.
I tried a few but no luck. I am trying with mov files and I can't see where the cog is happening. If anyone has any good and relatively inexpensive solutions, please let me know!
Thanks so much!
CheersWelcome to the forums.
If you'd like to continue trying with iDVD, one of Apple's resources shows HT 1645 to be an encoding error (http://support.apple.com/kb/HT1645), so I would suggest starting a new iDVD project and set the iDVD Preferences to make sure they match to your project. In particular, you should be using the Pro encoding setting or Best Performance for projects with a total length under an hour (http://support.apple.com/kb/PH5417).
Roxio Toast is an excellent burning tool and part of my work flow after I've used iDVD to create a disk image. Toast will not have the nice iDVD menus, but can do many other tasks besides DVD creation. (Disk images can help in the DVD creation process -- here's one of many discussions: https://discussions.apple.com/message/15469221#15469221)
John -
[Solved] Could someone that knows awk good fix this script for me?
I found this script on the linuxquestions site that tests and displays network bandwidth. There's an error in the script though and my awk experience isn't enough to debug it and is giving me the error:
awk: cmd. line:10: printf ("%4.0f", Ratio)}
awk: cmd. line:10: ^ syntax error
awk: cmd. line:10: printf ("%4.0f", Ratio)}
awk: cmd. line:10: ^ syntax error
^C/home/todd/.bin/bandwidth-test: line 21: [: : integer expression expected
BW Surchargé - Moyenne de de Kb/sec pendant 20 secondes
This is the script:
#!/bin/bash
# bandwidth-test - test bandwidth from the command line
Fic_Tmp="/tmp/Fic_Tmp_VerifRatio.tmp"
NbrSec=20
/usr/bin/bwm-ng -I eth0 -o csv -T avg -C " " -c ${NbrSec} | awk '
BEGIN{
BytesS=0
NbrLecture=0}
/eth0/&&NR>2{
BytesS+=$5/1024
NbrLecture+=1}
END{
Ratio=BytesS/NbrLecture
printf ("%4.0f", Ratio)}' > ${Fic_Tmp}
Ratio=$(cat ${Fic_Tmp})
rm ${Fic_Tmp}
if [ "${Ratio}" -lt 110 ];then
echo "BW OK - Moyenne de ${Ratio} de Kb/sec pendant ${NbrSec} secondes"
exit 0
else
echo "BW Surchargé - Moyenne de ${Ratio} de Kb/sec pendant ${NbrSec} secondes"
exit 2
fi
exit $?
Anyone available to fix this for me?
Last edited by Gen2ly (2009-11-17 17:52:14)Ah, thought I counted all those. Whoops . Yep that did the trick. Thanks benob.
Edit: Just FYI to any that read this. This script only checks if you are in the cap range, so it's not really a bandwidth tester for the command line. The nearest I've found is 'iperf' which I'm unable to get to use yet.
Edit2 : netperf seems better suited for this, only been able to learn how to do download speed test so far:
netperf -c hostname -f K
Last edited by Gen2ly (2009-11-17 19:08:38) -
The following link has some good videos for anyone learning SQL for the first time.
http://www.oraclecoach.com/oracle-videos/sql-tutorials.html
Hope this helps.There are many tutorials on MSDN with Linq including SQL Server Express. A good start is this here:
http://msdn.microsoft.com/en-us/library/bb399349(v=vs.110).aspx
-Jens
Jens K. Suessmeyer http://blogs.msdn.com/Jenss -
Hello Group
Do you know of good free video tutorial for beginners? Including the following below:
Getting started (preferences)
Advance render and how to make it faster
Layer techniques ( pre-compose)
Edit (split layer)
color in photoshop sent to After effects.
Curves, levels, channel mixer...
Any links will be greatly appreciated THANKS?
PS: This is an example of what I am looking for but for After Effects.
http://www.finalcutstudioschool.com/FinalCutStudioSchool/Final_Cut_Pro_6/Entries/2008/4/14 _Getting_Started_Part_1_(preferences).htmlThe training videos on the Adobe distribution disks (or on line at http://www.adobe.com/designcenter/video_workshop/) may help, too.
-
What are the best books for PL/SQL and Forms for BEGINNERS?
I asked about learning Oracle Forms in an earlier thread. Some suggested Oracle training at official Oracle Training centers like Koenig. I just went to the Koenig site. The OCA & OCP Forms Developer Training Boot Camp is a whopping 2,610 USD. That’s like 1/4 Million LKR. It’s more that the yearly salary of both the 2 new developers we got and want to train. That’s out of the question.
Some have suggested shadowing experiences programmers and team coding. Both options are out, since those things don't work here.
Learning from sites such as Francois Degrelle's blog is no good for new people since they will get confused.
I have come to the conclusion that the only way to do is to buy 2 books, one for PL/SQL and another for Oracle Forms, give it to them and ask them to follow the book and learn it and also give a time period like 2 or 3 months.
What are the good books out there for BEGINNERS to learn PL/SQL and Forms?
Edited by: Channa on Aug 8, 2010 10:08 PM
Edited by: Channa on Aug 8, 2010 10:12 PMIn addition to the books the chapter Application Developer's Guide - Fundamentals in the documentation is also worth giving a shot:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/toc.htm
Just for the record: I believe leaving them alone with the books won't do it. I'd at least define objectives (e.g. $chapters of the books in a week) and after they achieved them I'd test their knowledge of the individual objectives (like it was back in school :p ). By that you have control over how they are proceeding, you can focus on the things they didn't understand and you are able to eradicate some bad habits they might adopt during their studies.
If you don't take your time to train them proper you won't get good developers anyway and you will loose much more time and money...
cheers -
A good FREE DVD converter for pc?
Does anyone know a good FREE DVD converter for the video ipod? I've looked everywhere and can't find one please help! I have alot of DVDs and want to rip them to my ipod...
Sorry, but doing this requires breaking copyright protection commerical DVDs, which is technically illegal. Therefore, the Terms of Use on this forum prohibit discussion of this.
-
How to write sql query for counting pairs from below table??
Below is my SQL table structure.
user_id | Name | join_side | left_leg | right_leg | Parent_id
100001 Tinku Left 100002 100003 0
100002 Harish Left 100004 100005 100001
100003 Gorav Right 100006 100007 100001
100004 Prince Left 100008 NULL 100002
100005 Ajay Right NULL NULL 100002
100006 Simran Left NULL NULL 100003
100007 Raman Right NULL NULL 100003
100008 Vijay Left NULL NULL 100004
It is a binary table structure.. Every user has to add two per id under him, one is left_leg and second is right_leg... Parent_id is under which user current user is added.. Hope you will be understand..
I have to write sql query for counting pairs under id "100001". i know there will be important role of parent_id for counting pairs. * what is pair( suppose if any user contains both left_leg and right_leg id, then it is called pair.)
I know there are three pairs under id "100001" :-
1. 100002 and 100003
2. 100004 and 100005
3. 100006 and 100007
100008 will not be counted as pair because it does not have right leg..
But i dont know how to write sql query for this... Any help will be appreciated... This is my college project... And tommorow is the last date of submission.... Hope anyone will help me...
Suppose i have to count pair for id '100002'. Then there is only one pair under id '100002'. i.e 100004 and 100005Sounds like this to me
DECLARE @ID int
SET @ID = 100001--your passed value
SELECT left_leg,right_leg
FROM table
WHERE (user_id = @ID
OR parent_id = @ID)
AND left_leg IS NOT NULL
AND right_leg IS NOT NULL
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Enable SQL Tracing for Session
Hi,
I know how to enable SQL tracing for a session created either through SQL*Plus or like similar tool, but I want to explore is there any way to can we enable sql tracing for a single session which is connected to database through an application.
ssome time for testing purpose we have a requirement to enable tracing for that user which run batch Job. Now that particular user gets connected to database through application and i want to enable tracing right at that moment. How can I accomplish it.
Regards,
AbabsiIf you don't want to identify database session you can try to create a logon trigger to enable tracing for all database sessions created by a specific Oracle user account. In the following example you need to replace UWCLASS with the Oracle user account for which you want to trace sessions:
CREATE OR REPLACE TRIGGER trace_trig
AFTER LOGON
ON DATABASE
DECLARE
sqlstr VARCHAR2(200) := 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12''';
BEGIN
IF (USER = 'UWCLASS') THEN
execute immediate sqlstr;
END IF;
END trace_trig;
/Reference:
http://psoug.org/reference/system_trigger.html
If you want to identify database session you need to query V$SESSION to retrieve SID and SERIAL# of the session you want to trace and then you can use DBMS_MONITOR. See examples in http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php
Edited by: P. Forstmann on 15 janv. 2011 11:07 -
Any good freeware battery tester for the Macbook?
I searched for battery tester on versiontracker and there are no results. I saw the genius bar used an ipod nano to test my battery. I wonder if anybody knows a good downloadable battery tester for Macbooks.
In addition to that link (which is very good) there are two popular applications I see a lot of members post about:
Coconut Battery Monitor (http://www.coconut-flavour.com/coconutbattery/index.html)
iStat Pro (http://www.islayer.com/apps/istatpro/)
The iStat widget is a system monitor, that includes a portion on battery health.
Maybe you are looking for
-
Updated my computer to OSX Yosimite 10.10.2, and now my IPhoto wont open
Updated my computer to OSX Yosimite 10.10.2, and now my IPhoto wont open. It said I needed to update to the newest version of IPhoto through the APP store, so I tried, but it has been stuck on 'INSTALLING' for hours. All of my mothers wedding photos,
-
Define Logical Systems and Template Names for BW Reports
Hi experts I would like to know if someone used the mentioned functionality 'Define Logical Systems and Template Names for BW Reports, I would like to know too IF I create a Z REPORT for example in webdynpro and insert it in this configuration it wil
-
After just 1 week bought the iPad.. i'm facing the rotation problem.. the Apple technicians said its hdware problem and send back to Apple Service Centre... Feel very very sad with this situation... wasting my time and probably my money...
-
I have skype on windows 8 which is logged in as my full name with a gmail address, this is the one i use mainly. i tried adding it to android but it always wants me to login with skype name or microsoft account. neither of these are part of the wind
-
Hi, How to create Processing Class? How to add more gto existing processing classes? How many processing classes can be used in PCR i mean limit of processing classes in PCR? bye phanikumar