Originally posted by Spacecadet
View Post
- 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!
oracle view
Collapse
X
-
Is that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good. -
All he said was that the DBA won't supply the SQL, not that he can'tOriginally posted by Bob Dalek View PostIs that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good.Coffee's for closersComment
-
Yes. That'd sound very convincing if the w@nky DBA decides to play the "Security" card with the boss. 10 points.Originally posted by Spacecadet View PostAll he said was that the DBA won't supply the SQL, not that he can'tComment
-
are you saying that there is a system table that will hold the views sql string ?Originally posted by Spacecadet View Postok - so its not the view holding thigs up
can you query the user_views table?
(if so, i am getting a stiffy)
(\__/)
(>'.'<)
("")("") Born to Drink. Forced to WorkComment
-
yesOriginally posted by EternalOptimist View Postare you saying that there is a system table that will hold the views sql string ?
(if so, i am getting a stiffy)Coffee's for closersComment
-
and will it be in any sort of schema ? like dbo.Originally posted by Spacecadet View Postyes
select * from dbo.user_views
(\__/)
(>'.'<)
("")("") Born to Drink. Forced to WorkComment
-
Any object's DDL:Originally posted by EternalOptimist View Postare you saying that there is a system table that will hold the views sql string ?
(if so, i am getting a stiffy)

SET SERVEROUT ON SIZE 1000000 LONG 1000000 PAGES 9999 LINES 200
execute dbms_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SE SSION_TRANSFORM,'SQLTERMINATOR',true);
SELECT DBMS_METADATA.GET_DDL('<object_type>','<object_nam e>','<owner>')
FROM DUAL;
The DBA may well dob you in.Comment
-
Add the following to the statement:Originally posted by Bob Dalek View PostAny object's DDL:
SET SERVEROUT ON SIZE 1000000 LONG 1000000 PAGES 9999 LINES 200
execute dbms_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SE SSION_TRANSFORM,'SQLTERMINATOR',true);
SELECT DBMS_METADATA.GET_DDL('<object_type>','<object_nam e>','<owner>')
FROM DUAL;
The DBA may well dob you in.
/* if you spent your time helping rather than spying on me then I wouldn't have to do this */
include any choice swearwords as you see fitCoffee's for closersComment
-
Comment
-
I agree with that. Ask him (by email) to help. When he doesn't, go to the next contact point. Ask for the resources you need. Raise the slow response of the view (or its unsuitability for this requirement) as an issue.Originally posted by Bob Dalek View PostIs that advisable? Given that the DBA is against seeing the SQL? I say don't, as it's an obvious try at circumvention. He will probably be watching out for this - if he's any good.
You're still talking about the view as an issue at this stage, not the boneheadedness of the DBA. BTW if the DBA really is boneheaded, it will have been noticed already.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
- National Minimum Wage increase: operational for most umbrella staff, but brace for impact Yesterday 09:13
- Contractors, Joint & Several Liability’s unintended consequences are already piling up Mar 18 07:29
- Contractors, did you know self-employed DBS Checks have changed, for the better? Mar 17 07:56
- Offshoring harms already fraught IT contractors. Here’s what ministers can do Mar 16 07:57
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:20
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:04
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 08:18
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 00:23

Comment