Stop posting proper coding in General, you're ruining it. SY, go back to telling us how great you are rather than posting your shoddy code to try and prove it.
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Bob update
Collapse
X
Collapse
-
Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishing -
The best approach to the above is to generate the keys in the ETL tool and then load the data using SQL*Loader. But I'm guessing since you're doing INSERTs that the volumes dont justify a proper ETL tool."A life, Jimmy, you know what that is? It’s the s*** that happens while you’re waiting for moments that never come." -- Lester FreamonComment
-
Only fools and cursors?Originally posted by eek View PostEver heard of triggers?While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
There are easier ways to lose weight than this sort of extreme calorie counting.Originally posted by suityou01 View PostOK so this is the example where the cursor is being used :
The screen in question creates a row in a table called dinner. There is a child table called dinner_item which will hold all of the dinner items.
In the meta data we define for each type of dinner, what the default set of dinner items are.
So for cooked breakfast we have :
Fried tomato
Bacon
Beans
Sausage
Mushrooms
So when we create a dinner row, we want to automajically populate the dinner items from the meta data. So the cursor would open the list of dinner_items from the meta data, and then pop one row in the dinner_item table.
It could be done from the application layer, but this would not only perform better but would be easier to change the stored procedure than rush out a new version of the app.
The stored procedure debate trundles on, but we were forced into using stored procs as Oracle doesn't have an identity field, so we need to use sequences so this is all wrapped up in the insert stored proc, and the new id value returned as an output variable.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
On a serious note you do realise you can insert multiple rows using a sequence with something like
insert into dinner_items select seq.nextval, data from dinner_items_metadata where dinner_type = 'lardarse deluxe combo'
don't you?While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
Comment
-
Anyone who uses Oracle would never find a women let alone get it up enough to have kids.Originally posted by russell View PostAnyone who still uses Oracle should be taken outside and shot in front of their families.What happens in General, stays in General.You know what they say about assumptions!Comment
-
Why?Originally posted by russell View PostAnyone who still uses Oracle should be taken outside and shot in front of their families.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
Probably because it's no faster than the competition, no more reliable than the competition, no more productive than the competion, no more feature rich than the competition, but costs a LOT more than the competition.Originally posted by doodab View PostWhy?
A bit like paying Mercedes money for a Kia.Comment
-
I resemble that remarkOriginally posted by DimPrawn View PostProbably because it's no faster than the competition, no more reliable than the competition, no more productive than the competion, no more feature rich than the competition, but costs a LOT more than the competition.
A bit like paying Mercedes money for a Kia.
Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Umbrella, PEO/GPP, or salaried EOR. Which is up 153% in 2026? Aug 6 08:43
- Outside IR35 isn’t making a comeback in 2026/27 — it’s something more complex Aug 5 04:55
- Why contractors keep putting off their pension (and why I'm one of them) Aug 4 02:43
- HMRC loan charge settlement offer: 3 things to check before you sign Aug 3 07:41
- HMRC standstill agreements extended to 72 months: why the term's doubled, and what to check before signing Jul 31 05:53
- Who owns the loans? Inside the mystery of the loan charge recall scandal Jul 30 06:20
- Umbrella company winding-up petitions in 2026: the practical guide for contractors Jul 29 05:29
- Payments on Account deadline: what contractors must do before July 31st — maybe for the final few times Jul 28 08:01
- Andy Burnham's first 100 days: five things contractors need from the new PM Jul 27 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59

Comment