You can use the following Merge Statment to update the table, the for loop will take huge resources. The INSERT INTO Clause is optional if you are using Oracle 10g and the Merge Statment only work with versions above 9i. MERGE INTO cdrdata_new a USING (SELECT rowid, to_date(to_char(to_date(cdr_rec.charging_date,’dd-mon-rr’)||’ ‘||cdr_rec.timestamp),’dd-mon-rrrr hh24miss’) ntime FROM cdrdata_new ) b [...]
Think backwards. Leave 8i up as production and progress your changes to the 10g database, using 10g as parallel. Once you are assured that all transactions work, then convert finally to 10g and archive the old 8i database. Do not be too fast to make 10g production. Second question – best practices. Create a test [...]
To get two results back, use two functions, a function that returns a composite object (such as a record), or a procedure with two OUT parameters. — Sheldon Linker (sol@linker.com) Linker Systems, Inc. (www.linkersystems.com) 800-315-1174 (+1-949-552-1904)
To get the best possible speed, (1) use a single update instead of a cursor loop and (2) convert the timestamp to a fraction of a day, and add that to a date without TO_CHAR or TO_DATE conversion. (If you were to use such conversions, YYYY is better than RR, and numeric months are better [...]
consider the following: declare …. v_passfail interger ; TIRE_ID_EXTRACT integer ; begin …. SELECT V_TIRE_ID_EXTRACT into TIRE_ID_EXTRACT FROM T_TOTALE where rownum = 1 ; v_passfail := F_T_TOTALE_TO_T_SCRAP_SC(TIRE_ID_EXTRACT) ; ….
Hi, You get no index usage because you indexed a column but you are querying it via an expression. To enable the usage of an index you must not use the index expression (here: the column) in an expression. From the way your query is written I assume the type of the new date_time column [...]
Test the scripts in a test environment (wiht small proportionally tables) and turn on the timing session parameter with “set timing on;” or capture the begining and the end of the execution whit a “spool command” or “set serveroutput on 10000; and the dbms_output package.” to printscreen the result.
MAPFLD(@NEW ‘%max(A,B)’)
You need public IP for that SQL server machine if your server is located behide firewall u need to config your firewall to redirect to SQL server machine with specific port that sql server use.
It may sound obvious, but have you verified that the trigger has been added to the file and if so that it has not been disabled. (re: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/dbp/rbafotrgncmd.htm)
The answer is simple. The company who owns the computer has the right to monitor all business conducted on that computer wheather it is business related or not. Most employees think that the pc belongs to them and the have the right to do with it as they please. The pc is there as a [...]
Hi! Ther’re different suppliers from these FC sites, the vendors are EMC and SUN/STK. Personally I am very contented with both, since they give to a correct solution and apropiedad for each enviroments. EMC with SUN, we can say, that they aregiving solutions to great level, multi-platform. Pep
Good morning. Have you checked your sqlnet.log files on the remote systems? Any errors encountered during connections should be logged there. Also, have you turned on tracing? This could also help diagnose the problem. One last question: Has anything changed in your environment (network, Oracle upgrades, DNS routing) which could potentially impact this? I hope [...]
you have to know what kind of database it is so you can pick the correct provider when creating an ODBC data source. Once you create the data source, you can use Access to open up that data source.
You should not have to migrate your DDS to DDL or create special indexes. When running your SQL the system will look for similar LF’s or create an index on the fly using your where and order by statements. You can do SQL statements from the iSeries to get data off other platforms and should [...]
If you can, start up the old 8i database and see if the application connects to it. That way you’ll at least know if something is still looking for the old one or if the error is caused by a misconfiguration with the new one.
I’m in the process of migrating to VB.Net from VB 6 and I’ve seen this functionality in the Express Ddition. From what I can tell the Express Edition is the same as the Pro Edition of VS 2005 without all the other tools of VS. Good luck.
I’m assuming your referring to Windows Server Longhorn, the next generation of server after Win2k3 Server. The answer is yes, it is compatible.
Have you looked at the listview control. it has many different styles that probably would fit the bill. it certainly would make programming it a lot easier.
There is no answer to this question. Performance is affected by space definitions for each table (INITIAL/NEXT) or for the entire tablespace. Read Oracle’s documentation on CREATE TABLE and CREATE TABLESPACE for clarification. Performance on a database with only ONE tablespace will depend on the placement physically of tables and indexes (i.e., primary and foreign [...]





