Search Results

Showing results 1 to 40 of 51
Search took 0.01 seconds.
Search: Posts Made By: Nige Ridd
Forum: Oracle May 6th, 2008
Replies: 4
Views: 2,218
Posted By Nige Ridd
Don't know of any view, but to not alter the database you could get the last SCN and for each table output whats changed since then.
You can use:
SELECT current_scn, SYSTIMESTAMP FROM gv$database;...
Forum: Oracle May 5th, 2008
Replies: 4
Views: 2,218
Posted By Nige Ridd
You could always write some PL/SQL which adds a trigger to each table, as the table gets changed you could produce some sort of log.

Nige
Forum: Oracle May 2nd, 2008
Replies: 5
Solved: Trigger help
Views: 1,410
Posted By Nige Ridd
You could always have Googled and found something like
http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_sps.html

Nige
Forum: Oracle May 2nd, 2008
Replies: 5
Solved: Trigger help
Views: 1,410
Posted By Nige Ridd
Not sure triggers are the best way to do this. BUT if you want to stick with triggers, you'll also have to write update and delete triggers ( If you delete an order for an item it's availability...
Forum: Oracle May 2nd, 2008
Replies: 4
Views: 5,336
Posted By Nige Ridd
Not sure what you mean by that? Wouldn't have thought the content would have affected it.

Nige
Forum: MS SQL May 2nd, 2008
Replies: 2
Views: 1,066
Posted By Nige Ridd
Wouldn't be much better and much more maintainable if you converted the values to a date datatype?
Nige
Forum: Oracle May 2nd, 2008
Replies: 4
Views: 5,336
Posted By Nige Ridd
The cache size is how many Oracle will cache in memory, so when you first select a next value it will read the sequence from disk (n), and write back a next value of n+20. Then as you keep getting a...
Forum: Oracle May 2nd, 2008
Replies: 3
Views: 992
Posted By Nige Ridd
Or even look in the Help menu in JDeveloper itself - the 'Tutorials on OTN' might be worth a look at, but I'm sure they've already tried that!
Nige
Forum: Oracle Apr 30th, 2008
Replies: 3
Views: 3,783
Posted By Nige Ridd
You can always try XSQL, which allows you to use SQL to generate XML and then apply XSL to produce a web page. But it's probably easier to use something like PHP instead.
Nige
Forum: Oracle Apr 30th, 2008
Replies: 5
Views: 1,756
Posted By Nige Ridd
Sorry - I thought this person wanted to create Oracle users, this isn't a case of adding a record to a table, it's more a case of executing various DDL statements to create the user, assign default...
Forum: Oracle Apr 29th, 2008
Replies: 5
Views: 1,756
Posted By Nige Ridd
Have a look at http://www.a1vbcode.com/snippet-3876.asp, it's not my code so i can't validate if it works, but best just to try it.
Nige
Forum: MS SQL Apr 25th, 2008
Replies: 2
Views: 1,699
Posted By Nige Ridd
You could use
select Column2
from table1 t
where Column1 = ( select min ( Column1 )
from table1 ta
where ta.Column1 > NumberRequired);
Nige
Forum: MS SQL Apr 25th, 2008
Replies: 2
Views: 3,189
Posted By Nige Ridd
In SQL Server Management Studio, connect to your server. Then right mouse click on the Server in on Object Explorer window and select Properties.
This should show a new dialog, and a 'Select a...
Forum: Oracle Apr 23rd, 2008
Replies: 5
Views: 7,301
Posted By Nige Ridd
Unfortunately Select top n isn't supported by Oracle.
Nige
Forum: Oracle Apr 23rd, 2008
Replies: 18
Views: 4,675
Posted By Nige Ridd
If you follow your arguments - then why not use sql plus for PL/SQL development, after all you don't need an IDE to do PL/SQL programming! Just that people prefer to have one system to do most of...
Forum: Oracle Apr 23rd, 2008
Replies: 5
Views: 7,301
Posted By Nige Ridd
Not the best solution but...

SELECT * FROM EMPLOYEE
WHERE EMPLOYEEID IN (
SELECT EMPLOYEEID FROM ABSENCEHISTORY GROUP BY EMPLOYEEID HAVING count(*) = ALL(SELECT count(*) FROM ABSENCEHISTORY...
Forum: Oracle Apr 23rd, 2008
Replies: 18
Views: 4,675
Posted By Nige Ridd
I was more referring to working with a project, which if your doing any reasonable level of PL/SQL then your more likely working with multiple files and some form of version control system for...
Forum: Oracle Apr 23rd, 2008
Replies: 4
Views: 2,705
Posted By Nige Ridd
How are you trying to run it? If you are using strings for the values of date1 & date2 then you'll have to put to_date() round each one as it uses the date arithmetic features in Oracle.
Nige
Forum: Oracle Apr 22nd, 2008
Replies: 18
Views: 4,675
Posted By Nige Ridd
Oracle have J Developer and SQL Developer, both free from their web site.
If you develop more PL/SQL I'd go for J Developer as it's more aimed at a project style development, where as SQL Developer...
Forum: Oracle Apr 22nd, 2008
Replies: 3
Views: 956
Posted By Nige Ridd
The reason why your not getting any data back is that your query is effectively looking for customers who are both business and home customers at the same time.
You'll have to use outer joins to...
Forum: Oracle Apr 22nd, 2008
Replies: 4
Views: 2,705
Posted By Nige Ridd
You could try something like

select date1 + rownum
from all_objects
where rownum < date2 - date1;

Nige
Forum: Oracle Apr 22nd, 2008
Replies: 3
Views: 1,803
Posted By Nige Ridd
The ALL_ views, list all objects for a particular type across all schemas in the database. The USER_ views list those of just the user that is logged in.
As you can imagine - the ALL_ views ( in...
Forum: Oracle Feb 28th, 2008
Replies: 3
Views: 2,385
Posted By Nige Ridd
If your doing the connection pooling at the client end then I'd have thought you'd know how many connections your using.
There are quite a few caching algorithms for various systems around. ...
Forum: ColdFusion Feb 28th, 2008
Replies: 1
Views: 1,161
Posted By Nige Ridd
Is the category just an additional record in a table - if so why not just write a Coldfusion page to do it.
You can go into the CF Admin web site and look at it from there, thats assuming the old...
Forum: ColdFusion Feb 28th, 2008
Replies: 2
Views: 1,477
Posted By Nige Ridd
Your question is a bit vague, can you provide more details and then people may be able to help.
Nige
Forum: Oracle Feb 20th, 2008
Replies: 6
Views: 2,946
Posted By Nige Ridd
You can't use Windows security, you'll have to hardcode the user name and password somewhere.
Nige
Forum: ColdFusion Feb 11th, 2008
Replies: 6
Solved: <cfquery> Error
Views: 2,110
Posted By Nige Ridd
Erm can I make a suggestion that you look at using cfqueryparam as well, if anyone ever put a ' in any of the fields on the screen they can then do some nasty SQL injection into your code.
Nige
(...
Forum: Oracle Feb 11th, 2008
Replies: 6
Solved: Toad
Views: 1,959
Posted By Nige Ridd
I've been using SQL Developer ( and JDeveloper ) from Oracle themselves. It's a free download from their site.

Nige
( http://www.oracle.com/technology/software/products/sql/index.html for...
Forum: Oracle Feb 11th, 2008
Replies: 9
Views: 2,302
Posted By Nige Ridd
An alternative which you may see commonly is instead of using multiple references to a field with 'or' is to write something like

Select * from RG_TAB where CMCode in ( 4, 5 )

You can imagine...
Forum: ColdFusion Feb 2nd, 2008
Replies: 1
Views: 1,240
Posted By Nige Ridd
The value of a check box can be set using something like
<cfinput type="checkbox"
name="SelectedDepts"
value="4">
BUT this value will only be returned if the user checks the box, so either...
Forum: Database Design Jan 18th, 2008
Replies: 2
Views: 1,153
Posted By Nige Ridd
You would have to use client side cookies to store their identity to be able to pick this up on subsequent logins, so why not store the configuration entirely using cookies on the users machine?
Nige
Forum: ColdFusion Jan 18th, 2008
Replies: 2
Views: 1,041
Posted By Nige Ridd
It's easier to BS and try and confuse someone else than actually sit back and listen to what a customer wants and deliver it.
The only thing I would say though is that sometimes the client has to be...
Forum: Database Design Jan 9th, 2008
Replies: 1
Views: 893
Posted By Nige Ridd
Your intermediate table ONLY needs to contain the member and training class. You could include extra data if you wanted ( and if applicable ) like Dates of when the person applied/paid for the...
Forum: Database Design Jan 1st, 2008
Replies: 1
Views: 1,054
Posted By Nige Ridd
Sorry - not sure of the point of this post.
Also not sure what you mean by 'Data Management Software', not a term I'm used to.
Nige
Forum: ColdFusion Dec 22nd, 2007
Replies: 2
Views: 1,101
Posted By Nige Ridd
To be honest, it's actually quite difficult to read the code. Try and break it down into logical segments ( i.e. retrieving data, extracting data, update data ) and it may be easier to track whats...
Forum: Java Dec 16th, 2007
Replies: 7
Views: 1,256
Posted By Nige Ridd
I'm fairly new to GUI coding, but what I would have done is to separate out the routine that populates the table, passing into it the sort order as a parameter. Then when the user asks the data to...
Forum: Java Dec 15th, 2007
Replies: 24
Solved: Which IDE
Views: 2,224
Posted By Nige Ridd
I'd be interested to know how much people use the features of their development environment to do the work for them and how much they prefer doing all the leg work themselves.
This relates to...
Forum: Java Dec 15th, 2007
Replies: 24
Solved: Which IDE
Views: 2,224
Posted By Nige Ridd
As I also use Oracle PL/SQL I've tended to use JDeveloper which is free from Oracle ( always a help ).
Nige
Forum: ColdFusion Dec 15th, 2007
Replies: 1
Views: 1,209
Posted By Nige Ridd
My Coldfusion isn't the best - but it would probably be better to convert the GetOutOfOffice.cfm to a cfc which just has a function to return the display content as a string instead.
Alternatively...
Forum: Java Dec 14th, 2007
Replies: 10
Views: 1,507
Posted By Nige Ridd
Your right - but it doesn't mean that I can't learn the concepts fairly quickly. Sometimes learning a new technology may sound more daunting than it actually is.
Also you have to take into account...
Showing results 1 to 40 of 51

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC